Jump to content

Recommended Posts

Posted

Every time i craft one of my custom Armor the game crashes and i don't know why :(

Crash:

---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 01.12.18 18:52
Description: Rendering item

java.lang.NullPointerException: Rendering item
   at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)
   at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)
   at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
   at codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:489)
   at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:288)
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114)
   at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067)
   at net.minecraft.client.Minecraft.run(Minecraft.java:962)
   at net.minecraft.client.main.Main.main(Main.java:164)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
   at GradleStart.main(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
   at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)
   at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)

-- Item being rendered --
Details:
   Item Type: null
   Item Aux: ~~ERROR~~ NullPointerException: null
   Item NBT: null
   Item Foil: ~~ERROR~~ NullPointerException: null
Stacktrace:
   at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
   at codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:489)
   at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:288)
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:114)

-- Screen render details --
Details:
   Screen name: net.minecraft.client.gui.inventory.GuiCrafting
   Mouse location: Scaled: (200, 59). Absolute: (401, 361)
   Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
   Level name: MpServer
   All players: 1 total; [EntityClientPlayerMP['Player607'/224, l='MpServer', x=125,66, y=73,62, z=235,30]]
   Chunk stats: MultiplayerChunkCache: 289, 289
   Level seed: 0
   Level generator: ID 00 - default, ver 1. Features enabled: false
   Level generator options: 
   Level spawn location: World: (124,64,232), Chunk: (at 12,4,8 in 7,14; contains blocks 112,0,224 to 127,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
   Level time: 749 game time, 749 day time
   Level dimension: 0
   Level storage version: 0x00000 - Unknown?
   Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
   Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
   Forced entities: 111 total; [EntityCreeper['Creeper'/2068, l='MpServer', x=46,50, y=25,00, z=251,50], EntityCreeper['Creeper'/2069, l='MpServer', x=47,50, y=25,00, z=250,50], EntitySkeleton['Skeleton'/1048, l='MpServer', x=120,50, y=44,00, z=290,50], EntityZombie['Zombie'/1049, l='MpServer', x=119,50, y=44,00, z=294,50], EntitySkeleton['Skeleton'/5146, l='MpServer', x=201,50, y=23,00, z=218,50], EntitySpider['Spider'/5154, l='MpServer', x=89,97, y=57,00, z=281,75], EntityCreeper['Creeper'/5156, l='MpServer', x=88,47, y=58,00, z=284,59], EntitySpider['Spider'/1062, l='MpServer', x=125,30, y=12,00, z=236,50], EntitySkeleton['Skeleton'/1083, l='MpServer', x=72,06, y=49,00, z=204,53], EntitySkeleton['Skeleton'/5185, l='MpServer', x=62,50, y=57,00, z=271,50], EntitySheep['Sheep'/66, l='MpServer', x=49,59, y=78,00, z=238,41], EntitySheep['Sheep'/67, l='MpServer', x=50,66, y=78,00, z=239,88], EntitySkeleton['Skeleton'/5187, l='MpServer', x=63,50, y=57,00, z=270,50], EntitySheep['Sheep'/69, l='MpServer', x=47,50, y=78,00, z=242,50], EntitySheep['Sheep'/70, l='MpServer', x=58,50, y=77,00, z=213,50], EntitySheep['Sheep'/71, l='MpServer', x=59,50, y=77,00, z=211,50], EntityZombie['Zombie'/2119, l='MpServer', x=52,50, y=28,00, z=209,50], EntitySheep['Sheep'/72, l='MpServer', x=56,50, y=77,00, z=211,50], EntitySheep['Sheep'/73, l='MpServer', x=57,50, y=77,00, z=215,50], EntitySheep['Sheep'/74, l='MpServer', x=71,50, y=87,00, z=289,50], EntitySheep['Sheep'/75, l='MpServer', x=71,78, y=88,00, z=285,22], EntitySheep['Sheep'/76, l='MpServer', x=75,84, y=88,00, z=289,09], EntitySheep['Sheep'/77, l='MpServer', x=70,50, y=87,00, z=291,50], EntitySheep['Sheep'/79, l='MpServer', x=88,50, y=72,00, z=176,06], EntitySheep['Sheep'/80, l='MpServer', x=88,53, y=72,00, z=174,47], EntitySheep['Sheep'/81, l='MpServer', x=90,53, y=74,00, z=173,47], EntitySheep['Sheep'/82, l='MpServer', x=88,19, y=71,00, z=177,78], EntitySkeleton['Skeleton'/5216, l='MpServer', x=202,50, y=30,00, z=220,50], EntitySheep['Sheep'/99, l='MpServer', x=105,91, y=75,00, z=184,13], EntitySheep['Sheep'/100, l='MpServer', x=105,50, y=83,00, z=188,50], EntitySkeleton['Skeleton'/5220, l='MpServer', x=67,43, y=60,00, z=272,96], EntitySheep['Sheep'/101, l='MpServer', x=104,50, y=73,00, z=188,50], EntitySheep['Sheep'/102, l='MpServer', x=104,50, y=73,00, z=188,50], EntityItem['item.tile.mushroom'/103, l='MpServer', x=114,56, y=13,13, z=234,81], EntitySheep['Sheep'/104, l='MpServer', x=110,78, y=84,00, z=315,50], EntityCreeper['Creeper'/5224, l='MpServer', x=100,50, y=29,00, z=171,50], EntityCreeper['Creeper'/5228, l='MpServer', x=108,50, y=35,00, z=263,50], EntityCreeper['Creeper'/5229, l='MpServer', x=109,50, y=35,00, z=264,50], EntitySheep['Sheep'/116, l='MpServer', x=127,25, y=72,00, z=201,78], EntitySheep['Sheep'/117, l='MpServer', x=124,53, y=72,00, z=211,63], EntitySheep['Sheep'/118, l='MpServer', x=134,11, y=71,00, z=213,50], EntityZombie['Zombie'/2166, l='MpServer', x=133,78, y=48,00, z=290,84], EntitySheep['Sheep'/119, l='MpServer', x=126,94, y=71,00, z=211,53], EntitySpider['Spider'/2168, l='MpServer', x=137,47, y=49,00, z=290,81], EntitySheep['Sheep'/124, l='MpServer', x=149,78, y=79,00, z=293,22], EntitySheep['Sheep'/125, l='MpServer', x=148,19, y=79,00, z=294,81], EntitySheep['Sheep'/126, l='MpServer', x=146,16, y=76,42, z=296,13], EntitySheep['Sheep'/127, l='MpServer', x=146,50, y=79,00, z=290,50], EntitySheep['Sheep'/132, l='MpServer', x=163,13, y=77,00, z=159,19], EntitySheep['Sheep'/133, l='MpServer', x=160,50, y=80,00, z=175,50], EntitySheep['Sheep'/134, l='MpServer', x=160,50, y=80,00, z=175,50], EntitySheep['Sheep'/135, l='MpServer', x=156,16, y=80,00, z=174,88], EntitySheep['Sheep'/136, l='MpServer', x=150,84, y=79,00, z=170,13], EntitySheep['Sheep'/137, l='MpServer', x=183,50, y=70,00, z=197,78], EntitySheep['Sheep'/138, l='MpServer', x=181,50, y=70,00, z=198,50], EntitySheep['Sheep'/139, l='MpServer', x=183,50, y=69,00, z=196,19], EntitySheep['Sheep'/140, l='MpServer', x=183,50, y=70,00, z=199,50], EntitySheep['Sheep'/141, l='MpServer', x=183,50, y=89,00, z=234,50], EntitySheep['Sheep'/142, l='MpServer', x=183,50, y=89,00, z=234,50], EntitySheep['Sheep'/143, l='MpServer', x=183,50, y=91,00, z=237,22], EntitySheep['Sheep'/144, l='MpServer', x=183,50, y=92,00, z=238,53], EntityPig['Pig'/154, l='MpServer', x=198,97, y=91,00, z=241,53], EntityCreeper['Creeper'/5287, l='MpServer', x=72,50, y=22,00, z=233,50], EntitySkeleton['Skeleton'/5320, l='MpServer', x=132,50, y=46,00, z=298,50], EntityBat['Bat'/268, l='MpServer', x=47,09, y=38,03, z=292,25], EntityClientPlayerMP['Player607'/224, l='MpServer', x=125,66, y=73,62, z=235,30], EntityZombie['Zombie'/2388, l='MpServer', x=55,50, y=43,00, z=302,50], EntityZombie['Zombie'/2389, l='MpServer', x=49,78, y=42,00, z=303,41], EntitySkeleton['Skeleton'/1368, l='MpServer', x=80,50, y=28,00, z=216,50], EntitySkeleton['Skeleton'/2399, l='MpServer', x=109,50, y=41,00, z=273,50], EntityWitch['Witch'/2411, l='MpServer', x=155,50, y=32,00, z=235,50], EntitySpider['Spider'/2421, l='MpServer', x=47,50, y=54,00, z=309,50], EntityBat['Bat'/377, l='MpServer', x=113,54, y=16,59, z=235,65], EntityWitch['Witch'/1402, l='MpServer', x=52,50, y=36,00, z=222,50], EntitySkeleton['Skeleton'/491, l='MpServer', x=119,50, y=16,00, z=314,50], EntityBat['Bat'/504, l='MpServer', x=150,94, y=52,64, z=293,31], EntitySpider['Spider'/1591, l='MpServer', x=147,50, y=47,00, z=219,50], EntityBat['Bat'/573, l='MpServer', x=102,25, y=41,10, z=235,66], EntityBat['Bat'/574, l='MpServer', x=101,76, y=37,92, z=236,84], EntityBat['Bat'/576, l='MpServer', x=48,97, y=30,08, z=183,26], EntityBat['Bat'/577, l='MpServer', x=50,50, y=31,10, z=197,25], EntityBat['Bat'/580, l='MpServer', x=50,07, y=30,84, z=195,21], EntityZombie['Zombie'/589, l='MpServer', x=92,50, y=55,00, z=280,50], EntityCreeper['Creeper'/592, l='MpServer', x=109,50, y=34,00, z=214,50], EntityCreeper['Creeper'/1621, l='MpServer', x=66,50, y=53,00, z=248,50], EntitySkeleton['Skeleton'/1653, l='MpServer', x=64,50, y=17,00, z=256,88], EntitySkeleton['Skeleton'/1654, l='MpServer', x=61,38, y=19,00, z=258,88], EntityWitch['Witch'/646, l='MpServer', x=101,94, y=46,00, z=283,53], EntityBat['Bat'/2715, l='MpServer', x=46,50, y=34,00, z=222,59], EntityCreeper['Creeper'/681, l='MpServer', x=114,50, y=43,00, z=285,50], EntityCreeper['Creeper'/682, l='MpServer', x=108,63, y=39,00, z=283,03], EntitySkeleton['Skeleton'/683, l='MpServer', x=116,50, y=43,00, z=288,50], EntityZombie['Zombie'/701, l='MpServer', x=53,50, y=21,00, z=257,50], EntityBat['Bat'/712, l='MpServer', x=186,41, y=23,23, z=211,47], EntityCreeper['Creeper'/720, l='MpServer', x=52,50, y=35,00, z=229,50], EntityCreeper['Creeper'/721, l='MpServer', x=53,50, y=35,00, z=231,50], EntityCreeper['Creeper'/722, l='MpServer', x=52,50, y=35,00, z=230,50], EntityBat['Bat'/754, l='MpServer', x=100,06, y=51,03, z=285,23], EntityCreeper['Creeper'/777, l='MpServer', x=152,66, y=50,00, z=281,97], EntityBat['Bat'/788, l='MpServer', x=195,56, y=26,17, z=178,66], EntityBat['Bat'/793, l='MpServer', x=110,00, y=16,95, z=238,56], EntitySkeleton['Skeleton'/1914, l='MpServer', x=51,50, y=54,00, z=303,50], EntitySkeleton['Skeleton'/1932, l='MpServer', x=66,53, y=47,00, z=207,16], EntityItem['item.tile.mushroom'/5014, l='MpServer', x=127,09, y=25,22, z=234,29], EntityItem['item.tile.mushroom'/5026, l='MpServer', x=129,73, y=25,13, z=235,13], EntitySpider['Spider'/932, l='MpServer', x=85,50, y=59,00, z=286,50], EntitySkeleton['Skeleton'/956, l='MpServer', x=121,50, y=23,00, z=212,50], EntitySkeleton['Skeleton'/958, l='MpServer', x=120,63, y=23,00, z=215,66], EntitySkeleton['Skeleton'/1984, l='MpServer', x=132,50, y=47,00, z=293,50], EntityZombie['Zombie'/5068, l='MpServer', x=181,94, y=35,00, z=210,50], EntityCreeper['Creeper'/5069, l='MpServer', x=187,50, y=35,00, z=211,50]]
   Retry entities: 0 total; []
   Server brand: fml,forge
   Server type: Integrated singleplayer server
Stacktrace:
   at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)
   at net.minecraft.client.Minecraft.run(Minecraft.java:984)
   at net.minecraft.client.main.Main.main(Main.java:164)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
   at GradleStart.main(Unknown Source)

