Carpenter's Blocks

Carpenter's Blocks

24M Downloads

[Bug] Carpenter's Blocks incompatible with Pixelmon 3.3.2.

mibby opened this issue ยท 4 comments

commented

Forge version 10.13.2.1231.
Default configs for pixelmon and carpenter's blocks.

Tested using Carpenter's Blocks 3.3.1 DEV R2 & Carpenter's Blocks 3.3.0.1 alone, no other mods.
link1

Tested using Carpenter's Blocks 3.3.1 DEV R2 & Carpenter's Blocks 3.3.0.1 with Pixelmon 3.3.2.
link2

Barrier and blocks are invisible, while placed carpenter blocks flash when moving.

Error that spams in client console when loading the blocks.

[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.reflect.InvocationTargetException
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at java.lang.reflect.Method.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at Reflector.callBoolean(Reflector.java:187)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.RenderBlocks.func_147805_b(RenderBlocks.java:359)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.WorldRenderer.func_147892_a(WorldRenderer.java:318)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:2197)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1506)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1299)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.main.Main.main(SourceFile:148)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at java.lang.reflect.Method.invoke(Unknown Source)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassCastException: com.carpentersblocks.block.BlockCarpentersBarrier cannot be cast to com.pixelmonmod.pixelmon.blocks.BlockEvolutionStoneOre
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at com.pixelmonmod.pixelmon.client.render.ShinyOreRenderer.renderWorldBlock(ShinyOreRenderer.java:82)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:118)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.src.FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:53)
[B#439] 2014/10/25 19:34:24 [INFO]  [19:34:24] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   ... 18 more

Same thing errors when trying to break the block.

[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.reflect.InvocationTargetException
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at java.lang.reflect.Method.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at Reflector.callBoolean(Reflector.java:187)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.RenderBlocks.func_147805_b(RenderBlocks.java:359)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.WorldRenderer.func_147892_a(WorldRenderer.java:318)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:2197)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1506)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1299)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.client.main.Main.main(SourceFile:148)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at java.lang.reflect.Method.invoke(Unknown Source)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassCastException: com.carpentersblocks.block.BlockCarpentersBarrier cannot be cast to com.pixelmonmod.pixelmon.blocks.BlockEvolutionStoneOre
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at com.pixelmonmod.pixelmon.client.render.ShinyOreRenderer.renderWorldBlock(ShinyOreRenderer.java:82)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:118)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   at net.minecraft.src.FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:53)
[B#439] 2014/10/25 19:42:11 [INFO]  [19:42:11] [Client thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:   ... 18 more
commented

Pixelmon is trying to cast my block to it's block. Need to bring it up with that mod author first, then come back if it's something I can fix on my end.

commented

I have forwarded the issue to their issue tracker and linked this github issue to it as a reference.
http://forum.pixelmonmod.com/tracker.php?p=2&t=3802

commented

This seems to no longer occur with Pixelmon 3.3.3. I shall close the ticket for now.

commented

Aha ya, i know what caused this, the shiny renderer was using a static id instead of grabing one from forge, must of fixed sliently at the time i fixed the id setting