net.minecraft.world.level.block

public abstract class GrowingPlantBodyBlock

extends GrowingPlantBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

ccs
net.minecraft.world.level.block.GrowingPlantBodyBlock
net.minecraft.class_4864
net.minecraft.block.AbstractPlantBlock
net.minecraft.src.C_1807_
net.minecraft.world.level.block.BlockGrowingStem

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties p_53887_, Direction p_53888_, VoxelShape p_53889_, boolean arg3)

Method summary

Modifier and TypeMethod
protected BlockState
a(ckt arg0, ckt arg1)
updateHeadAfterConvertedFromBody(BlockState arg0, BlockState arg1)
method_33624(class_2680 arg0, class_2680 arg1)
copyState(BlockState from, BlockState to)
m_142644_(C_2064_ p_153327_, C_2064_ arg1)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_53914_, C_4687_ p_53915_, C_2064_ p_53916_, C_1598_ p_53917_, C_4675_ p_53918_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public ItemStack
a(bvu arg0, gg arg1, ckt arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1559_ p_53897_, C_4675_ p_53898_, C_2064_ arg2)
public boolean
a(bvu arg0, gg arg1, ckt arg2, boolean arg3)
isValidBonemealTarget(BlockGetter arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9651(class_1922 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
isFertilizable(BlockView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_7370_(C_1559_ p_53901_, C_4675_ p_53902_, C_2064_ p_53903_, boolean arg3)
public boolean
a(bwq arg0, Random arg1, gg arg2, ckt arg3)
isBonemealSuccess(Level arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_5491_(C_1596_ p_53906_, Random p_53907_, C_4675_ p_53908_, C_2064_ arg3)
public void
a(abr arg0, Random arg1, gg arg2, ckt arg3)
performBonemeal(ServerLevel arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_7719_(C_12_ p_53892_, Random p_53893_, C_4675_ p_53894_, C_2064_ arg3)
private Optional<BlockPos>
a(bvu arg0, gg arg1, bzp arg2)
getHeadPos(BlockGetter arg0, BlockPos arg1, Block arg2)
method_25960(class_1922 arg0, class_2338 arg1, class_2248 arg2)
getStemHeadPos(BlockView world, BlockPos pos, Block block)
m_153322_(C_1559_ p_153324_, C_4675_ p_153325_, C_1706_ arg2)
public boolean
a(ckt arg0, bsq arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_53911_, C_1445_ arg1)
protected Block
c()
getBodyBlock()
method_24946()
getPlant()
m_7777_()