use of forestry.storage.items.ItemRegistryBackpacks in project ForestryMC by ForestryMC.
the class ModuleBackpacks method registerRecipes.
@Override
public void registerRecipes() {
ItemRegistryBackpacks items = getItems();
if (items.apiaristBackpack != null && ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.APICULTURE))) {
BlockRegistryApiculture beeBlocks = ModuleApiculture.getBlocks();
addBackpackRecipe("bee", items.apiaristBackpack, "stickWood", beeBlocks.beeChest);
}
if (items.lepidopteristBackpack != null && ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.LEPIDOPTEROLOGY))) {
BlockRegistryLepidopterology butterflyBlocks = ModuleLepidopterology.getBlocks();
ItemStack chest = new ItemStack(butterflyBlocks.butterflyChest);
addBackpackRecipe("butterfly", items.lepidopteristBackpack, "stickWood", chest);
}
addBackpackRecipe("mining", items.minerBackpack, "ingotIron");
addBackpackRecipe("digging", items.diggerBackpack, "stone");
addBackpackRecipe("foresting", items.foresterBackpack, "logWood");
addBackpackRecipe("hunting", items.hunterBackpack, Items.FEATHER);
addBackpackRecipe("adventuring", items.adventurerBackpack, Items.BONE);
addBackpackRecipe("building", items.builderBackpack, Items.CLAY_BALL);
// / CARPENTER
if (ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.FACTORY))) {
// / BACKPACKS WOVEN
addT2BackpackRecipe(items.minerBackpack, items.minerBackpackT2);
addT2BackpackRecipe(items.diggerBackpack, items.diggerBackpackT2);
addT2BackpackRecipe(items.foresterBackpack, items.foresterBackpackT2);
addT2BackpackRecipe(items.hunterBackpack, items.hunterBackpackT2);
addT2BackpackRecipe(items.adventurerBackpack, items.adventurerBackpackT2);
addT2BackpackRecipe(items.builderBackpack, items.builderBackpackT2);
}
}
use of forestry.storage.items.ItemRegistryBackpacks in project ForestryMC by ForestryMC.
the class StorageJeiPlugin method register.
@Override
public void register(IModRegistry registry) {
if (!ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.BACKPACKS))) {
return;
}
ItemRegistryBackpacks items = ModuleBackpacks.getItems();
JeiUtil.addDescription(registry, "minerBag", items.minerBackpack, items.minerBackpackT2);
JeiUtil.addDescription(registry, "diggerBag", items.diggerBackpack, items.diggerBackpackT2);
JeiUtil.addDescription(registry, "foresterBag", items.foresterBackpack, items.foresterBackpackT2);
JeiUtil.addDescription(registry, "hunter", items.hunterBackpack, items.hunterBackpackT2);
JeiUtil.addDescription(registry, "adventurerBag", items.adventurerBackpack, items.adventurerBackpackT2);
JeiUtil.addDescription(registry, "builderBag", items.builderBackpack, items.builderBackpackT2);
JeiUtil.addDescription(registry, items.apiaristBackpack, items.lepidopteristBackpack);
}
Aggregations