diff --git a/src/main/java/dan200/computercraft/client/render/ItemMapLikeRenderer.java b/src/main/java/dan200/computercraft/client/render/ItemMapLikeRenderer.java index bfe13e46c..e71da6c71 100644 --- a/src/main/java/dan200/computercraft/client/render/ItemMapLikeRenderer.java +++ b/src/main/java/dan200/computercraft/client/render/ItemMapLikeRenderer.java @@ -68,7 +68,7 @@ private void renderItemFirstPersonCenter(MatrixStack transform, VertexConsumerPr float tZ = -0.4f * MathHelper.sin(swingRt * (float) Math.PI); transform.translate(0, -tX / 2, tZ); - HeldItemRendererAccess access = (HeldItemRendererAccess) render; + HeldItemRendererAccess access = (HeldItemRendererAccess) renderer; float pitchAngle = access.callGetMapAngle(pitch); transform.translate(0, 0.04F + equipProgress * -1.2f + pitchAngle * -0.5f, -0.72f); transform.multiply(Vector3f.POSITIVE_X.getDegreesQuaternion(pitchAngle * -85.0f)); diff --git a/src/main/resources/computercraft.mixins.json b/src/main/resources/computercraft.mixins.json index 02a4af800..77356c514 100644 --- a/src/main/resources/computercraft.mixins.json +++ b/src/main/resources/computercraft.mixins.json @@ -3,10 +3,6 @@ "package": "dan200.computercraft.mixin", "compatibilityLevel": "JAVA_8", "mixins": [ - "AffineTransformationAccess", - "BakedQuadAccess", - "ChatHudAccess", - "HeldItemRendererAccess", "MinecraftServerAccess", "MixinBlock", "MixinEntity", @@ -17,6 +13,10 @@ "WorldSavePathAccess" ], "client": [ + "AffineTransformationAccess", + "BakedQuadAccess", + "ChatHudAccess", + "HeldItemRendererAccess", "MixinHeldItemRenderer", "MixinItemFrameEntityRenderer", "MixinMinecraftGame", diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index e0334d1ca..afb52f090 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,6 +1,5 @@ { "schemaVersion": 1, - "id": "computercraft", "name": "CC:T for Fabric", "version": "${version}", @@ -26,8 +25,12 @@ }, "environment": "*", "entrypoints": { - "main": [ "dan200.computercraft.ComputerCraft" ], - "client": ["dan200.computercraft.client.proxy.ComputerCraftProxyClient"] + "main": [ + "dan200.computercraft.ComputerCraft" + ], + "client": [ + "dan200.computercraft.client.proxy.ComputerCraftProxyClient" + ] }, "mixins": [ "computercraft.mixins.json"