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

    • Try the latest build: https://modrinth.com/mod/axiom/version/4.1.1
    • *** buffer overflow detected ***: terminated /usr/bin/forge-1.12.2d: line 162: 15787 Aborted                 (core dumped) ${SUDO_CMD} screen -S "${SESSION_NAME}" -Q select . > /dev/null Starting server...There are several suitable screens on:     14630.forge-1.12.2    (Detached)     15796.forge-1.12.2    (Detached) Use -S to specify a session How do i fix this issue?
    • Oh I forgot to update the title. I figured out the issue and I'm rather embarrassed to say that it was a file path issue. The game already knew I was accessing the achievements so I wasn't suppose to include advancements in the file path. Minecraft file paths have always confused me a little bit... ResourceLocation advancementId = new ResourceLocation( TheDeadRise.MODID,"adventure/spawntrigger");
    • Can someone help my with this? My forge server won't open and I'm not that good with this stuff. It gave me this error message:   C:\Users\apbeu\Desktop\Forge server>java -Xmx4G -Xms1G -jar server.jar nogui 2024-12-11 18:21:01,054 main WARN Advanced terminal features are not available in this environment [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.34, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 21.0.4 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x402e37bc) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x402e37bc         at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45)         at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)         at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45)         at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)         at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)         at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)         at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)         at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)         at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)         at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)         at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) C:\Users\apbeu\Desktop\Forge server>pause
    • Here is the url for the crash report if anyone can help me, please. https://mclo.gs/KGn5LWy  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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