net.minecraft.block

public class BushBlock

extends PlantBlock implements Fertilizable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Fertilizable

net.minecraft.world.level.block.BushBlock
net.minecraft.class_10735
net.minecraft.block.BushBlock

Field summary

Modifier and TypeField
public static final int
DEFAULT_SHAPE_HEIGHT
field_1_7369
field_1_7369
private final VoxelShape
shape
field_1_7371
field_1_7371
private final int
shapeHeight
field_1_7370
field_1_7370

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)
protected (AbstractBlock$Settings properties, int shapeHeight)

Method summary

Modifier and TypeMethod
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public boolean
isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
public boolean
isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
private void
lambda$performBonemeal$0(ServerLevel arg0, BlockPos arg1)
method_67402(class_3218 arg0, class_2338 arg1)
method_67402(ServerWorld arg0, BlockPos pos)