Carpenter's Blocks

Carpenter's Blocks

24M Downloads

ArrayIndexOutOfBoundsException in BlockCarpentersSlope

KyneSilverhide opened this issue ยท 3 comments

commented

Hello,

I've encountered a "major" issue with carpenter blocks combined with buildcraft. Basically, it was a test map, but the map is now corrupted.

I've created a blueprint using buildcraft's builder. Then, I wanted to copy this blueprint on another map. At first, everything was OK, but then my game crashed, and now, I can't open anymore the map.

java.lang.ArrayIndexOutOfBoundsException: 67
    at com.carpentersblocks.block.BlockCarpentersSlope.func_149719_a(BlockCarpentersSlope.java:147)
    at net.minecraft.client.renderer.RenderBlocks.func_147805_b(RenderBlocks.java:292)
    at net.minecraft.client.renderer.WorldRenderer.func_147892_a(WorldRenderer.java:320)
    at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:2232)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1514)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1301)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

I think this is somehow triggered by the rotation of the slope. This may be a bug in Buildcraft, instead of this mod, but I've found someone with a very similar problem, only using the carpenter hammer : http://www.north-craft.com/forums/m/31106383/viewthread/22274007-crash-on-login-please-help/post/99116274

Mod Version
Builcraft 7.0.21
Carpenter's blocks 3.3.7 stable

Here is the full crash report :
crash-2015-12-05_12.22.03-client.txt

The blueprint can be found here : https://www.mediafire.com/?l5dcb44md6g2yvh

commented

I think you might be correct about the rotation, I'll check the code and find out what is going on.

commented

This change will be included in dev build r5, and should automatically resolve any world with crashing slopes. Invalid slopes will appear as wedges on their side, which is the default shape.

commented

It works, thanks ๐Ÿ‘