改这个干嘛?
This commit is contained in:
parent
6bf2a61e7c
commit
7a96a131fc
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ public class LaserTowerRenderer extends GeoEntityRenderer<LaserTowerEntity> {
|
||||||
bone.setHidden(!pCamera.isVisible(aabb));
|
bone.setHidden(!pCamera.isVisible(aabb));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name.equals("isPart") || name.equals("turret2")) {
|
if (name.equals("turret") || name.equals("turret2")) {
|
||||||
bone.setRotY(-Mth.lerp(partialTick, animatable.yRotO, animatable.getYRot()) * Mth.DEG_TO_RAD);
|
bone.setRotY(-Mth.lerp(partialTick, animatable.yRotO, animatable.getYRot()) * Mth.DEG_TO_RAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class Yx100Renderer extends GeoEntityRenderer<Yx100Entity> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name.equals("isPart")) {
|
if (name.equals("turret")) {
|
||||||
bone.setRotY(Mth.lerp(partialTick, animatable.turretYRotO, animatable.getTurretYRot()) * Mth.DEG_TO_RAD);
|
bone.setRotY(Mth.lerp(partialTick, animatable.turretYRotO, animatable.getTurretYRot()) * Mth.DEG_TO_RAD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue