net.minecraft.block

public interface Fertilizable

net.minecraft.world.level.block.BonemealableBlock
net.minecraft.class_2256
net.minecraft.block.Fertilizable

Method summary

Modifier and TypeMethod
boolean
isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView world, BlockPos pos, BlockState state)
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 world, Random random, BlockPos pos, BlockState state)
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 world, Random random, BlockPos pos, BlockState state)
static boolean
hasSpreadableNeighbourPos(LevelReader level, BlockPos pos, BlockState blockToPlace)
method_67541(class_4538 arg0, class_2338 arg1, class_2680 arg2)
canSpread(WorldView world, BlockPos pos, BlockState state)
static Optional<BlockPos>
findSpreadableNeighbourPos(Level level, BlockPos pos, BlockState blockToPlace)
method_67539(class_1937 arg0, class_2338 arg1, class_2680 arg2)
findPosToSpreadTo(World world, BlockPos pos, BlockState state)
private static Optional<BlockPos>
getSpreadableNeighbourPos(List<Direction> directions, LevelReader level, BlockPos pos, BlockState blockToPlace)
method_67540(List<class_2350> arg0, class_4538 arg1, class_2338 arg2, class_2680 arg3)
findPosToSpreadTo(List<Direction> directions, WorldView world, BlockPos pos, BlockState state)
default BlockPos
getParticlePos(BlockPos blockPos)
method_55769(class_2338 arg0)
getFertilizeParticlePos(BlockPos pos)
default Fertilizable$FertilizableType
getType()
method_55770()
getFertilizableType()