net.minecraft.world.level.block

public abstract class GrowingPlantHeadBlock

extends GrowingPlantBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

byk
net.minecraft.world.level.block.GrowingPlantHeadBlock
net.minecraft.class_4865
net.minecraft.block.AbstractPlantStemBlock
net.minecraft.block.AbstractTopPlantBlock
net.minecraft.server.v1_16_R1.BlockGrowingTop

Field summary

Modifier and TypeField
public static final IntegerProperty
d
AGE
field_22509
AGE
field_235502_d_
private final double
e
growPerTickProbability
field_22510
growthChance
field_235503_e_

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockState
a(bqc arg0)
getStateForPlacement(LevelAccessor arg0)
method_24948(class_1936 arg0)
getRandomGrowthState(WorldAccess world)
func_235504_a_(IWorld arg0)
public void
a(cfj arg0, zd arg1, fu arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public boolean
a_(cfj arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
func_149653_t(BlockState arg0)
isTicking(IBlockData arg0)
public void
b(cfj arg0, zd arg1, fu arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225542_b_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public BlockState
a(cfj arg0, fz arg1, cfj arg2, bqc arg3, fu arg4, fu 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)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
protected void
a(cfk$a<bvr, cfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public boolean
a(bpg arg0, fu arg1, cfj 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)
func_176473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public boolean
a(bqb arg0, Random arg1, fu arg2, cfj 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)
func_180670_a(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
a(zd arg0, Random arg1, fu arg2, cfj 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)
func_225535_a_(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
protected abstract int
a(Random arg0)
getBlocksToGrowWhenBonemealed(Random arg0)
method_26376(Random arg0)
method_26376(Random arg0)
func_230332_a_(Random arg0)
protected abstract boolean
h(cfj arg0)
canGrowInto(BlockState arg0)
method_24949(class_2680 arg0)
chooseStemState(BlockState state)
func_230334_h_(BlockState arg0)
protected GrowingPlantHeadBlock
c()
getHeadBlock()
method_24945()
getStem()
func_230331_c_()