-- System Details --
Details:
   Minecraft Version: 1.7.10
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_181, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 552486896 bytes (526 MB) / 1004011520 bytes (957 MB) up to 3101163520 bytes (2957 MB)
   JVM Flags: 3 total; -Xincgc -Xmx3024M -Xms1024M
   AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
   FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 6 mods loaded, 6 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHIJAAAA  mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
   UCHIJAAAA  FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
   UCHIJAAAA  Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
   UCHIJAAAA  CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar) 
   UCHIJAAAA  NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar) 
   UCHIJAAAA  randomutilities{0.0.1a} [RandomUtilities] (Random Utilities 1.7.10) 
   GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.201.1151.1008' Renderer: 'AMD Radeon 6600M and 6700M Series'
   Launched Version: 1.7.10
   LWJGL: 2.9.1
   OpenGL: AMD Radeon 6600M and 6700M Series GL version 4.5.13399 Compatibility Profile Context 15.201.1151.1008, ATI Technologies Inc.
   GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: []
   Current Language: English (US)
   Profiler Position: N/A (disabled)
   Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   Anisotropic Filtering: Off (1)

My Armor Class:

package de.randomutilities.mod.init.itemclasses;

import cpw.mods.fml.common.registry.GameRegistry;
import de.randomutilities.mod.init.armorclasses.CopperArmor;
import de.randomutilities.mod.main.References;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraftforge.common.util.EnumHelper;

