Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Evgenit

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Evgenit

  1. Thanks, that worked, but now I have another problem:

     

    this is my code:

     

    LanguageRegistry.addName(ironore_item, "Iron ore");

                    LanguageRegistry.addName(goldore_item, "Gold ore");

                    LanguageRegistry.addName(emould_pickaxe_head, "Empty Pickaxe Mould");

                    LanguageRegistry.addName(emould_axe_head, "Empty Axe Mould");

                    LanguageRegistry.addName(emould_hoe_head, "Empty Hoe Mould");

                    LanguageRegistry.addName(emould_shovel_head, "Empty Shovel Mould");

                    LanguageRegistry.addName(emould_sword_blade, "Empty Sword Mould");

                    LanguageRegistry.addName(mould_ipickaxe_head, "Iron Pickaxe Mould");

                    LanguageRegistry.addName(mould_iaxe_head, "Iron Axe Mould");

                    LanguageRegistry.addName(mould_ihoe_head, "Iron Hoe Mould");

                    LanguageRegistry.addName(mould_ishovel_head, "Iron Shovel Mould");

                    LanguageRegistry.addName(mould_isword_blade, "Iron Sword Mould");

                    LanguageRegistry.addName(isword_blade, "Iron Sword Blade");

                    LanguageRegistry.addName(ipickaxe_head, "Iron Pickaxe Head");

                    LanguageRegistry.addName(iaxe_head, "Iron Axe Head");

                    LanguageRegistry.addName(ishovel_head, "Iron Shovel Head");

                    LanguageRegistry.addName(ihoe_head, "Iron Hoe Head");

     

     

    But ingame every my item takes the name of the last one that is registered(Iron Hoe Head). Am I Missing something??

  2. Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

    2013-10-31 20:45:41 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

    2013-10-31 20:45:41 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

    2013-10-31 20:45:41 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# *****\crash-2013-10-31_20.45.40-client.txt

    AL lib: (EE) alc_cleanup: 1 device not closed

     

     

    crash report

     

    ---- Minecraft Crash Report ----

    // Everything's going to plan. No, really, that was supposed to happen.

     

    Time: 13-10-31 20:45

    Description: Initializing game

     

    java.lang.NullPointerException

    at net.minecraft.item.ItemStack.<init>(ItemStack.java:77)

    at evgenit.betterminecraft.BetterMinecraftMod.<init>(BetterMinecraftMod.java:68)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at java.lang.Class.newInstance(Unknown Source)

    at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

    at com.google.common.eventbus.EventBus.post(EventBus.java:267)

    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)

    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

    at com.google.common.eventbus.EventBus.post(EventBus.java:267)

    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)

    at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)

    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

    at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

    at net.minecraft.client.Minecraft.run(Minecraft.java:807)

    at net.minecraft.client.main.Main.main(Main.java:93)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

     

     

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

    ---------------------------------------------------------------------------------------

     

    -- Head --

    Stacktrace:

    at net.minecraft.item.ItemStack.<init>(ItemStack.java:77)

    at evgenit.betterminecraft.BetterMinecraftMod.<init>(BetterMinecraftMod.java:68)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at java.lang.Class.newInstance(Unknown Source)

    at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

    at com.google.common.eventbus.EventBus.post(EventBus.java:267)

    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)

    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

    at com.google.common.eventbus.EventBus.post(EventBus.java:267)

    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)

    at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)

    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

    at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)

     

    -- Initialization --

    Details:

    Stacktrace:

    at net.minecraft.client.Minecraft.run(Minecraft.java:807)

    at net.minecraft.client.main.Main.main(Main.java:93)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

     

    -- System Details --

    Details:

    Minecraft Version: 1.6.4

    Operating System: Windows 7 (amd64) version 6.1

    Java Version: 1.7.0_40, Oracle Corporation

    Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

    Memory: 41031392 bytes (39 MB) / 89755648 bytes (85 MB) up to 259719168 bytes (247 MB)

    JVM Flags: 2 total; -Xincgc -XX:MaxHeapSize=256m

    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

    Suspicious classes: FML and Forge are installed

    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

    FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active

    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

    FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed

    Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed

    bm1914{0.0.1} [betterMinecraft] (bin) Unloaded->Errored

    Launched Version: 1.6

    LWJGL: 2.9.0

    OpenGL: ATI Mobility Radeon HD 5470                          GL version 3.2.9712 Compatibility Profile Context, ATI Technologies Inc.

    Is Modded: Definitely; Client brand changed to 'fml,forge'

    Type: Client (map_client.txt)

    Resource Pack: Default

    Current Language: English (US)

    Profiler Position: N/A (disabled)

    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

     

     

     

    Code that is probably causing it:

     

            ItemStack mouldpStack = new ItemStack(emould_pickaxe_head);

            ItemStack mouldaStack = new ItemStack(emould_axe_head);

            ItemStack mouldhStack = new ItemStack(emould_hoe_head);

            ItemStack mouldsStack = new ItemStack(emould_sword_blade);

            ItemStack mouldlStack = new ItemStack(emould_shovel_head);

     

    Itemstack blaBla = new ItemStack((note that i dont have Item because it doesn't recognize it)le_item);

  3. Title

    I need help, I want to change what iron and gold drops, but i dunno the event that is doing it so I can't hook it. The only way i managed to do it is editing the BlockOre vanilla class, but this may cause mod incompatibility. I also want to remove some vanilla recipes without editing vanilla classes or is it uneccesery?

     

    NOTE: I started modding forge 2 days ago, without knowing the java or any other language.

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.