Item ID Conflicts which led to this.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

ijsung

New Member
Jul 29, 2019
7
0
0
Hello there! So I was trying to get Reika's latest version of mods to work with my modmash, there was hope for a moment, considering it started showing block ID conflicts(which are easy to fix).

And now I got this :

Code:
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 14/05/24 12:06
Description: Registering texture

java.lang.ArrayIndexOutOfBoundsException: 10
    at Reika.ElectriCraft.Blocks.BlockElectriOre.func_71858_a(BlockElectriOre.java:83)
    at codechicken.microblock.BlockMicroMaterial$$anonfun$loadIcons$2.apply$mcVI$sp(BlockMicroMaterial.scala:43)
    at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
    at codechicken.microblock.BlockMicroMaterial.loadIcons(BlockMicroMaterial.scala:42)
    at codechicken.microblock.handler.MicroblockEventHandler$$anonfun$postTextureStitch$1.apply(MicroblockEventHandler.scala:31)
    at codechicken.microblock.handler.MicroblockEventHandler$$anonfun$postTextureStitch$1.apply(MicroblockEventHandler.scala:31)
    at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
    at codechicken.microblock.handler.MicroblockEventHandler$.postTextureStitch(MicroblockEventHandler.scala:31)
    at net.minecraftforge.event.ASMEventHandler_391_MicroblockEventHandler$_postTextureStitch_Post.invoke(.dynamic)
    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
    at net.minecraftforge.event.EventBus.post(EventBus.java:108)
    at net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPost(ForgeHooksClient.java:252)
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:149)
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
    at net.minecraft.client.main.Main.main(SourceFile:101)
    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:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
    at Reika.ElectriCraft.Blocks.BlockElectriOre.func_71858_a(BlockElectriOre.java:83)
    at codechicken.microblock.BlockMicroMaterial$$anonfun$loadIcons$2.apply$mcVI$sp(BlockMicroMaterial.scala:43)
    at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
    at codechicken.microblock.BlockMicroMaterial.loadIcons(BlockMicroMaterial.scala:42)
    at codechicken.microblock.handler.MicroblockEventHandler$$anonfun$postTextureStitch$1.apply(MicroblockEventHandler.scala:31)
    at codechicken.microblock.handler.MicroblockEventHandler$$anonfun$postTextureStitch$1.apply(MicroblockEventHandler.scala:31)
    at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
    at codechicken.microblock.handler.MicroblockEventHandler$.postTextureStitch(MicroblockEventHandler.scala:31)
    at net.minecraftforge.event.ASMEventHandler_391_MicroblockEventHandler$_postTextureStitch_Post.invoke(.dynamic)
    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
    at net.minecraftforge.event.EventBus.post(EventBus.java:108)
    at net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPost(ForgeHooksClient.java:252)
    at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:149)
    at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:57)

-- Resource location being registered --
Details:
    Resource location: minecraft:textures/atlas/blocks.png
    Texture object class: net.minecraft.client.renderer.texture.TextureMap
Stacktrace:
    at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:69)
    at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:133)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:99)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:87)
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:543)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:265)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:509)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
    at net.minecraft.client.main.Main.main(SourceFile:101)
    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:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
 

YX33A

New Member
Jul 29, 2019
3,764
1
0
Gonna go with the obvious issue here...
ArrayIndexOutOfBoundsException
Translation: you set a id to a number that can't be used by the game. For example, a block ID above 4096(IIRC) or a potion id above 255.
 

ijsung

New Member
Jul 29, 2019
7
0
0
Fixed! Apparently , I had to remove the ID from microblocks.cfg

Will just leave it here for reference.[DOUBLEPOST=1400907294][/DOUBLEPOST]
Gonna go with the obvious issue here...
ArrayIndexOutOfBoundsException
Translation: you set a id to a number that can't be used by the game. For example, a block ID above 4096(IIRC) or a potion id above 255.
Yeah, I didn't really look too deep into the error report. Thanks though!
 

YX33A

New Member
Jul 29, 2019
3,764
1
0
Fixed! Apparently , I had to remove the ID from microblocks.cfg

Will just leave it here for reference.[DOUBLEPOST=1400907294][/DOUBLEPOST]
Yeah, I didn't really look too deep into the error report. Thanks though!
A lot of error reports aren't obvious what the issue is; I have made packs myself since I started playing modded minecraft, so knowing what's wrong where is very much up alley now.