public class Armor {

    public static ItemArmor.ArmorMaterial basic = EnumHelper.addArmorMaterial("basic",180, new int[]{2,4,3,1}, 5);

    //Identifizieren
    //Copper
    public static Item helmetCopper;
    public static Item chestplateCopper;
    public static Item leggingsCopper;
    public static Item shoesCopper;

    //Initializieren
    public static void Init() {
        //Copper
        helmetCopper = new CopperArmor(basic,0, 0).setUnlocalizedName("helmetCopper").setTextureName(References.MODID + ":helmetCopper").setCreativeTab(CreativeTabs.tabCombat);
        chestplateCopper = new CopperArmor(basic,0, 1).setUnlocalizedName("chestplateCopper").setTextureName(References.MODID + ":chestplateCopper").setCreativeTab(CreativeTabs.tabCombat);
        leggingsCopper = new CopperArmor(basic,0, 2).setUnlocalizedName("leggingsCopper").setTextureName(References.MODID + ":leggingsCopper").setCreativeTab(CreativeTabs.tabCombat);
        shoesCopper = new CopperArmor(basic,0, 3).setUnlocalizedName("shoesCopper").setTextureName(References.MODID + ":shoesCopper").setCreativeTab(CreativeTabs.tabCombat);
        //Registrieren
        //Copper
        GameRegistry.registerItem(helmetCopper, helmetCopper.getUnlocalizedName());
        GameRegistry.registerItem(chestplateCopper, chestplateCopper.getUnlocalizedName());
        GameRegistry.registerItem(leggingsCopper, leggingsCopper.getUnlocalizedName());
        GameRegistry.registerItem(shoesCopper, shoesCopper.getUnlocalizedName());
    }
}
package de.randomutilities.mod.init.armorclasses;

