you pointed me in the right direction again lol it wasn't in assets lol stupid mistakes! I do have another question, I have made models like counters they are about two blocks wide. If I wanted to make it so you cant walk through half of them would that be the block bounds?
you pointed me in the right direction again lol it wasn't in assets lol stupid mistakes! I do have another question, I have made models like counters they are about two blocks wide. If I wanted to make it so you cant walk through half of them would that be the block bounds?
ok I'll look into it, I tryed to add a bunch of models and I'm getting an error...could you teach me or do a tutorial on how to read the error reports?
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 9/28/13 11:42 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 780447240 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
ok I'll look into it, I tryed to add a bunch of models and I'm getting an error...could you teach me or do a tutorial on how to read the error reports?
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 9/28/13 11:42 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
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: 780447240 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
will do. I need to see your tileentityhandler class, your tileentitybarrel class, and the class your tileentityhandler gets its ids from
i thought it was like 42000... or something like that. but i changed all the ids below4k anyways and still got an error
---- Minecraft Crash Report ----
// Why is it breaking
Time: 9/29/13 8:26 AM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 780476920 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
i thought it was like 42000... or something like that. but i changed all the ids below4k anyways and still got an error
---- Minecraft Crash Report ----
// Why is it breaking
Time: 9/29/13 8:26 AM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
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: 780476920 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
only block ids have to be 4096 and below, item ids range to something like 36000, probably should have covered this in the tutorials.
My friend i need to understand this forge thing i'm using magic launcher so how can i use forge and how can i install it i'v minecraft 1.6.4 and if i install forge does this effect magic launcher??
cause i live the launcher cause u use mods without replacing anything
My friend i need to understand this forge thing i'm using magic launcher so how can i use forge and how can i install it i'v minecraft 1.6.4 and if i install forge does this effect magic launcher??
cause i live the launcher cause u use mods without replacing anything
Sorry can't help you there, I don't use magic launcher. I do everything manually, but Im sure it shouldn't affect it much.
ok can you help me in installation process of forge/
Simply download and run the installer. Start up mine craft, and make sure your using the forge profile. Then run minecraft, a mods folder will have been created all forge mods should go in there.
Minecraft Forge modding tutorials
To Understand the tutorials just watch the videos
Forge tutorial ep 1 setting up the run environment
links:
dark juno
to install juno just download the jar and place it in the dropins folder of eclipse
eclipse downloads
java jdk
minecraft forge
source code
Forge tutorial ep 2 setting up the base mod files
source code
Forge tutorial ep 3 creating a basic block
source code
forge tutorial ep 4 animating a block texture
source code
Forge tutorial ep 5 custom creative tab
source code
Forge tutorial ep 6 ore generation
source code
Forge tutorial ep 7 custom item
source code
Forge tutorial ep 8 custom tools
source code
Forge tutorial ep 9 custom armor
source code
Forge tutorial ep 10 crafting/smelting recipes
source code
Forge tutorial ep 11 custom liquids pt. 1 the fluid
source code
Forge tutorial ep 12 custom liquids pt. 2 the bucket
source code
Forge tutorial ep 13 custom crops
source code
Forge tutorial ep 14 releasing the mod
source code
Forge tutorial ep 15 block metadata
source code
Forge tutorial ep 16 modeling in techne
source code
Forge tutorial ep 17 creating a custom mob
source code
Forge tutorial ep 18 creating a custom modeled block
source code
Forge tutorial ep 19 turning our custom modeled block into a custom furnace
source code
Forge tutorial ep 20 creating a custom chest
source code
Forge tutorial ep 21 updating forge to 1.6.4
minecraft forge
source code
Java and eclipse installation tutorial [detailed]
java installation is for MAC_OSX, might work on linux, won't work on windows
eclipse downloads
java jdk
that could be it but Im not sure
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 9/28/13 11:42 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 780447240 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
will do. I need to see your tileentityhandler class, your tileentitybarrel class, and the class your tileentityhandler gets its ids from
package mods.cosmetica.common.handlers; import mods.cosmetica.common.entity.TileEntityBarrelEntity; import mods.cosmetica.common.entity.TileEntityChairEntity; import mods.cosmetica.common.entity.TileEntityCounterEntity; import mods.cosmetica.common.entity.TileEntityEndTable1Entity; import mods.cosmetica.common.entity.TileEntityGrave1Entity; import mods.cosmetica.common.entity.TileEntityGrave2Entity; import mods.cosmetica.common.entity.TileEntityGrave3Entity; import mods.cosmetica.common.entity.TileEntityShelfSM1Entity; import mods.cosmetica.common.entity.TileEntityTable1Entity; import mods.cosmetica.common.entity.TileEntityTable2Entity; import mods.cosmetica.common.entity.TileEntityTentEntity; import mods.cosmetica.common.entity.TileEntityWeaponRack1Entity; import mods.cosmetica.common.tileentitys.TileEntityBarrel; import mods.cosmetica.common.tileentitys.TileEntityChair; import mods.cosmetica.common.tileentitys.TileEntityCounter; import mods.cosmetica.common.tileentitys.TileEntityEndTable1; import mods.cosmetica.common.tileentitys.TileEntityGrave1; import mods.cosmetica.common.tileentitys.TileEntityGrave2; import mods.cosmetica.common.tileentitys.TileEntityGrave3; import mods.cosmetica.common.tileentitys.TileEntityShelfSM1; import mods.cosmetica.common.tileentitys.TileEntityTable1; import mods.cosmetica.common.tileentitys.TileEntityTable2; import mods.cosmetica.common.tileentitys.TileEntityTent; import mods.cosmetica.common.tileentitys.TileEntityWeaponRack1; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraftforge.common.Configuration; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; public class TileEntityHandler { public static Block tileentitycounter; public static Block tileentitybarrel; public static Block tileentitychair; public static Block tileentityendtable1; public static Block tileentitygrave1; public static Block tileentitygrave2; public static Block tileentitygrave3; public static Block tileentityshelfsm1; public static Block tileentitytable1; public static Block tileentitytable2; public static Block tileentitytent; public static Block tileentityweaponrack1; public static void ConfigureTiles(Configuration config){ tileentitycounter = new TileEntityCounter(CosmeticaIDHandler.tileentitycounter, Material.rock).setUnlocalizedName("counterone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitybarrel = new TileEntityBarrel(CosmeticaIDHandler.tileentitybarrel, Material.wood).setUnlocalizedName("barrelone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitychair = new TileEntityChair(CosmeticaIDHandler.tileentitychair, Material.wood).setUnlocalizedName("chairone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentityendtable1 = new TileEntityEndTable1(CosmeticaIDHandler.tileentityendtable1, Material.wood).setUnlocalizedName("endtableone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitygrave1 = new TileEntityGrave1(CosmeticaIDHandler.tileentitygrave1, Material.rock).setUnlocalizedName("graveone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitygrave2 = new TileEntityGrave2(CosmeticaIDHandler.tileentitygrave2, Material.rock).setUnlocalizedName("gravetwo").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitygrave3 = new TileEntityGrave3(CosmeticaIDHandler.tileentitygrave3, Material.rock).setUnlocalizedName("gravethree").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentityshelfsm1 = new TileEntityShelfSM1(CosmeticaIDHandler.tileentityshelfsm1, Material.wood).setUnlocalizedName("shelfsmone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitytable1 = new TileEntityTable1(CosmeticaIDHandler.tileentitytable1, Material.wood).setUnlocalizedName("tableone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitytable2 = new TileEntityTable2(CosmeticaIDHandler.tileentitytable2, Material.wood).setUnlocalizedName("tabletwo").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentitytent = new TileEntityTent(CosmeticaIDHandler.tileentitytent, Material.cloth).setUnlocalizedName("tentone").setCreativeTab(CreativeTabHandler.cosmeticatab); tileentityweaponrack1 = new TileEntityWeaponRack1(CosmeticaIDHandler.tileentityweaponrack1, Material.iron).setUnlocalizedName("weaponrackone").setCreativeTab(CreativeTabHandler.cosmeticatab); } public static void registerTileEntitys(GameRegistry registry){ registry.registerBlock(tileentitycounter, "tileentitycounter"); registry.registerBlock(tileentitybarrel, "tileentitybarrel"); registry.registerBlock(tileentitychair, "tileentitychair"); registry.registerBlock(tileentityendtable1, "tileentityendtable1"); registry.registerBlock(tileentitygrave1, "tileentitygrave1"); registry.registerBlock(tileentitygrave2, "tileentitygrave2"); registry.registerBlock(tileentitygrave3, "tileentitygrave3"); registry.registerBlock(tileentityshelfsm1, "tileentityshelfsm1"); registry.registerBlock(tileentitytable1, "tileentitytable1"); registry.registerBlock(tileentitytable2, "tileentitytable2"); registry.registerBlock(tileentitytent, "tileentitytent"); registry.registerBlock(tileentityweaponrack1, "tileentityweaponrack1"); } public static void addNames(LanguageRegistry registry){ registry.addName(tileentitycounter, "Counter"); registry.addName(tileentitybarrel, "Barrel"); registry.addName(tileentitychair, "Chair"); registry.addName(tileentityendtable1, "End Table"); registry.addName(tileentitygrave1, "Grave 1"); registry.addName(tileentitygrave2, "Grave 2"); registry.addName(tileentitygrave3, "Grave 3"); registry.addName(tileentityshelfsm1, "SM Shelf"); registry.addName(tileentitytable1, "SM Table"); registry.addName(tileentitytable2, "LG Table"); registry.addName(tileentitytent, "Tent"); registry.addName(tileentityweaponrack1, "Weapon Rack"); } public static void tileentityRegistry(GameRegistry registry){ registry.registerTileEntity(TileEntityCounterEntity.class, "tileentitycounter"); registry.registerTileEntity(TileEntityBarrelEntity.class, "tileentitybarrel"); registry.registerTileEntity(TileEntityChairEntity.class, "tileentitychair"); registry.registerTileEntity(TileEntityEndTable1Entity.class, "tileentityendtable1"); registry.registerTileEntity(TileEntityGrave1Entity.class, "tileentitygrave1"); registry.registerTileEntity(TileEntityGrave2Entity.class, "tileentitygrave2"); registry.registerTileEntity(TileEntityGrave3Entity.class, "tileentitygrave3"); registry.registerTileEntity(TileEntityShelfSM1Entity.class, "tileentityshelfsm1"); registry.registerTileEntity(TileEntityTable1Entity.class, "tileentitytable1"); registry.registerTileEntity(TileEntityTable2Entity.class, "tileentitytable2"); registry.registerTileEntity(TileEntityTentEntity.class, "tileentitytent"); registry.registerTileEntity(TileEntityWeaponRack1Entity.class, "tileentityweaponrack1"); } }tileentitybarrel class
package mods.cosmetica.common.tileentitys; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import mods.cosmetica.common.CosmeticaReference; import mods.cosmetica.common.entity.TileEntityBarrelEntity; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.MathHelper; import net.minecraft.world.World; public class TileEntityBarrel extends BlockContainer{ public TileEntityBarrel(int id, Material material) { super(id, material); } @Override public TileEntity createNewTileEntity(World world) { return new TileEntityBarrelEntity(); } @Override public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack itemstack){ int dir = MathHelper.floor_double((double)((player.rotationYaw * 4F) / 360F) + 0.5D) & 3; world.setBlockMetadataWithNotify(x, y, z, dir, 0); } @Override public int getRenderType(){ return -1; } @Override public boolean isOpaqueCube(){ return false; } public boolean renderAsNormalBlock(){ return false; } @SideOnly(Side.CLIENT) @Override public void registerIcons(IconRegister register){ this.blockIcon = register.registerIcon(CosmeticaReference.modid + ":" + (this.getUnlocalizedName().substring(5))); } }And the IDhandlerclass
package mods.cosmetica.common.handlers; import net.minecraft.block.Block; import net.minecraftforge.common.Configuration; public class CosmeticaIDHandler { public static String blockids = "Block IDs"; public static String tileentityids = "TileEntity IDs"; //block ids public static int cosmeticablockID; public static int crateID; public static int roughwoodID; //tile entity ids public static int tileentitycounter; public static int tileentitybarrel; public static int tileentitychair; public static int tileentityendtable1; public static int tileentitygrave1; public static int tileentitygrave2; public static int tileentitygrave3; public static int tileentityshelfsm1; public static int tileentitytable1; public static int tileentitytable2; public static int tileentitytent; public static int tileentityweaponrack1; public static void createConfigfile(Configuration config){ //block ids cosmeticablockID = config.get(blockids, "Cosmetica Block", 4100).getInt(); crateID = config.get(blockids, "Crate", 4101).getInt(); roughwoodID = config.get(blockids, "Rough Wood", 4102).getInt(); //tile entity ids tileentitycounter = config.get(tileentityids, "Tile Entity Counter", 4200).getInt(); tileentitybarrel = config.get(tileentityids, "Tile Entity Barrel", 4201).getInt(); tileentitychair = config.get(tileentityids, "Tile Entity Chair", 4202).getInt(); tileentityendtable1 = config.get(tileentityids, "Tile Entity EndTable1", 4203).getInt(); tileentitygrave1 = config.get(tileentityids, "Tile Entity Grave1", 4204).getInt(); tileentitygrave2 = config.get(tileentityids, "Tile Entity Grave2", 4205).getInt(); tileentitygrave3 = config.get(tileentityids, "Tile Entity Grave3", 4206).getInt(); tileentityshelfsm1 = config.get(tileentityids, "Tile Entity ShelfSM1", 4207).getInt(); tileentitytable1 = config.get(tileentityids, "Tile Entity Table1", 4208).getInt(); tileentitytable2 = config.get(tileentityids, "Tile Entity Table2", 4209).getInt(); tileentitytent = config.get(tileentityids, "Tile Entity Tent", 4210).getInt(); tileentityweaponrack1 = config.get(tileentityids, "Tile Entity WeaponRack1", 4211).getInt(); } }the maximum block id allowed is 4096 according to forge
---- Minecraft Crash Report ----
// Why is it breaking
Time: 9/29/13 8:26 AM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 4201
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.block.Block.<init>(Block.java:346)
at net.minecraft.block.BlockContainer.<init>(BlockContainer.java:11)
at mods.cosmetica.common.tileentitys.TileEntityBarrel.<init>(TileEntityBarrel.java:19)
at mods.cosmetica.common.handlers.TileEntityHandler.ConfigureTiles(TileEntityHandler.java:53)
at mods.cosmetica.common.Cosmetica.preInit(Cosmetica.java:52)
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:540)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)
at net.minecraft.client.main.Main.main(Main.java:93)
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:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 780476920 bytes (744 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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 v8.04 FML v6.2.57.845 Minecraft Forge 9.10.0.845 4 mods loaded, 4 mods active
mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.2.57.845} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.10.0.845} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
CosmeticaModInfo.ID{CosmeticaModInfo.MOD_V } [CosmeticaModInfo.MOD_N] (bin) Unloaded->Constructed->Errored
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce GT 240/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
only block ids have to be 4096 and below, item ids range to something like 36000, probably should have covered this in the tutorials.
any idea on the error? thanks for all your help, and sorry im so bothersome lol
make sure all your block ids are 4096 or below, then delete the config file in "forge/mcp/jars/config/yourmodsmodid.cfg"
then try again
your awesome! it worked! thanks again!
no prob
Sorry can't help you there, I don't use magic launcher. I do everything manually, but Im sure it shouldn't affect it much.
Simply download and run the installer. Start up mine craft, and make sure your using the forge profile. Then run minecraft, a mods folder will have been created all forge mods should go in there.