mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 19:15:11 +00:00
Fixes to scripted item rendering.
IItemCustom: -Removed unnecessary setters.
This commit is contained in:
1 parent
bfce45028c
commit
58932ffe55
5 files changed
+66
-111
No files matched your search
@@ -1,14 +1,5 @@
|
||||
package noppes.npcs.scripted.interfaces.item;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Event;
|
||||
import noppes.npcs.constants.EnumScriptType;
|
||||
import noppes.npcs.controllers.IScriptHandler;
|
||||
import noppes.npcs.controllers.ScriptContainer;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
public interface IItemCustom extends IItemStack, IScriptHandler {
|
||||
|
||||
@@ -68,30 +59,6 @@ public interface IItemCustom extends IItemStack, IScriptHandler {
|
||||
|
||||
void setTranslate(float translateX, float translateY, float translateZ);
|
||||
|
||||
void setRotationX(float rotationX);
|
||||
|
||||
void setRotationY(float rotationY);
|
||||
|
||||
void setRotationZ(float rotationZ);
|
||||
|
||||
void setRotationXRate(float rotationXRate);
|
||||
|
||||
void setRotationYRate(float rotationYRate);
|
||||
|
||||
void setRotationZRate(float rotationZRate);
|
||||
|
||||
void setScaleX(float scaleX);
|
||||
|
||||
void setScaleY(float scaleY);
|
||||
|
||||
void setScaleZ(float scaleZ);
|
||||
|
||||
void setTranslateX(float translateX);
|
||||
|
||||
void setTranslateY(float translateY);
|
||||
|
||||
void setTranslateZ(float translateZ);
|
||||
|
||||
float getRotationX();
|
||||
|
||||
float getRotationY();
|
||||
|
||||
@@ -295,66 +295,6 @@ public class ScriptCustomItem extends ScriptItemStack implements IItemCustom, IS
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationX(float rotationX) {
|
||||
this.rotationX = rotationX;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationY(float rotationY) {
|
||||
this.rotationY = rotationY;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationZ(float rotationZ) {
|
||||
this.rotationZ = rotationZ;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationXRate(float rotationXRate) {
|
||||
this.rotationXRate = rotationXRate;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationYRate(float rotationYRate) {
|
||||
this.rotationYRate = rotationYRate;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setRotationZRate(float rotationZRate) {
|
||||
this.rotationZRate = rotationZRate;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setScaleX(float scaleX) {
|
||||
this.scaleX = scaleX;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setScaleY(float scaleY) {
|
||||
this.scaleY = scaleY;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setScaleZ(float scaleZ) {
|
||||
this.scaleZ = scaleZ;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setTranslateX(float translateX) {
|
||||
this.translateX = translateX;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setTranslateY(float translateY) {
|
||||
this.translateY = translateY;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public void setTranslateZ(float translateZ) {
|
||||
this.translateZ = translateZ;
|
||||
saveItemData();
|
||||
}
|
||||
|
||||
public float getRotationX() {
|
||||
return rotationX;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user