Package forestry.api.apiculture.hives
Interface IHiveTile
public interface IHiveTile
-
Method Summary
Modifier and TypeMethodDescriptionvoidcalmBees()Call to calm agitated bees.booleanisAngry()voidonAttack(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) Called when the hive is attacked.voidonBroken(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, boolean canHarvest) Called when the hive is broken.
-
Method Details
-
calmBees
void calmBees()Call to calm agitated bees. Used by the smoker to stop wild bees from attacking as much. Bees will not stay calm for very long. -
isAngry
boolean isAngry() -
onAttack
void onAttack(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player) Called when the hive is attacked. -
onBroken
void onBroken(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, boolean canHarvest) Called when the hive is broken.
-