ReplacedBlocks ID range support?
KaesBuerschtl opened this issue ยท 2 comments
I am attempting to use TerrainControl with MCPC and Feed the Beast Horizons modpack. I am trying to create a custom biome using some FTB block IDs, but it seems all of the settings under the "Blocks" category do not support higher IDs. When I add the following directive:
ReplacedBlocks:(17,3237:1),(18,3240),(2,3238),(3,1476:5)
The game crashes on load with:
java.lang.ArrayIndexOutOfBoundsException: -858
at com.khorn.terraincontrol.DefaultMaterial.getMaterial(DefaultMaterial.java:288)
at com.khorn.terraincontrol.util.StringHelper.makeMaterial(StringHelper.java:167)
at com.khorn.terraincontrol.configuration.BiomeConfig.WriteModReplaceSettings(BiomeConfig.java:1016)
at com.khorn.terraincontrol.configuration.BiomeConfig.writeConfigSettings(BiomeConfig.java:764)
at com.khorn.terraincontrol.configuration.ConfigFile.writeSettingsFile(ConfigFile.java:432)
at com.khorn.terraincontrol.configuration.BiomeConfig.(BiomeConfig.java:150)
at com.khorn.terraincontrol.configuration.WorldConfig.(WorldConfig.java:234)
at com.khorn.terraincontrol.forge.TCWorldType.getChunkManager(TCWorldType.java:68)
at net.minecraft.world.WorldProvider.func_76572_b(WorldProvider.java:86)
at net.minecraft.world.WorldProvider.func_76558_a(WorldProvider.java:63)
at net.minecraft.world.World.(World.java:290)
at net.minecraft.world.WorldServer.(WorldServer.java:110)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:74)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:107)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
upon reaching that specific line (the BiomeConfig is written up to but not including that line.) I am assuming this is due to a limited range of ID support, if this is so can the range be extended to support the full range allowed by Forge and other mod loaders?
I think it is now fixed on the BiomeInhertance/VirtualBiomes branch
http://mctcp.com:8900/job/TerrainControl%20-%20Gradle/default/