Interface IHiveTile


public interface IHiveTile
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Call to calm agitated bees.
    boolean
     
    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.
    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.
  • 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.