Jump to content

Recommended Posts

Posted

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!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Reach Out To Rapid Digital: What sapp Info: +1 41 4 80 7 14 85 Email INFO: rap iddi gita lrecov ery @ exe cs. com Hello, my name is Jayson, and I’m 35 years old from the United Kingdom. My family and I recently endured an incredibly challenging experience that I wouldn’t wish on anyone. We became victims of a cryptocurrency investment fraud scheme that saw us lose a staggering $807,000 in USDT and Bitcoins. The fraudsters had created a convincing facade, and we were lured into investing, only to discover later that the platform was a complete scam. We were left devastated, not just financially, but emotionally, as we had trusted these people and believed in the legitimacy of the investment. After the initial shock wore off, we desperately searched for ways to recover the lost funds. It seemed like an impossible task, and we felt as though there was no hope. That’s when, by sheer luck, we stumbled across a post about Rapid Digital Recovery, a cryptocurrency and funds recovery organization with a proven track record in cybersecurity and fraud recovery. We decided to reach out to them, and from the first interaction, we were impressed with their professionalism and transparency. They explained the recovery process in detail and reassured us that they had the skills and expertise to track down the perpetrators and recover our funds. This gave us a renewed sense of hope, something we hadn’t felt in months. What truly stood out during our experience with Rapid Digital Recovery was their dedication to the recovery process. The team went above and beyond, using sophisticated tracking tools and cyber forensics to gather critical information. Within a matter of weeks, they had successfully located the funds and traced the scam back to the fraudsters responsible. They worked with the authorities to ensure the criminals were held accountable for their actions. To our relief, the team at Rapid Digital Recovery was able to recover every single penny we had lost. The funds were returned in full, and the sense of closure we felt was invaluable. We couldn’t have imagined such a positive outcome in the early stages of our recovery journey, and we are deeply grateful for the work they did. If you ever find yourself in a similar situation, I highly recommend contacting Rapid Digital Recovery. Their expertise, transparency, and dedication to their clients make them the go-to choice for anyone seeking to recover lost cryptocurrency or funds. They truly gave us back our financial future.  
    • This is my first time modding anything, so maybe just skill issue. I'm using Forge 54.0.12 and Temurin 21.0.5+11-LTS I wanted to create a custom keybind and to check whether it works I'd like to send a chat message. I tried using Minecraft.getInstance().player.sendSystemMessage(Component.literal("test")); but IntelliJ couldnt resolve sendSystemMessage(...). Since I saw people using it in earlier versions, I tried the same thing with 1.20.6(- 50.1.0), where it works fine, now I can't figure out if this is intentional and whether there are other options for sending chat messages. On that note, is there more documentation than https://docs.minecraftforge.net/en/1.21.x/? It seems very incomplete compared to something like the Oracle Java docs
    • Hi, i'm having this error and I wanna fix it. we try: -Reload drivers -Eliminate .minecraft -Eliminate Java -Restart launcher -Verify if minecraft is using gpu -Mods  in .minecraft is empty -Install the latest and recomended version of forge idk what i have to do, help me pls. the lastest log is: https://mclo.gs/WAMao8x  
    • Read the FAQ, Rule #2. (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/)  
    • The link to your log does not work, it says it is forbidden, Error, this is a private paste or is pending moderation.
  • Topics

×
×
  • Create New...

Important Information

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