Package forestry.api.apiculture
Interface IBeeHousingInventory
public interface IBeeHousingInventory
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddProduct(net.minecraft.world.item.ItemStack product, boolean all) Adds products to the housing's inventory.net.minecraft.world.item.ItemStackgetDrone()net.minecraft.world.item.ItemStackgetQueen()voidsetDrone(net.minecraft.world.item.ItemStack stack) voidsetQueen(net.minecraft.world.item.ItemStack stack)
-
Method Details
-
getQueen
net.minecraft.world.item.ItemStack getQueen() -
getDrone
net.minecraft.world.item.ItemStack getDrone() -
setQueen
void setQueen(net.minecraft.world.item.ItemStack stack) -
setDrone
void setDrone(net.minecraft.world.item.ItemStack stack) -
addProduct
boolean addProduct(net.minecraft.world.item.ItemStack product, boolean all) Adds products to the housing's inventory.- Parameters:
product- ItemStack with the product to add.all- if true, success requires that all products are added- Returns:
- boolean indicating success or failure.
-