mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Fix #115 Add a botanist backpack recipe and fix OreDictionary integration
This commit is contained in:
1 parent
f3770bf545
commit
6ec7808b25
4 files changed
+21
-12
No files matched your search
@@ -99,11 +99,16 @@ public class ModuleGardening implements IInitializable {
|
||||
BinnieCore.getBinnieProxy().registerTileEntity(TileCeramicBrick.class, "botany.tile.ceramicBrick");
|
||||
//BinnieCore.proxy.registerCustomItemRenderer(Item.getItemFromBlock(Botany.ceramicTile), new MultipassItemRenderer());
|
||||
//BinnieCore.proxy.registerCustomItemRenderer(Item.getItemFromBlock(Botany.ceramicBrick), new MultipassItemRenderer());
|
||||
OreDictionary.registerOre("pigment", Botany.pigment);
|
||||
OreDictionary.registerOre("toolTrowel", Botany.trowelWood);
|
||||
OreDictionary.registerOre("toolTrowel", Botany.trowelStone);
|
||||
OreDictionary.registerOre("toolTrowel", Botany.trowelIron);
|
||||
OreDictionary.registerOre("toolTrowel", Botany.trowelGold);
|
||||
OreDictionary.registerOre("toolTrowel", Botany.trowelDiamond);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
OreDictionary.registerOre("pigment", Botany.pigment);
|
||||
RecipeSorter.register("botany:ceramictile", CeramicTileRecipe.class, RecipeSorter.Category.SHAPED, "");
|
||||
RecipeSorter.register("botany:pigment", PigmentRecipe.class, RecipeSorter.Category.SHAPED, "");
|
||||
final ItemStack yellow = new ItemStack(Blocks.YELLOW_FLOWER, 1);
|
||||
|
||||
@@ -13,6 +13,7 @@ import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.recipes.RecipeManagers;
|
||||
import forestry.api.storage.BackpackManager;
|
||||
import forestry.api.storage.IBackpackInterface;
|
||||
import forestry.core.recipes.RecipeUtil;
|
||||
import forestry.storage.BackpackDefinition;
|
||||
|
||||
import binnie.Binnie;
|
||||
@@ -90,5 +91,14 @@ public class ModuleGenetics implements IInitializable {
|
||||
'D', Items.DIAMOND,
|
||||
'E', Items.EMERALD
|
||||
);
|
||||
RecipeUtil.addRecipe(Botany.botanistBackpack,
|
||||
"X#X",
|
||||
"VYZ",
|
||||
"X#X",
|
||||
'#', Blocks.WOOL,
|
||||
'X', Items.STRING,
|
||||
'V', Botany.soilMeter,
|
||||
'Z', "toolTrowel",
|
||||
'Y', "chestWood");
|
||||
}
|
||||
}
|
||||
@@ -33,11 +33,6 @@ public class ItemHoneyComb extends ItemProduct implements IColoredItem {
|
||||
public static void addSubtypes() {
|
||||
final ItemStack beeswax = PluginCore.getItems().beeswax.getItemStack();
|
||||
final ItemStack honeyDrop = PluginApiculture.getItems().honeyDrop.getItemStack();
|
||||
OreDictionary.registerOre("ingotIron", Items.IRON_INGOT);
|
||||
OreDictionary.registerOre("ingotGold", Items.GOLD_INGOT);
|
||||
OreDictionary.registerOre("gemDiamond", Items.DIAMOND);
|
||||
OreDictionary.registerOre("gemEmerald", Items.EMERALD);
|
||||
OreDictionary.registerOre("gemLapis", new ItemStack(Items.DYE, 1, 4));
|
||||
EnumHoneyComb.BARREN.addProduct(beeswax, 1.00f);
|
||||
EnumHoneyComb.BARREN.addProduct(honeyDrop, 0.50f);
|
||||
EnumHoneyComb.ROTTEN.addProduct(beeswax, 0.20f);
|
||||
|
||||
@@ -57,11 +57,7 @@ public class ModuleItems implements IInitializable {
|
||||
ExtraTrees.proxy.registerItem(itemHammer);
|
||||
itemDurableHammer = new ItemHammer(true);
|
||||
ExtraTrees.proxy.registerItem(itemDurableHammer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
||||
|
||||
OreDictionary.registerOre("pulpWood", ExtraTreeItems.Sawdust.get(1));
|
||||
Food.registerOreDictionary();
|
||||
OreDictionary.registerOre("cropApple", Items.APPLE);
|
||||
@@ -72,9 +68,12 @@ public class ModuleItems implements IInitializable {
|
||||
OreDictionary.registerOre("seedCorn", ExtraTreeItems.GrainCorn.get(1));
|
||||
OreDictionary.registerOre("seedRye", ExtraTreeItems.GrainRye.get(1));
|
||||
OreDictionary.registerOre("seedRoasted", ExtraTreeItems.GrainRoasted.get(1));
|
||||
|
||||
|
||||
OreDictionary.registerOre("gearWood", ExtraTreeItems.ProvenGear.get(1));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
Food.CRABAPPLE.addJuice(10, 150, 10);
|
||||
Food.ORANGE.addJuice(10, 400, 15);
|
||||
Food.KUMQUAT.addJuice(10, 300, 10);
|
||||
|
||||
Reference in new issue
Block a user