Posts posted by Draco18s
-
-
The custom renderer (implementing ISimpleBlockRenderingHandler) has in its renderWorldBlock function the same code as the RenderBlocks (the vanilla renderer) renderBlockLadder function, only with a second face for each metadata (to render the back face).
The other functions are basically empty (renderInventoryBlock is blank, shouldRender3DInInventory returns false, getRenderId returns the render ID assigned to it, via the base mod file).
So I don't know what you're referring to.
-
The block:
http://s23.postimg.org/wdglu929n/2013_03_27_12_18_16.png[/img]
The block, while breaking:
http://s14.postimg.org/m0xhohfi9/2013_03_27_12_18_22.png[/img]
How do I fix this?
I'm not using the vanilla ladder renderer because I need the block to be rendered from both sides (as it can be freestanding).
Block with Custom Renderer (and texture) Shows wrong Breaking animation
in Modder Support
I figured it was a more common problem than simply being a matter of the code I used because I did nothing special.