OreDictionary and Recipe changes

This commit is contained in:
KitsuShadow
2015-09-01 22:32:34 -04:00
parent dacfbc574b
commit f6f8e02d6b
8 changed files with 19 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ public class Main {
public static final String MODID = "kitsumedievalcraft";
public static final String MODNAME = "ForgeCraft";
public static final String VERSION = "2.2.6";
public static final String VERSION = "2.2.8";
public static SimpleNetworkWrapper sNet;

View File

@@ -1,5 +1,6 @@
package com.kitsu.medievalcraft.compat;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
@@ -23,6 +24,11 @@ public class ModDict {
OreDictionary.registerOre("pulpWood", new ItemStack(ModItems.woodPulp, 1, 0));
OreDictionary.registerOre("knappedFlint", new ItemStack(ModItems.flintKnapped, 1, 0));
OreDictionary.registerOre("blockClay", new ItemStack(Blocks.clay, 1, 0));
OreDictionary.registerOre("clumpClay", new ItemStack(Items.clay_ball, 1, 0));
OreDictionary.registerOre("clumpFuel", new ItemStack(ModBlocks.shitblock, 1, 0));
OreDictionary.registerOre("ingotBrickClay", new ItemStack(Items.brick, 1, 0));
//OreDictionary.registerOre("cordage", new ItemStack(ModItems.leatherString, 1, 0));
//OreDictionary.registerOre("itemLeather", ModItems.cutLeather);
//OreDictionary.replacements.put(new ItemStack(Item.leather), "itemLeather");

View File

@@ -167,6 +167,9 @@ public final class ModCrafting {
GameRegistry.addRecipe(new ItemStack(ModBlocks.forge), new Object []
{"xax", "xsx", "xxx",
'x', Blocks.stonebrick, 'a', Blocks.stone_slab, 's', ModBlocks.firebox});
GameRegistry.addRecipe(new ItemStack(ModBlocks.forge), new Object []
{"xax", "xsx", "xxx",
'x', Blocks.nether_brick, 'a', Blocks.stone_slab, 's', ModBlocks.firebox});
GameRegistry.addRecipe(new ItemStack(ModBlocks.solidFilter), new Object[]
{"xyx", "y y", "xyx",
'x', ModItems.splitBoard,
@@ -187,11 +190,17 @@ public final class ModCrafting {
GameRegistry.addRecipe(new ItemStack(ModBlocks.firebox), new Object[]
{"x x", "x x", "xxx",
'x', Items.brick});
GameRegistry.addRecipe(new ItemStack(ModBlocks.firebox), new Object[]
{"x x", "x x", "xxx",
'x', Items.netherbrick});
GameRegistry.addRecipe(new ItemStack(ModBlocks.firebox), new Object[]
{"x x", "x x", "xxx",
Character.valueOf('x'), "ingotBrickClay"});
//-----------------------LEATHER STUFF-----------------------//
//GameRegistry.addRecipe(new ItemStack(ModItems.rawCuredLeather), new Object[]{"x", "z", 'x', Items.leather, 'z', ModItems.salt});
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rawCuredLeather), new Object[]{Items.leather, ModItems.salt});
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.rawCuredLeather), new Object[]{Items.leather, "foodSalt"});
GameRegistry.addRecipe(new ItemStack(ModItems.finishedLeather), new Object[]{"x",'x', ModItems.tannedLeather});
//GameRegistry.addRecipe(new ItemStack(ModItems.rawCuredLeather), new Object[]{"x", "z", 'x', Items.leather, 'z', ModItems.salt});

View File

@@ -3,7 +3,7 @@
"modid": "kitsumedievalcraft",
"name": "ForgeCraft",
"description": "ForgeCraft",
"version": "{2.2.6}",
"version": "{2.2.8}",
"mcversion": "{1.7.10}",
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",