Package forestry.api.apiculture.hives
Interface IHiveFrame
public interface IHiveFrame
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackframeUsed(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
- Parameters:
frame- ItemStack containing the actual frame.- Returns:
- the
IBeeModifierfor this frame. - Since:
- Forestry 5.5.1
-