mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 03:07:34 +00:00
Added setRotation function to set all three rotations for parts.
This commit is contained in:
1 parent
037711893d
commit
c0ad318573
1 file changed
+6
@@ -115,6 +115,12 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void setRotation(int part, int rotationX, int rotationY, int rotationZ) {
|
||||
this.setRotationX(part,rotationX);
|
||||
this.setRotationX(part,rotationY);
|
||||
this.setRotationX(part,rotationZ);
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param part Body part (0:head, 1:body, 2:leftarm, 3:rightarm, 4:leftleg, 5:rightleg)
|
||||
|
||||
Reference in new issue
Block a user