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
,MangroveLeavesBlock
,MangrovePropaguleBlock
,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_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) boolean
isValidBonemealTarget
(BlockGetter p_50897_, 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(BlockGetter p_50897_, 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_)
-