mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
forgot the jigsaw block side rotating code
This commit is contained in:
parent
0dea47ff87
commit
98a334575d
@ -63,12 +63,24 @@ public class RenderBlockSideRotation implements ISimpleBlockRenderingHandler {
|
|||||||
|
|
||||||
IBlockSideRotation rot = (IBlockSideRotation) block;
|
IBlockSideRotation rot = (IBlockSideRotation) block;
|
||||||
|
|
||||||
|
// I'm almost entirely convinced that MCP mistranslated these properties because north/south and west/east are fucking SWAPPED
|
||||||
|
// YEP, they fucking did, god fucking damn it. I manually figured out the correct side for each uv face property to resolve YAYY
|
||||||
|
renderer.uvRotateBottom = rot.getRotationFromSide(world, x, y, z, 0);
|
||||||
renderer.uvRotateTop = rot.getRotationFromSide(world, x, y, z, 1);
|
renderer.uvRotateTop = rot.getRotationFromSide(world, x, y, z, 1);
|
||||||
|
renderer.uvRotateNorth = rot.getRotationFromSide(world, x, y, z, 5);
|
||||||
|
renderer.uvRotateSouth = rot.getRotationFromSide(world, x, y, z, 4);
|
||||||
|
renderer.uvRotateWest = rot.getRotationFromSide(world, x, y, z, 2);
|
||||||
|
renderer.uvRotateEast = rot.getRotationFromSide(world, x, y, z, 3);
|
||||||
|
|
||||||
renderer.setRenderBounds(0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
|
renderer.setRenderBounds(0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
|
||||||
renderer.renderStandardBlock(block, x, y, z);
|
renderer.renderStandardBlock(block, x, y, z);
|
||||||
|
|
||||||
|
renderer.uvRotateBottom = 0;
|
||||||
renderer.uvRotateTop = 0;
|
renderer.uvRotateTop = 0;
|
||||||
|
renderer.uvRotateNorth = 0;
|
||||||
|
renderer.uvRotateSouth = 0;
|
||||||
|
renderer.uvRotateWest = 0;
|
||||||
|
renderer.uvRotateEast = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user