net.minecraft.world.level.block

public abstract class GrowingPlantBlock

extends Block

All mapped superinterfaces:

ItemLike

cmx
net.minecraft.world.level.block.GrowingPlantBlock
net.minecraft.class_4863
net.minecraft.block.AbstractPlantPartBlock
net.minecraft.src.C_1806_
net.minecraft.world.level.block.BlockGrowingAbstract

Field summary

Modifier and TypeField
protected final Direction
a
growthDirection
field_22507
growthDirection
f_53859_
protected final boolean
b
scheduleFluidTicks
field_22508
tickWater
f_53860_
protected final VoxelShape
c
shape
field_23080
outlineShape
f_53861_

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockState
a(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(cgy arg0)
getStateForPlacement(LevelAccessor arg0)
method_24948(class_1936 arg0)
getRandomGrowthState(WorldAccess world)
m_7722_(C_1598_ arg0)
public boolean
a(cvo arg0, cha arg1, gt arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_53877_, C_1599_ p_53878_, C_4675_ arg2)
public void
a(cvo arg0, agg arg1, gt arg2, amn arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213897_(C_2064_ p_221281_, C_12_ p_221282_, C_4675_ p_221283_, C_212974_ arg3)
protected boolean
h(cvo arg0)
canAttachTo(BlockState arg0)
method_24947(class_2680 arg0)
canAttachTo(BlockState state)
m_142209_(C_2064_ arg0)
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_53881_, C_1559_ p_53882_, C_4675_ p_53883_, C_3051_ arg3)
protected abstract GrowingPlantHeadBlock
c()
getHeadBlock()
method_24945()
getStem()
m_7272_()
protected abstract Block
b()
getBodyBlock()
method_24946()
getPlant()
m_7777_()