Jump to content

Z@Nka

Members
  • Posts

    104
  • Joined

  • Last visited

Everything posted by Z@Nka

  1. I was about to say the same, when a warning came up saying someone else has posted something....
  2. How to delete a Item form an inventory and then spawn the same one with the same damage? If possible, with different damage. PS: I know how to save the damage, I just don't know how to delete and spawn the item.
  3. What about trying to fix the ids manually?
  4. Z@Nka

    Enchanting

    Ohh, oops. But I changed it to onItemUse now. I have a if(player.isSneaking) there so that works. But the damage thing is a good idea!
  5. Z@Nka

    Enchanting

    And also is there a way of the enchants not display, or maybe just instead of smite, making the damage against the undead bigger?
  6. Is there a way of switching an enchant on something when a key is pressed? Thanks to diesieben07 I know how to use the KeyEvent, it's about the switching the enchants. Let's say a sword has smite on it, when I press a button it changes to sharpness.
  7. Z@Nka

    KeyPress

    Thanks for the fast help!
  8. Z@Nka

    KeyPress

    Whats the easiest way to do do something if a key if pressed. Thanks in advanced!
  9. Z@Nka

    Item Ids

    Yeah it was about th old world. Thanks!
  10. Z@Nka

    Item Ids

    Samething happens.
  11. Z@Nka

    Item Ids

    Same thing happens. ;(
  12. Z@Nka

    Item Ids

    I'm not really sure what you mean...
  13. Z@Nka

    Item Ids

    Thats my ModItems code package bulkyzanka.electro.mod.items; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.item.Item; import bulkyzanka.electro.mod.Electrocuted; import bulkyzanka.electro.mod.items.armor.BoneArmor; import bulkyzanka.electro.mod.items.armor.EnrichedBoneArmor; import bulkyzanka.electro.mod.items.tools.BoneAxe; import bulkyzanka.electro.mod.items.tools.BoneBow; import bulkyzanka.electro.mod.items.tools.BoneHoe; import bulkyzanka.electro.mod.items.tools.BonePickaxe; import bulkyzanka.electro.mod.items.tools.BoneSpade; import bulkyzanka.electro.mod.items.tools.BoneSword; import bulkyzanka.electro.mod.items.tools.EnrichedBoneAxe; import bulkyzanka.electro.mod.items.tools.EnrichedBoneHoe; import bulkyzanka.electro.mod.items.tools.EnrichedBonePickaxe; import bulkyzanka.electro.mod.items.tools.EnrichedBoneSpade; import bulkyzanka.electro.mod.items.tools.EnrichedBoneSword; public class ModItems { public static Item BonePlate = new BonePlate().setUnlocalizedName("BonePlate").setTextureName("electrocuted:BonePlate").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBonePlate = new EnrichedBonePlate().setUnlocalizedName("EnrichedBonePlate").setTextureName("electrocuted:EnrichedBonePlate").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneIngot = new BoneIngot().setUnlocalizedName("BoneIngot").setTextureName("electrocuted:BoneIngot").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneIngot = new EnrichedBoneIngot().setUnlocalizedName("EnrichedBoneIngot").setTextureName("electrocuted:EnrichedBoneIngot").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedIngot = new EnrichedIngot().setUnlocalizedName("EnrichedIngot").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneArrow = new BoneArrow().setUnlocalizedName("BoneArrow").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item CoalMotor = new CoalMotor().setUnlocalizedName("CoalMotor").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab).setMaxStackSize(1); public static Item ElectricMotor = new ElectricMotor().setUnlocalizedName("ElectricMotor").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab).setMaxStackSize(1); public static Item Generator = new Generator().setUnlocalizedName("Generator").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneSword = new BoneSword(Electrocuted.Bone).setUnlocalizedName("BoneSword").setTextureName("electrocuted:BoneSword").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneSpade = new BoneSpade(Electrocuted.Bone).setUnlocalizedName("BoneSpade").setTextureName("electrocuted:BoneSpade").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BonePickaxe = new BonePickaxe(Electrocuted.Bone).setUnlocalizedName("BonePickaxe").setTextureName("electrocuted:BonePickaxe").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneAxe = new BoneAxe(Electrocuted.Bone).setUnlocalizedName("BoneAxe").setTextureName("electrocuted:BoneAxe").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneHoe = new BoneHoe(Electrocuted.Bone).setUnlocalizedName("BoneHoe").setTextureName("electrocuted:BoneHoe").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneBow = new BoneBow().setUnlocalizedName("BoneBow").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneSword = new EnrichedBoneSword(Electrocuted.EnrichedBone).setUnlocalizedName("EnrichedBoneSword").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneSpade = new EnrichedBoneSpade(Electrocuted.EnrichedBone).setUnlocalizedName("EnrichedBoneSpade").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBonePickaxe = new EnrichedBonePickaxe(Electrocuted.EnrichedBone).setUnlocalizedName("EnrichedBonePickaxe").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneAxe = new EnrichedBoneAxe(Electrocuted.EnrichedBone).setUnlocalizedName("EnrichedBoneAxe").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneHoe = new EnrichedBoneHoe(Electrocuted.EnrichedBone).setUnlocalizedName("EnrichedBoneHoe").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneHelmet = new BoneArmor(Electrocuted.BoneArmor, 0).setUnlocalizedName("BoneHelmet").setTextureName("electrocuted:BoneHelmet").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneChestPlate = new BoneArmor(Electrocuted.BoneArmor, 1).setUnlocalizedName("BoneChestPlate").setTextureName("electrocuted:BoneChestPlate").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneLeggings = new BoneArmor(Electrocuted.BoneArmor, 2).setUnlocalizedName("BoneLeggings").setTextureName("electrocuted:BoneLeggings").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item BoneBoots = new BoneArmor(Electrocuted.BoneArmor, 3).setUnlocalizedName("BoneBoots").setTextureName("electrocuted:BoneBoots").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneHelmet = new EnrichedBoneArmor(Electrocuted.EnrichedBoneArmor, 0).setUnlocalizedName("EnrichedBoneHelmet").setTextureName("electrocuted:EnrichedBoneHelmet").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneChestPlate = new EnrichedBoneArmor(Electrocuted.EnrichedBoneArmor, 1).setUnlocalizedName("EnrichedBoneChestPlate").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneLeggings = new EnrichedBoneArmor(Electrocuted.EnrichedBoneArmor, 2).setUnlocalizedName("EnrichedBoneLeggings").setTextureName("electrocuted:EnrichedBoneLeggings").setCreativeTab(Electrocuted.ElectrocutedTab); public static Item EnrichedBoneBoots = new EnrichedBoneArmor(Electrocuted.EnrichedBoneArmor, 3).setUnlocalizedName("EnrichedBoneBoots").setTextureName("electrocuted:WIP").setCreativeTab(Electrocuted.ElectrocutedTab); public static void init() { GameRegistry.registerItem(BonePlate, "BonePlate"); GameRegistry.registerItem(EnrichedBonePlate, "EnrichedBonePlate"); GameRegistry.registerItem(BoneIngot, "BoneIngot"); GameRegistry.registerItem(EnrichedBoneIngot, "EnrichedBoneIngot"); GameRegistry.registerItem(EnrichedIngot, "EnrichedIngot"); GameRegistry.registerItem(BoneArrow, "BoneArrow"); GameRegistry.registerItem(CoalMotor, "CoalMotor"); GameRegistry.registerItem(ElectricMotor, "ElectricMotor"); GameRegistry.registerItem(Generator, "Generator"); GameRegistry.registerItem(BoneSword, "BoneSword"); GameRegistry.registerItem(BoneSpade, "BoneSpade"); GameRegistry.registerItem(BonePickaxe, "BonePickaxe"); GameRegistry.registerItem(BoneAxe, "BoneAxe"); GameRegistry.registerItem(BoneHoe, "BoneHoe"); GameRegistry.registerItem(BoneBow, "BoneBow"); GameRegistry.registerItem(EnrichedBoneSword, "EnrichedBoneSword"); GameRegistry.registerItem(EnrichedBoneSpade, "EnrichedBoneSpade"); GameRegistry.registerItem(EnrichedBonePickaxe, "EnrichedBonePickaxe"); GameRegistry.registerItem(EnrichedBoneAxe, "EnrichedBoneAxe"); GameRegistry.registerItem(EnrichedBoneHoe, "EnrichedBoneHoe"); GameRegistry.registerItem(BoneHelmet, "BoneHelmet"); GameRegistry.registerItem(BoneChestPlate, "BoneChestPlate"); GameRegistry.registerItem(BoneLeggings, "BoneLeggings"); GameRegistry.registerItem(BoneBoots, "BoneBoots"); GameRegistry.registerItem(EnrichedBoneHelmet, "EnrichedBoneHelmet"); GameRegistry.registerItem(EnrichedBoneChestPlate, "EnrichedBoneChestPlate"); GameRegistry.registerItem(EnrichedBoneLeggings, "EnrichedBoneLeggings"); GameRegistry.registerItem(EnrichedBoneBoots, "EnrichedBoneBoots"); } } And in my PreInit I just do ModItems.init(); This is the exact Console: [17:41:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [17:41:21] [main/INFO] [FML]: Forge Mod Loader version 7.2.125.1031 for Minecraft 1.7.2 loading [17:41:21] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_21, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [17:41:21] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:41:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:41:21] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:41:21] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Szymom/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1031/forgeSrc-1.7.2-10.12.0.1031.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [17:41:21] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [17:41:21] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Szymom/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1031/forgeSrc-1.7.2-10.12.0.1031.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [17:41:21] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:41:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:41:21] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:41:22] [main/INFO]: Setting user: Player89 [17:41:23] [Client thread/INFO]: LWJGL Version: 2.9.0 [17:41:23] [Client thread/ERROR]: Couldn't set icon javax.imageio.IIOException: Can't read input file! at javax.imageio.ImageIO.read(Unknown Source) ~[?:1.7.0_21] at net.minecraft.client.Minecraft.readImage(Minecraft.java:683) ~[Minecraft.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:512) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_21] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [17:41:23] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:41:23] [Client thread/INFO] [FML]: MinecraftForge v10.12.0.1031 Initialized [17:41:23] [Client thread/INFO] [FML]: Replaced 128 ore recipies [17:41:23] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:41:23] [Client thread/INFO] [FML]: Searching E:\Electro-Dev\mods for mods [17:41:24] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [17:41:25] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [17:41:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Electrocuted [17:41:25] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [17:41:26] [sound Library Loader/INFO]: Sound engine started [17:41:26] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [17:41:26] [Client thread/ERROR]: Using missing texture, unable to load electrocuted:textures/items/WIP_pulling_2.png java.io.FileNotFoundException: electrocuted:textures/items/WIP_pulling_2.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:128) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:93) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:624) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_21] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [17:41:26] [Client thread/ERROR]: Using missing texture, unable to load electrocuted:textures/items/WIP_pulling_0.png java.io.FileNotFoundException: electrocuted:textures/items/WIP_pulling_0.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:128) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:93) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:624) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_21] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [17:41:26] [Client thread/ERROR]: Using missing texture, unable to load electrocuted:textures/items/WIP_pulling_1.png java.io.FileNotFoundException: electrocuted:textures/items/WIP_pulling_1.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:128) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:93) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:624) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_21] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [17:41:26] [Client thread/ERROR]: Using missing texture, unable to load electrocuted:textures/items/WIP_standby.png java.io.FileNotFoundException: electrocuted:textures/items/WIP_standby.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:128) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:93) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:624) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_21] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [17:41:26] [Client thread/INFO]: Created: 256x256 textures/items-atlas DIRT BLOCK >> tile.dirt [17:41:26] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [17:41:27] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [17:41:32] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:41:37] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:41:57] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:42:17] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:42:46] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:43:16] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:43:17] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:43:25] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:43:55] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:44:00] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:44:11] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [17:44:12] [server thread/INFO]: Starting integrated minecraft server version 1.7.2 [17:44:12] [server thread/INFO]: Generating keypair [17:44:12] [server thread/INFO] [FML]: Found a missing id from the world electro:EnrichedBonePLate [17:44:12] [server thread/ERROR] [FML]: There are unidentified mappings in this world - we are going to attempt to process anyway [17:44:12] [server thread/ERROR] [FML]: This world contains blocks and items that refuse to be remapped. The world will not be loaded POKE [17:44:12] [server thread/ERROR]: Encountered an unexpected exception cpw.mods.fml.common.registry.GameRegistryException: Failed to load the world - there are fatal block and item id issues at cpw.mods.fml.common.FMLContainer.readData(FMLContainer.java:193) ~[FMLContainer.class:?] at cpw.mods.fml.common.FMLCommonHandler.handleWorldDataLoad(FMLCommonHandler.java:386) ~[FMLCommonHandler.class:?] at net.minecraft.world.storage.SaveHandler.loadWorldInfo(SaveHandler.java:149) ~[saveHandler.class:?] at net.minecraft.world.World.<init>(World.java:293) ~[World.class:?] at net.minecraft.world.WorldServer.<init>(WorldServer.java:111) ~[WorldServer.class:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:65) ~[integratedServer.class:?] at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:98) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:490) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:788) [MinecraftServer$2.class:?] [17:44:12] [server thread/ERROR]: This crash report has been saved to: E:\Electro-Dev\.\crash-reports\crash-2014-03-20_17.44.12-server.txt [17:44:12] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded. POKE POKE POKEE true [17:44:14] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [17:44:14] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.menu [17:44:15] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [17:44:15] [server thread/INFO]: Starting integrated minecraft server version 1.7.2 [17:44:15] [server thread/INFO]: Generating keypair [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneLeggings : 4122 4121 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneLeggings : 4118 4105 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneBoots : 4123 4122 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBonePickaxe : 4113 4118 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneHelmet : 4116 4103 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneIngot : 4098 4097 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneIngot : 4099 4116 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneHoe : 4109 4102 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:CoalMotor : 4102 4113 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBonePlate : 4097 4109 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneAxe : 4114 4115 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneChestPlate : 4121 4120 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneSpade : 4112 4117 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneHoe : 4115 4114 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneAxe : 4108 4101 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneSword : 4105 4098 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:Generator : 4104 4111 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BonePickaxe : 4107 4100 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneHelmet : 4120 4119 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneArrow : 4101 4108 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneBow : 4110 4107 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneBoots : 4119 4106 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:EnrichedBoneSword : 4111 4110 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:ElectricMotor : 4103 4112 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneChestPlate : 4117 4104 [17:44:16] [server thread/INFO] [FML]: Found item id mismatch electro:BoneSpade : 4106 4099 [17:44:16] [server thread/INFO] [FML]: Injecting new block and item data into this server instance [17:44:16] [server thread/INFO] [FML]: Injecting new item electro:EnrichedIngot [17:44:16] [server thread/INFO] [FML]: Loading dimension 0 (Testy) (net.minecraft.server.integrated.IntegratedServer@7ae433fa) [17:44:16] [server thread/INFO] [FML]: Loading dimension 1 (Testy) (net.minecraft.server.integrated.IntegratedServer@7ae433fa) [17:44:16] [server thread/INFO] [FML]: Loading dimension -1 (Testy) (net.minecraft.server.integrated.IntegratedServer@7ae433fa) [17:44:16] [server thread/INFO]: Preparing start region for level 0 POKEE false [17:44:17] [Netty Client IO #1/INFO] [FML]: Server protocol version 1 [17:44:17] [Netty IO #3/INFO] [FML]: Client protocol version 1 [17:44:17] [Netty IO #3/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected] [17:44:17] [Netty IO #3/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [17:44:17] [Netty Client IO #1/INFO] [FML]: Attempting connection with missing mods [] at SERVER [17:44:17] [server thread/INFO] [FML]: [server thread] Server side modded connection established [17:44:17] [server thread/INFO]: Player89[local:E:600ad9ad] logged in with entity id 369 at (30.948742060584884, 70.0, 138.24256612003555) [17:44:17] [server thread/INFO]: Player89 joined the game [17:44:17] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [17:44:19] [server thread/INFO]: Player89 has just earned the achievement [Taking Inventory] [17:44:19] [Client thread/INFO]: [CHAT] Player89 has just earned the achievement [Taking Inventory] [17:44:19] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:music.game.creative [17:44:20] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [17:44:45] [server thread/INFO]: Saving and pausing game... [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/Overworld [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/Nether [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/The End [17:44:45] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press [17:44:45] [server thread/INFO]: Stopping server [17:44:45] [server thread/INFO]: Saving players [17:44:45] [server thread/INFO]: Saving worlds [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/Overworld [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/Nether [17:44:45] [server thread/INFO]: Saving chunks for level 'Testy'/The End [17:44:46] [server thread/INFO] [FML]: Unloading dimension 0 [17:44:46] [server thread/INFO] [FML]: Unloading dimension -1 [17:44:46] [server thread/INFO] [FML]: Unloading dimension 1 The Id thing shows up when I launch a world. Should I just ignore it?
  14. Z@Nka

    Item Ids

    Probably a stupid question but its a quick anwser. Since in the new update there is no IDs while creating items, how to give your item an id. I am having this error: [server thread/INFO] [FML]: Found a missing id from the world It still lest me launch and all but i was just wondering how to do it. I was going to add configs so i think there has to be a way to do this. Thanks!
  15. -.- Guys nvm.
  16. I do know Java(Still learning but I know a bit) and I looked at the errors and I found saw it. I just don't know where else to put it. I saw a tutorial about it and thats where he put it. With where Pahimar put it, I tried the same, didn't work. If it did(I'm not that dumb -.-) then I wouldn't put it here.
  17. First of all, I am not blind... @EventHandler @SuppressWarnings("unchecked, unused") public void init(FMLInitializationEvent event) { // Register the GUI Handler NetworkRegistry.instance().registerGuiHandler(instance, new GuiHandler()); // Register the Item Pickup Handler MinecraftForge.EVENT_BUS.register(new ItemEventHandler()); MinecraftForge.EVENT_BUS.register(new ActionRequestHandler()); MinecraftForge.EVENT_BUS.register(new WorldTransmutationHandler()); // Register the hook to initialize the EmcRegistry MinecraftForge.EVENT_BUS.register(new WorldEventHandler()); // Register the ItemTooltipEvent Handler proxy.registerItemTooltipHandler(); // Register the DrawBlockHighlight Handler proxy.registerDrawBlockHighlightHandler(); // Initialize custom rendering and pre-load textures (Client only) proxy.initRenderingAndTextures(); // Initialize our Crafting Handler CraftingHandler.init(); // Handle fluid registration FluidHelper.registerFluids(); // Initialize mod tile entities proxy.registerTileEntities(); // Register our fuels GameRegistry.registerFuelHandler(new FuelHandler()); // Initialize addons (which work with IMC, and must be used in Init) AddonHandler.init(); } In his main mod class. -.-
  18. So everything is working, apart from one thing. -.- The "GuiHandler GuiHandler = new GuiHandler();" in my main mod class. package bulkyzanka.electro.mod; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.common.util.EnumHelper; import bulkyzanka.electro.mod.blocks.BlockCompressionFurnace; import bulkyzanka.electro.mod.creativetabs.ElectrocutedTab; import bulkyzanka.electro.mod.gui.GuiHandler; import bulkyzanka.electro.mod.items.BoneIngot; import bulkyzanka.electro.mod.items.BonePlate; import bulkyzanka.electro.mod.items.CoalMotor; import bulkyzanka.electro.mod.items.ElectricMotor; import bulkyzanka.electro.mod.items.Generator; import bulkyzanka.electro.mod.items.armor.BoneArmor; import bulkyzanka.electro.mod.items.tools.BoneAxe; import bulkyzanka.electro.mod.items.tools.BoneHoe; import bulkyzanka.electro.mod.items.tools.BonePickaxe; import bulkyzanka.electro.mod.items.tools.BoneSpade; import bulkyzanka.electro.mod.items.tools.BoneSword; import bulkyzanka.electro.mod.lib.Referance; import bulkyzanka.electro.mod.proxy.ProxyCommon; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = Referance.MODID, version = Referance.VERSION) public class Electrocuted { //Instance @Instance(Referance.MODID) public static Electrocuted instance; //Proxy Stuff @SidedProxy(clientSide = "electro.proxy.ProxyClient" , serverSide = "electro.proxy.ProxyCommon") public static ProxyCommon proxy; //GuiIDs public static final int guiIdCompressionFurnace = 1; //CreativeTabs public static CreativeTabs ElectrocutedTab = new ElectrocutedTab(CreativeTabs.getNextID(), "ElectrocutedTab"); //Material //ToolMaterial public static ToolMaterial Bone = EnumHelper.addToolMaterial("Bone", 2, 175, 6.0F, 2.5F, 19); //ArmorMaterial public static ArmorMaterial BoneArmor = EnumHelper.addArmorMaterial("BONEARMOR", 7, new int[]{3, 7, 6, 3}, 20); //Items public static Item BonePlate = new BonePlate().setUnlocalizedName("BonePlate").setTextureName("electrocuted:BonePlate"); public static Item BoneIngot = new BoneIngot().setUnlocalizedName("BoneIngot").setTextureName("electrocuted:BoneIngot"); public static Item CoalMotor = new CoalMotor().setUnlocalizedName("CoalMotor").setTextureName("electrocted:CoalMotor"); public static Item ElectricMotor = new ElectricMotor().setUnlocalizedName("ElectricMotor").setTextureName("electrocted:ElectricMotor"); public static Item Generator = new Generator().setUnlocalizedName("Generator").setTextureName("electrocted:Generator"); //Blocks public static Block CompressionFurnaceIdle = new BlockCompressionFurnace(false).setBlockName("CompressionFurnaceIdle").setBlockTextureName("electrocuted:CompressionFurnace_Idle_front"); public static Block CompressionFurnaceActive = new BlockCompressionFurnace(true).setBlockName("CompressionFurnaceActive").setBlockTextureName("electrocuted:CompressionFurnace_Idle_front"); //Tools public static Item BoneSword = new BoneSword(Bone).setUnlocalizedName("BoneSword").setTextureName("electrocuted:BoneSword"); public static Item BoneSpade = new BoneSpade(Bone).setUnlocalizedName("BoneSpade").setTextureName("electrocuted:BoneSpade"); public static Item BonePickaxe = new BonePickaxe(Bone).setUnlocalizedName("BonePickaxe").setTextureName("electrocuted:BonePickaxe"); public static Item BoneAxe = new BoneAxe(Bone).setUnlocalizedName("BoneAxe").setTextureName("electrocuted:BoneAxe"); public static Item BoneHoe = new BoneHoe(Bone).setUnlocalizedName("BoneHoe").setTextureName("electrocuted:BoneHoe"); //Armor public static Item BoneHelmet = new BoneArmor(BoneArmor, 0).setUnlocalizedName("BoneHelmet").setTextureName("electrocuted:BoneHelmet"); public static Item BoneChestPlate = new BoneArmor(BoneArmor, 1).setUnlocalizedName("BoneChestPlate").setTextureName("electrocuted:BoneChestPlate"); public static Item BoneLeggings = new BoneArmor(BoneArmor, 2).setUnlocalizedName("BoneLeggings").setTextureName("electrocuted:BoneLeggings"); public static Item BoneBoots = new BoneArmor(BoneArmor, 3).setUnlocalizedName("BoneBoots").setTextureName("electrocuted:BoneBoots"); //EventHandler //PreInit @EventHandler public void preinit(FMLPreInitializationEvent event) { //Config Configuration config = new Configuration( event.getSuggestedConfigurationFile()); config.load(); config.save(); } //Init @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRenderInformation(); proxy.registerTileEntities(); } //PostInit @EventHandler public void postinit(FMLPostInitializationEvent event) { } public Electrocuted() { //Registry GameRegistry.registerItem(BonePlate, "BonePlate"); GameRegistry.registerItem(BoneIngot, "BoneIngot"); GameRegistry.registerItem(CoalMotor, "CoalMotor"); GameRegistry.registerItem(ElectricMotor, "ElectricMotor"); GameRegistry.registerItem(Generator, "Generator"); GameRegistry.registerBlock(CompressionFurnaceIdle, "CompressionFurnaceIdle"); GameRegistry.registerBlock(CompressionFurnaceActive, "CompressionFurnaceActive"); GameRegistry.registerItem(BoneSword, "BoneSword"); GameRegistry.registerItem(BoneSpade, "BoneSpade"); GameRegistry.registerItem(BonePickaxe, "BonePickaxe"); GameRegistry.registerItem(BoneAxe, "BoneAxe"); GameRegistry.registerItem(BoneHoe, "BoneHoe"); GameRegistry.registerItem(BoneHelmet, "BoneHelmet"); GameRegistry.registerItem(BoneChestPlate, "BoneChestPlate"); GameRegistry.registerItem(BoneLeggings, "BoneLeggings"); GameRegistry.registerItem(BoneBoots, "BoneBoots"); LanguageRegistry.instance().addStringLocalization("container.CompressionFurnace", "Compression Furnace"); GuiHandler GuiHandler = new GuiHandler(); //Recipe //Items GameRegistry.addRecipe(new ItemStack(BonePlate, 2), new Object [] { "XX ", "XX ", 'X', Items.bone }); GameRegistry.addRecipe(new ItemStack(BoneIngot, 3), new Object [] { "XXX", "XYX", "XXX", 'X', Items.bone, 'Y', Items.iron_ingot }); //Tools GameRegistry.addRecipe(new ItemStack(BoneSword, 1), new Object [] { " X ", " X ", " Y ", 'X', BoneIngot, 'Y', Items.stick }); GameRegistry.addRecipe(new ItemStack(BoneSpade, 1), new Object [] { " X ", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick }); GameRegistry.addRecipe(new ItemStack(BonePickaxe, 1), new Object [] { "XXX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick }); GameRegistry.addRecipe(new ItemStack(BoneAxe, 1), new Object [] { "XX ", "XY ", " Y ", 'X', BoneIngot, 'Y', Items.stick }); GameRegistry.addRecipe(new ItemStack(BoneHoe, 1), new Object [] { " XX", " Y ", " Y ", 'X', BoneIngot, 'Y', Items.stick }); //Armor GameRegistry.addRecipe(new ItemStack(BoneHelmet, 1), new Object [] { "XXX", "X X", 'X', BonePlate }); GameRegistry.addRecipe(new ItemStack(BoneChestPlate, 1), new Object [] { "X X", "XXX", "XXX", 'X', BonePlate }); GameRegistry.addRecipe(new ItemStack(BoneLeggings, 1), new Object [] { "XXX", "X X", "X X", 'X', BonePlate }); GameRegistry.addRecipe(new ItemStack(BoneBoots, 1), new Object [] { "X X", "X X", 'X', BonePlate }); } } ---- Minecraft Crash Report ---- // Shall we play a game? Time: 08.03.14 17:13 Description: Initializing game java.lang.NullPointerException: Initializing game at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217) at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15) at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140) 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.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:209) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:119) at cpw.mods.fml.common.Loader.loadMods(Loader.java:484) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201) at net.minecraft.client.Minecraft.startGame(Minecraft.java:564) at net.minecraft.client.Minecraft.run(Minecraft.java:934) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at cpw.mods.fml.common.network.NetworkRegistry.registerGuiHandler(NetworkRegistry.java:217) at bulkyzanka.electro.mod.gui.GuiHandler.<init>(GuiHandler.java:15) at bulkyzanka.electro.mod.Electrocuted.<init>(Electrocuted.java:140) 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.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:509) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:209) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) 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:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 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:119) at cpw.mods.fml.common.Loader.loadMods(Loader.java:484) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201) at net.minecraft.client.Minecraft.startGame(Minecraft.java:564) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:934) at net.minecraft.client.main.Main.main(Main.java:112) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_21, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 133766472 bytes (127 MB) / 376963072 bytes (359 MB) up to 1905197056 bytes (1816 MB) JVM Flags: 0 total; AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.01-pre FML v7.2.125.1031 Minecraft Forge 10.12.0.1031 5 mods loaded, 5 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{7.2.125.1031} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed Forge{10.12.0.1031} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1031.jar) Unloaded->Constructed examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed electro{1.0A} [Electrocuted] (bin) Unloaded->Errored Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: AMD Radeon HD 6800 Series GL version 4.2.12422 Compatibility Profile Context 13.152.0.0, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null Anisotropic Filtering: Off (1)
  19. Same crash.
  20. Even without the () it didn't work.
  21. It's ok.
  22. He said that.
  23. The method INSTANCE() is undefined for the type NetworkRegistry
  24. @EventHandler @SuppressWarnings("unchecked, unused") public void init(FMLInitializationEvent event) { // Register the GUI Handler NetworkRegistry.instance().registerGuiHandler(instance, new GuiHandler()); } In my case it doesn't work.
  25. I know what a constructor is but i don't understand where else to put it... I even looked at EE3 for referance and pahimar put it in init.
×
×
  • Create New...

Important Information

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