From 2fba5936476c845b7dcc9e932cbcd9404d52e6bd Mon Sep 17 00:00:00 2001 From: bigguy345 Date: Tue, 6 Aug 2024 21:48:57 +0300 Subject: [PATCH] Changed ModelMPM methods access to public (for addon NPC outline rendering) --- src/main/java/noppes/npcs/client/model/ModelMPM.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/noppes/npcs/client/model/ModelMPM.java b/src/main/java/noppes/npcs/client/model/ModelMPM.java index bf7e00d03..a74784678 100644 --- a/src/main/java/noppes/npcs/client/model/ModelMPM.java +++ b/src/main/java/noppes/npcs/client/model/ModelMPM.java @@ -730,7 +730,7 @@ public class ModelMPM extends ModelNPCMale{ to.rotationPointZ = from.rotationPointZ; } - private void renderHead(EntityCustomNpc entity, float f) { + public void renderHead(EntityCustomNpc entity, float f) { loadPlayerTexture(entity); float x = 0; float y = entity.modelData.getBodyY(); @@ -765,7 +765,7 @@ public class ModelMPM extends ModelNPCMale{ GL11.glPopMatrix(); } - private void renderBody(EntityCustomNpc entity, float f) { + public void renderBody(EntityCustomNpc entity, float f) { loadPlayerTexture(entity); float x = 0; float y = entity.modelData.getBodyY(); @@ -872,7 +872,7 @@ public class ModelMPM extends ModelNPCMale{ GL11.glPopMatrix(); } - private void renderLegs(EntityCustomNpc entity, float f) { + public void renderLegs(EntityCustomNpc entity, float f) { loadPlayerTexture(entity); ModelScalePart legs = entity.modelData.modelScale.legs;