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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault BlockPos
getParticlePos
(BlockPos p_316301_) default BonemealableBlock.Type
getType()
boolean
isBonemealSuccess
(Level p_220878_, RandomSource p_220879_, BlockPos p_220880_, BlockState p_220881_) boolean
isValidBonemealTarget
(LevelReader p_256559_, BlockPos p_50898_, BlockState p_50899_) void
performBonemeal
(ServerLevel p_220874_, RandomSource p_220875_, BlockPos p_220876_, BlockState p_220877_)
-
Method Details
-
isValidBonemealTarget
-
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_) -
getParticlePos
-
getType
-