After i made a block, i got an error saying:{at java.lang.Thread.run(Unknown Source)}any help?Here is the full file:
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 9/25/13 10:52 PM
Description: Failed to start game
java.lang.ArrayIndexOutOfBoundsException: 9002
at net.minecraft.block.Block.<init>(Block.java:338)
at Tyler.Hello.RubyBlock.<init>(RubyBlock.java:18)
at Tyler.Hello.CustomMod.load(CustomMod.java:51)
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:689)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.1
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 865741584 bytes (825 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
CustomMod [Custom Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: AMD Radeon™ HD 6620G GL version 4.1.11156 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Your block ID is 9002, and it should be lower (try 1000 or so)
When I try to open eclipse this pops up: Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.7.0_40\bin\..\jre\bin\client\jvm.dll". (I was watching the 1.5 forge tutorial but was using it for 1.6.4)
Any help is appreciated (I am using Eclipse Standard 4.3.1)
When I try to open eclipse this pops up: Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.7.0_40\bin\..\jre\bin\client\jvm.dll". (I was watching the 1.5 forge tutorial but was using it for 1.6.4)
Any help is appreciated
try the 64 bit eclipse... i think it's the 64 bit,.., it's been a while
After i made a block, i got an error saying:{at java.lang.Thread.run(Unknown Source)}any help?Here is the full file:
---- Minecraft Crash Report ----
// Ooh. Shiny.
Time: 9/25/13 10:52 PM
Description: Failed to start game
java.lang.ArrayIndexOutOfBoundsException: 9002
at net.minecraft.block.Block.<init>(Block.java:338)
at Tyler.Hello.RubyBlock.<init>(RubyBlock.java:18)
at Tyler.Hello.CustomMod.load(CustomMod.java:51)
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:689)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.5.1
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 865741584 bytes (825 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
CustomMod [Custom Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: AMD Radeon™ HD 6620G GL version 4.1.11156 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
your block id must ≤ 4096
incase you didn't understand that, your block id must be less then or equal to 4096
Will you please add the rest of the stuff on your to do list? I love the tutorials but there's so much more i want my mod to do and i'm sure your tutorials will help a lot!
Also, i figured out the Ore generation at different levels.
Thanks for this it's been a lot of help and keep up the good work.
If the forge installer you are using is 1.6 versions you DO NOT NEED to install MCP because the forge installer will have the MCP folder within it after you install it. If you need the path folder of where MCP is it is simply "/yourForgeFolder/mcp/".
From what I understand (I'm obviously a beginner with modding) the setUnlocalizedName should tell it to grab the metal_block png but it does not. Thanks.
From what I understand (I'm obviously a beginner with modding) the setUnlocalizedName should tell it to grab the metal_block png but it does not. Thanks.
you have to put in -
public void registerIcons(IconRegister reg)
{
this.blockIcon = reg.registerIcon("MODID:PictureName");
}
public void registerIcons(IconRegister reg)
{
this.blockIcon = reg.registerIcon("MODID:PictureName");
}
Sorry, I DID have this in there but kinda overlooked putting it on here. My fault. Here is the code:
public void registerIcons(IconRegister reg)
{
this.blockIcon = reg.registerIcon("Dauntless_Blocks:metal_block");
}
I'm wondering maybe I'm not putting the textures in the right folder / hierarchy? I'm not sure where to look to see or where it SHOULD be pulling from... thanks for the help!
Sorry, I DID have this in there but kinda overlooked putting it on here. My fault. Here is the code:
public void registerIcons(IconRegister reg)
{
this.blockIcon = reg.registerIcon("Dauntless_Blocks:metal_block");
}
I'm wondering maybe I'm not putting the textures in the right folder / hierarchy? I'm not sure where to look to see or where it SHOULD be pulling from... thanks for the help!
aha! I read through your guide carefully and found the problem. As I suspected it was not a code issue, just a file path issue. My mod name inside "assets" folder was capitalized. Thank you for the help, I will definitely use your tutorials going forward.
Hi, I've been following your tutorials here and I was wondering if you may have some advice about a particular error I've been getting.
I've been able to get around some of this on my own, But I don't quite understand whats wrong...
(forgive me for not using a spoiler. I'm fairly new to the website.)
C:\Users\Takashi\AppData\Roaming\.minecraft\bin\minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar
InactiveExtMods: minecraft.zip
MainClass: net.minecraft.client.Minecraft
Restoring disabled mods: mods
Disable inactive mods: mods
Can not disable: minecraft.zip
Restoring disabled mods: coremods
Disable inactive mods: coremods
229 recipes
27 achievements
2013-11-04 21:29:22 [CLIENT] [INFO] Setting user: violet5100
(Session ID is -2032312304)
Client asked for parameter: server
*** Main class main() finished ***
2013-11-04 21:29:22 [CLIENT] [INFO] LWJGL Version: 2.4.2
ModLoader 1.5.2 Initializing...
Register ModLoader mods
java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x522303c8)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.util.zip.ZipInputStream.closeEntry(Unknown Source)
at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
at ModLoader.readFromClassPath(ModLoader.java:1093)
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 magic.launcher.Launcher.a(Unknown Source)
at magic.launcher.k.a(Unknown Source)
at magic.launcher.s.println(Unknown Source)
at ModLoader.init(ModLoader.java:731)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgy.<init>(RenderManager.java:97)
at bgy.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:261)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Unknown Source)
Someone is closing me!
" java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x522303c8) " That is the part thats been confusing me. I'm assuming that it has something to do with ModLoader? If anybody could offer a bit of help, That would be amazing.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYour block ID is 9002, and it should be lower (try 1000 or so)
~Caliben
Any help is appreciated
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumtry the 64 bit eclipse... i think it's the 64 bit,.., it's been a while
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumok, u try the 32 bit one?
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
your block id must ≤ 4096
incase you didn't understand that, your block id must be less then or equal to 4096
well when you get it up can you mesage me ?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumya, once forge is working again, i'll add the armor tut on my post.
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
-
View User Profile
-
View Posts
-
Send Message
Retired StaffAlso, i figured out the Ore generation at different levels.
Thanks for this it's been a lot of help and keep up the good work.
If the forge installer you are using is 1.6 versions you DO NOT NEED to install MCP because the forge installer will have the MCP folder within it after you install it. If you need the path folder of where MCP is it is simply "/yourForgeFolder/mcp/".
public Blockmetal_block() { super(3700,Material.iron); this.setCreativeTab(CreativeTabs.tabBlock); this.setStepSound(Block.soundMetalFootstep); this.setUnlocalizedName("metal_block"); this.setResistance(5.0F); this.setHardness(2.0F); this.setLightValue(0.0F); }From what I understand (I'm obviously a beginner with modding) the setUnlocalizedName should tell it to grab the metal_block png but it does not. Thanks.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumyou have to put in -
public void registerIcons(IconRegister reg) { this.blockIcon = reg.registerIcon("MODID:PictureName"); }Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
Sorry, I DID have this in there but kinda overlooked putting it on here. My fault. Here is the code:
public void registerIcons(IconRegister reg) { this.blockIcon = reg.registerIcon("Dauntless_Blocks:metal_block"); }I'm wondering maybe I'm not putting the textures in the right folder / hierarchy? I'm not sure where to look to see or where it SHOULD be pulling from... thanks for the help!
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumif so, i also have forge tuts with texturing things... here it is if u want
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
aha! I read through your guide carefully and found the problem. As I suspected it was not a code issue, just a file path issue. My mod name inside "assets" folder was capitalized. Thank you for the help, I will definitely use your tutorials going forward.
I've been able to get around some of this on my own, But I don't quite understand whats wrong...
(forgive me for not using a spoiler. I'm fairly new to the website.)
C:\Users\Takashi\AppData\Roaming\.minecraft\bin\minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar
InactiveExtMods: minecraft.zip
MainClass: net.minecraft.client.Minecraft
Restoring disabled mods: mods
Disable inactive mods: mods
Can not disable: minecraft.zip
Restoring disabled mods: coremods
Disable inactive mods: coremods
229 recipes
27 achievements
2013-11-04 21:29:22 [CLIENT] [INFO] Setting user: violet5100
(Session ID is -2032312304)
Client asked for parameter: server
*** Main class main() finished ***
2013-11-04 21:29:22 [CLIENT] [INFO] LWJGL Version: 2.4.2
ModLoader 1.5.2 Initializing...
Register ModLoader mods
java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x522303c8)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.util.zip.ZipInputStream.closeEntry(Unknown Source)
at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
at ModLoader.readFromClassPath(ModLoader.java:1093)
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 magic.launcher.Launcher.a(Unknown Source)
at magic.launcher.k.a(Unknown Source)
at magic.launcher.s.println(Unknown Source)
at ModLoader.init(ModLoader.java:731)
at ModLoader.addAllRenderers(ModLoader.java:205)
at bgy.<init>(RenderManager.java:97)
at bgy.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(SourceFile:261)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Unknown Source)
Someone is closing me!
" java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x522303c8) " That is the part thats been confusing me. I'm assuming that it has something to do with ModLoader? If anybody could offer a bit of help, That would be amazing.