Jump to content

java.lang.NullPointerException: Rendering item


SETHYOUNGBLODO

Recommended Posts

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
    • Hi, i appreciate the answer. I would love to do that, but we have active players with all their belongings in SSN. Also this mod is really handy and they would be mad if we removed it. Are you really certain that SSN is causing this? It would require lots of work to test it and SSN was not really an issue before we removed Fast Suite. Can it be related somehow? I will provide you with log before removing FS. PasteBin: https://pastebin.com/Y5EpLpNe (crash before removing Fast Suite, which I suspected to be a problem from some crash before)
  • Topics

×
×
  • Create New...

Important Information

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