Package net.minecraft.world.level.block
Interface BonemealableBlock
- All Known Implementing Classes:
AzaleaBlock
,BambooBlock
,BambooSaplingBlock
,BeetrootBlock
,BigDripleafBlock
,BigDripleafStemBlock
,CarrotBlock
,CaveVinesBlock
,CaveVinesPlantBlock
,CocoaBlock
,CropBlock
,FungusBlock
,GlowLichenBlock
,GrassBlock
,GrowingPlantBodyBlock
,GrowingPlantHeadBlock
,KelpBlock
,KelpPlantBlock
,MossBlock
,MushroomBlock
,NetherrackBlock
,NyliumBlock
,PotatoBlock
,RootedDirtBlock
,SaplingBlock
,SeagrassBlock
,SeaPickleBlock
,SmallDripleafBlock
,StemBlock
,SweetBerryBushBlock
,TallFlowerBlock
,TallGrassBlock
,TwistingVinesBlock
,TwistingVinesPlantBlock
,WeepingVinesBlock
,WeepingVinesPlantBlock
public interface BonemealableBlock
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBonemealSuccess(Level p_50901_, Random p_50902_, BlockPos p_50903_, BlockState p_50904_)
boolean
isValidBonemealTarget(BlockGetter p_50897_, BlockPos p_50898_, BlockState p_50899_, boolean p_50900_)
void
performBonemeal(ServerLevel p_50893_, Random p_50894_, BlockPos p_50895_, BlockState p_50896_)
-
Method Details
-
isValidBonemealTarget
boolean isValidBonemealTarget(BlockGetter p_50897_, BlockPos p_50898_, BlockState p_50899_, boolean p_50900_) -
isBonemealSuccess
-
performBonemeal
void performBonemeal(ServerLevel p_50893_, Random p_50894_, BlockPos p_50895_, BlockState p_50896_)
-