use of forestry.core.gui.GuiNaturalistInventory in project ForestryMC by ForestryMC.
the class ItemBackpackNaturalist method getGui.
@Override
@SideOnly(Side.CLIENT)
public GuiContainer getGui(EntityPlayer player, ItemStack heldItem, int page) {
ItemInventoryBackpackPaged inventory = new ItemInventoryBackpackPaged(player, Constants.SLOTS_BACKPACK_APIARIST, heldItem, this);
ContainerNaturalistBackpack container = new ContainerNaturalistBackpack(player, inventory, page);
return new GuiNaturalistInventory(speciesRoot, player, container, page, 5);
}
Aggregations