Revert "Fixed powered texture not showing up when changing NPC model attributes."

This reverts commit 9560228ba8.
This commit is contained in:
luisc committed 2021-12-11 08:38:38 -06:00
1 parent fc1c16032f
commit 743cdb9db7
5 files changed
+15 -147

No files matched your search

@@ -1015,42 +1015,4 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
public String getPoweredTexture() {
return npc.display.poweredTexture;
}
public void setPoweredXYZ(float x, float y, float z) {
npc.display.poweredTranslateX = x;
npc.display.poweredTranslateY = y;
npc.display.poweredTranslateZ = z;
npc.updateClient = true;
}
public float getPoweredX() {
return npc.display.poweredTranslateX;
}
public float getPoweredY() {
return npc.display.poweredTranslateY;
}
public float getPoweredZ() {
return npc.display.poweredTranslateZ;
}
public void setPoweredRGBA(float r, float g, float b, float alpha) {
npc.display.poweredRed = r;
npc.display.poweredGreen = g;
npc.display.poweredBlue = b;
npc.display.poweredAlpha = alpha;
npc.updateClient = true;
}
public float getPoweredR() {
return npc.display.poweredRed;
}
public float getPoweredG() {
return npc.display.poweredGreen;
}
public float getPoweredB() {
return npc.display.poweredBlue;
}
public float getPoweredAlpha() {
return npc.display.poweredAlpha;
}
}
@@ -707,17 +707,4 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
public void setPoweredTexture(String poweredTexture);
public String getPoweredTexture();
public void setPoweredXYZ(float x, float y, float z);
public float getPoweredX();
public float getPoweredY();
public float getPoweredZ();
public void setPoweredRGBA(float r, float g, float b, float alpha);
public float getPoweredR();
public float getPoweredG();
public float getPoweredB();
public float getPoweredAlpha();
}