Package net.minecraft.world.level.block
Interface BonemealableBlock
- All Known Implementing Classes:
AzaleaBlock
,BambooSaplingBlock
,BambooStalkBlock
,BeetrootBlock
,BigDripleafBlock
,BigDripleafStemBlock
,CarrotBlock
,CaveVinesBlock
,CaveVinesPlantBlock
,CocoaBlock
,CropBlock
,FungusBlock
,GlowLichenBlock
,GrassBlock
,GrowingPlantBodyBlock
,GrowingPlantHeadBlock
,KelpBlock
,KelpPlantBlock
,MangroveLeavesBlock
,MangrovePropaguleBlock
,MossBlock
,MushroomBlock
,NetherrackBlock
,NyliumBlock
,PinkPetalsBlock
,PitcherCropBlock
,PotatoBlock
,RootedDirtBlock
,SaplingBlock
,SeagrassBlock
,SeaPickleBlock
,SmallDripleafBlock
,StemBlock
,SweetBerryBushBlock
,TallFlowerBlock
,TallGrassBlock
,TorchflowerCropBlock
,TwistingVinesBlock
,TwistingVinesPlantBlock
,WeepingVinesBlock
,WeepingVinesPlantBlock
public interface BonemealableBlock
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBonemealSuccess
(Level p_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) boolean
isValidBonemealTarget
(LevelReader p_256559_, BlockPos p_50898_, BlockState p_50899_, boolean p_50900_) void
performBonemeal
(ServerLevel p_220874_, RandomSource p_220875_, BlockPos p_220876_, BlockState p_220877_)
-
Method Details
-
isValidBonemealTarget
boolean isValidBonemealTarget(LevelReader p_256559_, BlockPos p_50898_, BlockState p_50899_, boolean p_50900_) -
isBonemealSuccess
boolean isBonemealSuccess(Level p_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) -
performBonemeal
void performBonemeal(ServerLevel p_220874_, RandomSource p_220875_, BlockPos p_220876_, BlockState p_220877_)
-