net.minecraft.world.level.block

public abstract class GrowingPlantBodyBlock

extends GrowingPlantBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

doa
net.minecraft.world.level.block.GrowingPlantBodyBlock
net.minecraft.class_4864
net.minecraft.unmapped.C_ymdmcjuw
net.minecraft.block.AbstractPlantBlock
net.minecraft.block.GrowingPlantBodyBlock
net.minecraft.src.C_1807_
net.minecraft.world.level.block.BlockGrowingAbstract

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings, Direction direction, VoxelShape p_53889_, boolean arg3)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends GrowingPlantBodyBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected BlockState
a(dxu arg0, dxu arg1)
updateHeadAfterConvertedFromBody(BlockState arg0, BlockState arg1)
method_33624(class_2680 arg0, class_2680 arg1)
m_evmdilba(C_txtbiemp arg0, C_txtbiemp arg1)
copyState(BlockState from, BlockState to)
copyState(BlockState from, BlockState to)
m_142644_(C_2064_ p_153327_, C_2064_ arg1)
protected BlockState
a(dxu arg0, dhk arg1, dhw arg2, jh arg3, jm arg4, jh arg5, dxu arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_364320_, C_1599_ p_363381_, C_346056_ p_53917_, C_4675_ p_53914_, C_4687_ p_53918_, C_4675_ p_53915_, C_2064_ p_365042_, C_212974_ arg7)
public ItemStack
a(dhk arg0, jh arg1, dxu arg2)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_jsiqlbgd(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1599_ p_53897_, C_4675_ p_53898_, C_2064_ arg2)
public boolean
b(dhk arg0, jh arg1, dxu arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_lqjmmujl(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_255647_, C_4675_ p_256117_, C_2064_ arg2)
public boolean
a(dhh arg0, bam arg1, jh arg2, dxu arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_mxdrxjjx(C_cdctfzbn arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
canFertilize(World arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_221291_, C_212974_ p_221292_, C_4675_ p_221293_, C_2064_ arg3)
public void
a(ash arg0, bam arg1, jh arg2, dxu arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_tbosypih(C_bdwnwhiu arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
fertilize(ServerWorld arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214148_(C_12_ p_221286_, C_212974_ p_221287_, C_4675_ p_221288_, C_2064_ arg3)
private Optional<BlockPos>
a(dgm arg0, jh arg1, dkl arg2)
getHeadPos(BlockGetter arg0, BlockPos arg1, Block arg2)
method_25960(class_1922 arg0, class_2338 arg1, class_2248 arg2)
m_pxnibpqz(C_peaveboq arg0, C_hynzadkk arg1, C_mmxmpdoq arg2)
getStemHeadPos(BlockView world, BlockPos pos, Block block)
getTop(BlockView world, BlockPos pos, Block block)
m_153322_(C_1559_ p_153324_, C_4675_ p_153325_, C_1706_ arg2)
protected boolean
a(dxu arg0, dbf arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
m_qzmkwuwe(C_txtbiemp arg0, C_aiootljq arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_53911_, C_1445_ arg1)
protected Block
b()
getBodyBlock()
method_24946()
m_oydhwfwm()
getPlant()
getPlant()
m_7777_()