net.minecraft.world.level.block

public abstract class GrowingPlantBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dpw
net.minecraft.world.level.block.GrowingPlantBlock
net.minecraft.class_4863
net.minecraft.unmapped.C_nplyatkk
net.minecraft.block.AbstractPlantPartBlock
net.minecraft.block.GrowingPlantPartBlock

Field summary

Modifier and TypeField
protected final Direction
a
growthDirection
field_22507
f_apoyndpe
growthDirection
growthDirection
protected final boolean
b
scheduleFluidTicks
field_22508
f_tihjwtms
tickWater
tickWater
protected final VoxelShape
d
shape
field_23080
f_ofvlmmit
outlineShape
outlineShape

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends GrowingPlantBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
public BlockState
a(dcw arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
public BlockState
b(azv arg0)
getStateForPlacement(RandomSource arg0)
method_24948(class_5819 arg0)
m_jtvptvwl(C_rlomrsco arg0)
getRandomGrowthState(Random random)
m_jtvptvwl(RandomGenerator random)
protected boolean
a(eah arg0, djd arg1, iu arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected void
a(eah arg0, arq arg1, iu arg2, azv arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
protected boolean
o(eah arg0)
canAttachTo(BlockState arg0)
method_24947(class_2680 arg0)
m_whyfcbgc(C_txtbiemp arg0)
canAttachTo(BlockState state)
canAttachTo(BlockState state)
protected VoxelShape
a(eah arg0, dig arg1, iu arg2, fev arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected abstract GrowingPlantHeadBlock
c()
getHeadBlock()
method_24945()
m_inibvmov()
getStem()
getStem()
protected abstract Block
b()
getBodyBlock()
method_24946()
m_oydhwfwm()
getPlant()
getPlant()