mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 01:29:05 +00:00
Line the monkey tail up with the player model
heightFactor did not fully cancel ModelTail''s anchor, leaving both the wrapped and plain monkey tails two pixels below where JBRA renders them on players.
This commit is contained in:
1 parent
6af66b8883
commit
9f4334a803
1 file changed
+3
-1
@@ -34,7 +34,9 @@ public class ModelMonkeyTail extends ModelRenderer {
|
||||
|
||||
public ModelMonkeyTail(ModelBiped base) {
|
||||
super(base);
|
||||
float heightFactor = -9.0f;
|
||||
// Cancels ModelTail's rotationPointY of 11 so the boxes land where JBRA puts them
|
||||
// on players: plain tail at 10, wrapped tail at 0.
|
||||
float heightFactor = -11.0f;
|
||||
|
||||
(this.monkey_large = new ModelRenderer(base, 38, 54)).addBox(-2.0f, -2.0f, 0.0f, 4, 4, 6);
|
||||
this.setRotation(this.monkey_large, -0.5235988f, 0.0f, 0.0f);
|
||||
|
||||
Reference in new issue
Block a user