@@ -80,28 +80,28 @@ package ${package}.client.renderer.block;
8080 Direction facing = state.getValue(${name} Block.FACING);
8181 switch (facing) {
8282 case NORTH -> {}
83- case EAST -> poseStack.mulPose(Axis .YP.rotationDegrees(90));
84- case WEST -> poseStack.mulPose(Axis .YP.rotationDegrees(-90));
85- case SOUTH -> poseStack.mulPose(Axis .YP.rotationDegrees(180));
83+ case EAST -> poseStack.mulPose(Vector3f .YP.rotationDegrees(90));
84+ case WEST -> poseStack.mulPose(Vector3f .YP.rotationDegrees(-90));
85+ case SOUTH -> poseStack.mulPose(Vector3f .YP.rotationDegrees(180));
8686 <#if data.rotationMode == 2 || data.rotationMode == 4 >
87- case UP -> poseStack.mulPose(Axis .XN.rotationDegrees(90));
88- case DOWN -> poseStack.mulPose(Axis .XN.rotationDegrees(-90));
87+ case UP -> poseStack.mulPose(Vector3f .XN.rotationDegrees(90));
88+ case DOWN -> poseStack.mulPose(Vector3f .XN.rotationDegrees(-90));
8989 </#if >
9090 }
9191 <#if data.enablePitch >
9292 if (facing != Direction.UP && facing != Direction.DOWN) {
9393 switch (state.getValue(${name} Block.FACE)) {
9494 case FLOOR -> {}
95- case WALL -> poseStack.mulPose(Axis .XP.rotationDegrees(90));
96- case CEILING -> poseStack.mulPose(Axis .XP.rotationDegrees(180));
95+ case WALL -> poseStack.mulPose(Vector3f .XP.rotationDegrees(90));
96+ case CEILING -> poseStack.mulPose(Vector3f .XP.rotationDegrees(180));
9797 };
9898 }
9999 </#if >
100100 <#else >
101101 switch (state.getValue(${name} Block.AXIS)) {
102- case X -> poseStack.mulPose(Axis .ZN.rotationDegrees(90));
102+ case X -> poseStack.mulPose(Vector3f .ZN.rotationDegrees(90));
103103 case Y -> {}
104- case Z -> poseStack.mulPose(Axis .XP.rotationDegrees(90));
104+ case Z -> poseStack.mulPose(Vector3f .XP.rotationDegrees(90));
105105 }
106106 </#if >
107107 </#if >
0 commit comments