import net.minecraft.entity.Entity;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;


public class CopperArmor extends ItemArmor {
    public CopperArmor(ArmorMaterial armorMaterial, int renderIndex, int armorType) {
        super(armorMaterial, renderIndex, armorType);

    }

    @Override
    public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {

        if(this.armorType == 2) {
            return "randomutilities:textures/models/armor/layerCopper2.png";
        }
        return "randomutilities:textures/models/armor/layerCopper1.png";
    }
}

and the Recipes:

package de.randomutilities.mod.init;

import cpw.mods.fml.common.registry.GameRegistry;
import de.randomutilities.mod.init.itemclasses.Armor;
import de.randomutilities.mod.init.itemclasses.BaseBlocks;
import de.randomutilities.mod.init.itemclasses.BaseIngots;
import de.randomutilities.mod.init.itemclasses.Tools;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;

public class Recipes {

    public static void basicinit() {
        //Ingots to Blocks
        GameRegistry.addRecipe(new ItemStack(BaseBlocks.blockCopper), "XXX", "XXX", "XXX", 'X', BaseIngots.copper_ingot);
        GameRegistry.addRecipe(new ItemStack(BaseBlocks.blockTin), "XXX", "XXX", "XXX", 'X', BaseIngots.tin_ingot);
        GameRegistry.addRecipe(new ItemStack(BaseBlocks.blockAluminum), "XXX", "XXX", "XXX", 'X', BaseIngots.aluminum_ingot);

        //Blocks to Ingots
        GameRegistry.addShapelessRecipe(new ItemStack(BaseIngots.copper_ingot, 9), BaseBlocks.blockCopper);
        GameRegistry.addShapelessRecipe(new ItemStack(BaseIngots.tin_ingot, 9), BaseBlocks.blockTin);
        GameRegistry.addShapelessRecipe(new ItemStack(BaseIngots.aluminum_ingot, 9),BaseBlocks.blockAluminum);

        //Tools
        //Copper
        GameRegistry.addRecipe(new ItemStack(Tools.pickaxeCopper), "XXX", " I ", " I ", 'X', BaseIngots.copper_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.axeCopper), "XX ", "XI ", " I ", 'X', BaseIngots.copper_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.shovelCopper), " X ", " I ", " I ", 'X', BaseIngots.copper_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.swordCopper), " X ", " X ", " I ", 'X', BaseIngots.copper_ingot, 'I', Items.stick);
        //Tin
        GameRegistry.addRecipe(new ItemStack(Tools.pickaxeTin), "XXX", " I ", " I ", 'X', BaseIngots.tin_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.axeTin), "XX ", "XI ", " I ", 'X', BaseIngots.tin_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.shovelTin), " X ", " I ", " I ", 'X', BaseIngots.tin_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.swordTin), " X ", " X ", " I ", 'X', BaseIngots.tin_ingot, 'I', Items.stick);
        //Aluminum
        GameRegistry.addRecipe(new ItemStack(Tools.pickaxeAluminum), "XXX", " I ", " I ", 'X', BaseIngots.aluminum_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.axeAluminum), "XX ", "XI ", " I ", 'X', BaseIngots.aluminum_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.shovelAluminum), " X ", " I ", " I ", 'X', BaseIngots.aluminum_ingot, 'I', Items.stick);
        GameRegistry.addRecipe(new ItemStack(Tools.swordAluminum), " X ", " X ", " I ", 'X', BaseIngots.aluminum_ingot, 'I', Items.stick);
        //Armor
        //Copper
        GameRegistry.addRecipe(new ItemStack(Armor.helmetCopper), "XXX", "X X", "   ", 'X', BaseIngots.copper_ingot);
        GameRegistry.addRecipe(new ItemStack(Armor.chestplateCopper), "X X", "XXX", "XXX", 'X', BaseIngots.copper_ingot);
        GameRegistry.addRecipe(new ItemStack(Armor.leggingsCopper), "XXX", "X X", "X X", 'X', BaseIngots.copper_ingot);
        GameRegistry.addRecipe(new ItemStack(Armor.shoesCopper), "   ", "X X", "X X", 'X', BaseIngots.copper_ingot);
        GameRegistry.addRecipe(new ItemStack(Armor.shoesCopper), "X X", "X X", "   ", 'X', BaseIngots.copper_ingot);
    }
}

© Seth

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.