case ApiaristBackpackGUI:
equipped = getBackpackItem(player);
if (equipped == null)
return null;
ISpeciesRoot speciesRoot = AlleleManager.alleleRegistry.getSpeciesRoot("rootBees");
speciesRoot.getBreedingTracker(world, player.getGameProfile()).synchToPlayer(player);
return new ContainerNaturalistBackpack(speciesRoot, player.inventory, new PagedInventory(ItemBackpack.class, Defaults.SLOTS_BACKPACK_APIARIST, equipped, x, y, z, cleanId), guiData, 25);
case BackpackGUI:
equipped = getBackpackItem(player);
if (equipped == null)
return null;
return new ContainerBackpack(player, new ItemInventory(ItemBackpack.class, Defaults.SLOTS_BACKPACK_DEFAULT, equipped));
case BackpackT2GUI:
equipped = getBackpackItem(player);
if (equipped == null)
return null;
return new ContainerBackpack(player, new ItemInventory(ItemBackpack.class, Defaults.SLOTS_BACKPACK_T2, equipped));
case LepidopteristBackpackGUI:
equipped = getBackpackItem(player);
if (equipped == null)
return null;
speciesRoot = AlleleManager.alleleRegistry.getSpeciesRoot("rootButterflies");
speciesRoot.getBreedingTracker(world, player.getGameProfile()).synchToPlayer(player);
return new ContainerNaturalistBackpack(speciesRoot, player.inventory, new PagedInventory(ItemBackpack.class, Defaults.SLOTS_BACKPACK_APIARIST, equipped, x, y, z, cleanId), guiData, 25);
default:
return null;