mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
IPlayerModelData:
-Renamed some functions to better reflect them changing all parts of JobPuppet
This commit is contained in:
1 parent
a1c036c4bf
commit
0b5ffce55f
1 file changed
+19
-3
@@ -115,24 +115,40 @@ public class PlayerModelData implements IPlayerModelData {
|
||||
}
|
||||
|
||||
public void setAnimated(boolean animated) {
|
||||
this.animate = animated;
|
||||
}
|
||||
|
||||
public void setInterpolated(boolean interpolate) {
|
||||
this.interpolate = interpolate;
|
||||
}
|
||||
|
||||
public void setFullAngles(boolean fullAngles) {
|
||||
this.fullAngles = fullAngles;
|
||||
}
|
||||
|
||||
public void setAnimRate(float animRate) {
|
||||
this.animRate = animRate;
|
||||
}
|
||||
|
||||
public void allAnimated(boolean animated) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
this.getPart(i).setAnimated(animated);
|
||||
}
|
||||
}
|
||||
|
||||
public void setInterpolated(boolean interpolate) {
|
||||
public void allInterpolated(boolean interpolate) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
this.getPart(i).setAnimated(interpolate);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFullAngles(boolean fullAngles) {
|
||||
public void allFullAngles(boolean fullAngles) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
this.getPart(i).setFullAngles(fullAngles);
|
||||
}
|
||||
}
|
||||
|
||||
public void setAnimRate(float animRate) {
|
||||
public void allAnimRate(float animRate) {
|
||||
if (animRate < 0)
|
||||
animRate = 0;
|
||||
for (int i = 0; i < 6; i++) {
|
||||
|
||||
Reference in new issue
Block a user