Interface IHiveFrame


public interface IHiveFrame
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    frameUsed(IBeeHousing housing, net.minecraft.world.item.ItemStack frame, IBee queen, int wear)
    Wears out a frame.
    getBeeModifier(net.minecraft.world.item.ItemStack frame)
     
  • Method Details

    • frameUsed

      net.minecraft.world.item.ItemStack frameUsed(IBeeHousing housing, net.minecraft.world.item.ItemStack frame, IBee queen, int wear)
      Wears out a frame.
      Parameters:
      housing - IBeeHousing the frame is contained in.
      frame - ItemStack containing the actual frame.
      queen - Current queen in the caller.
      wear - Integer denoting the amount worn out. The wear modifier of the current beekeeping mode has already been taken into account.
      Returns:
      ItemStack containing the actual frame with adjusted damage, or Empty ItemStack if it has been broken.
    • getBeeModifier

      IBeeModifier getBeeModifier(net.minecraft.world.item.ItemStack frame)
      Parameters:
      frame - ItemStack containing the actual frame.
      Returns:
      the IBeeModifier for this frame.
      Since:
      Forestry 5.5.1