Posted May 2, 201312 yr Hello, so I recently began trying to make a new mod for 1.5 with no success. I made a mod for 1.4.7 which worked fine but after following wuppy's tutorials for 1.5 mods I always get errors and the textures won't load, so here's my code and my errors. Also, how would I get my textures to load? Error Log 2013-05-02 07:29:25 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.1.29.662 for Minecraft 1.5.1 loading 2013-05-02 07:29:25 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_09, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 2013-05-02 07:29:25 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-05-02 07:29:31 [iNFO] [sTDOUT] 229 recipes 2013-05-02 07:29:31 [iNFO] [sTDOUT] 27 achievements 2013-05-02 07:29:32 [iNFO] [Minecraft-Client] Setting user: Player293 2013-05-02 07:29:32 [iNFO] [sTDOUT] (Session ID is -) 2013-05-02 07:29:32 [iNFO] [sTDERR] Client asked for parameter: server 2013-05-02 07:29:32 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2 2013-05-02 07:29:33 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-05-02 07:29:33 [iNFO] [sTDOUT] MinecraftForge v7.7.1.662 Initialized 2013-05-02 07:29:33 [iNFO] [ForgeModLoader] MinecraftForge v7.7.1.662 Initialized 2013-05-02 07:29:33 [iNFO] [sTDOUT] Replaced 85 ore recipies 2013-05-02 07:29:33 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-05-02 07:29:33 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Adam\Documents\MineCraft Modding\MCP\jars\config\logging.properties 2013-05-02 07:29:33 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-05-02 07:29:33 [iNFO] [ForgeModLoader] Searching C:\Users\Adam\Documents\MineCraft Modding\MCP\jars\mods for mods 2013-05-02 07:29:42 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2013-05-02 07:29:42 [iNFO] [mcp] Activating mod mcp 2013-05-02 07:29:42 [iNFO] [FML] Activating mod FML 2013-05-02 07:29:42 [iNFO] [Forge] Activating mod Forge 2013-05-02 07:29:42 [iNFO] [Gurman8r_LooseEnds] Activating mod Gurman8r_LooseEnds 2013-05-02 07:29:43 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2013-05-02 07:29:43 [iNFO] [sTDOUT] 2013-05-02 07:29:43 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-05-02 07:29:43 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-05-02 07:29:43 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-05-02 07:29:43 [iNFO] [sTDOUT] OpenAL initialized. 2013-05-02 07:29:43 [iNFO] [sTDOUT] 2013-05-02 07:29:44 [iNFO] [sTDERR] java.lang.NoSuchFieldException: GL_ARB_copy_image 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.Class.getField(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.client.TextureFXManager.getHelper(TextureFXManager.java:122) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.renderer.texture.TextureStitched.init(TextureStitched.java:74) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.renderer.texture.TextureMap.refreshTextures(TextureMap.java:154) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.renderer.RenderEngine.refreshTextureMaps(RenderEngine.java:520) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:440) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729) 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2013-05-02 07:29:44 [iNFO] [ForgeModLoader] Forge Mod Loader has detected an older LWJGL version, new advanced texture animation features are disabled 2013-05-02 07:29:44 [iNFO] [ForgeModLoader] Not using advanced OpenGL 4.3 advanced capability for animations : OpenGL 4.3 is not available 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/lava_flow.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/water_flow.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_0.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/fire_1.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/lava.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/portal.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/blocks/water.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/items/clock.txt 2013-05-02 07:29:44 [iNFO] [Minecraft-Client] Found animation info for: textures/items/compass.txt 2013-05-02 07:29:44 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue 2013-05-02 07:29:44 [sEVERE] [ForgeModLoader] mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{5.1.29.662} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge{7.7.1.662} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Gurman8r_LooseEnds{0.0.0} [Loose Ends Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored 2013-05-02 07:29:44 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-05-02 07:29:44 [sEVERE] [ForgeModLoader] Caught exception from Gurman8r_LooseEnds java.lang.ArrayIndexOutOfBoundsException: 13500 at net.minecraft.block.Block.<init>(Block.java:338) at mod.LooseEnds.common.BlockGeneralLooseEnds.<init>(BlockGeneralLooseEnds.java:12) at mod.LooseEnds.blocks.BlockOreSulfur.<init>(BlockOreSulfur.java:10) at mod.LooseEnds.common.LooseEnds.load(LooseEnds.java:28) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) 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: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.propogateStateMessage(LoadController.java:165) 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: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:98) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206) at net.minecraft.client.Minecraft.startGame(Minecraft.java:444) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:729) at java.lang.Thread.run(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] java.lang.ArrayIndexOutOfBoundsException: 13500 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.block.Block.<init>(Block.java:338) 2013-05-02 07:29:44 [iNFO] [sTDERR] at mod.LooseEnds.common.BlockGeneralLooseEnds.<init>(BlockGeneralLooseEnds.java:12) 2013-05-02 07:29:44 [iNFO] [sTDERR] at mod.LooseEnds.blocks.BlockOreSulfur.<init>(BlockOreSulfur.java:10) 2013-05-02 07:29:44 [iNFO] [sTDERR] at mod.LooseEnds.common.LooseEnds.load(LooseEnds.java:28) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-05-02 07:29:44 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690) 2013-05-02 07:29:44 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:444) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) 2013-05-02 07:29:44 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729) 2013-05-02 07:29:44 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) Mod File package mod.LooseEnds.common; import mod.LooseEnds.blocks.BlockOreSulfur; import mod.LooseEnds.items.ItemSulfur; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Item; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = LooseEnds.modid, name = "Loose Ends Mod", version = "0.0.0") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class LooseEnds { public static final String modid = "Gurman8r_LooseEnds"; public static Block oreSulfur; public static Item itemSulfur; @Init public void load(FMLInitializationEvent event) { oreSulfur = new BlockOreSulfur(13500, Material.rock).setUnlocalizedName("tutorialBlock"); GameRegistry.registerBlock(oreSulfur, modid + oreSulfur.getUnlocalizedName2()); LanguageRegistry.addName(oreSulfur, "Sulfur Ore"); itemSulfur = new ItemSulfur(13000).setUnlocalizedName("tutorialItem"); LanguageRegistry.addName(itemSulfur, "Sulfur"); } } Block File package mod.LooseEnds.blocks; import mod.LooseEnds.common.BlockGeneralLooseEnds; import net.minecraft.block.material.Material; public class BlockOreSulfur extends BlockGeneralLooseEnds { public BlockOreSulfur(int id, Material par2Material) { super(id, par2Material); // TODO Auto-generated constructor stub } } Item File package mod.LooseEnds.items; import mod.LooseEnds.common.ItemGeneralLooseEnds; public class ItemSulfur extends ItemGeneralLooseEnds { public ItemSulfur(int id) { super(id); } } Item General package mod.LooseEnds.common; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class ItemGeneralLooseEnds extends Item { public ItemGeneralLooseEnds(int id) { super(id); this.setCreativeTab(CreativeTabs.tabMaterials); } public void registerIcons(IconRegister par1IconRegister) { this.itemIcon = par1IconRegister.registerIcon(LooseEnds.modid + ":" + (this.getUnlocalizedName().substring(5))); } } Block General package mod.LooseEnds.common; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; public class BlockGeneralLooseEnds extends Block { public BlockGeneralLooseEnds(int id, Material par2Material) { super(id, par2Material); this.setCreativeTab(CreativeTabs.tabBlock); } public void registerIcons(IconRegister par1IconRegister) { this.blockIcon = par1IconRegister.registerIcon(LooseEnds.modid + ":" + (this.getUnlocalizedName().substring(5))); } } What's weird is I have no idea what's going on, usually I'm able to figure this ish out. Thanks in advance!
May 2, 201312 yr Author Weird, I remember it having to be under 30,000 something. I'll try this out and see if it works.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.