mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
IModelData:
-Added hidePart() comment
This commit is contained in:
1 parent
f5aa6b58db
commit
58aaaa158a
1 file changed
-3
@@ -175,9 +175,6 @@ public class ModelDataShared implements IModelData {
|
||||
return (1 - modelScale.legs.scaleY) * 0.75f;
|
||||
}
|
||||
|
||||
// Hide Body Parts
|
||||
// [0: Head, 1: Body, 2: Arms, 3: Legs]
|
||||
// [0: None, 1: Both, 2: Right, 3: Left]
|
||||
public void hidePart(int part, byte hide) {
|
||||
part = ValueUtil.clamp(part,0,3);
|
||||
hide = part > 1 ? ValueUtil.clamp(hide,(byte) 0,(byte) 3) : ValueUtil.clamp(hide,(byte) 0,(byte) 1);
|
||||
|
||||
Reference in new issue
Block a user