Crystalite Armor models; WIP: REI Infusion view compass

This commit is contained in:
Aleksey 2020-12-03 22:13:27 +03:00
parent 15d2d981de
commit b7c0ce452e
5 changed files with 28 additions and 35 deletions

View file

@ -23,6 +23,13 @@ public class CrystaliteBootsModel extends BipedEntityModel<LivingEntity> {
this.rightBoot.addCuboid(-2.0F, 0.0F, -2.0F, 4.0F, 12.0F, 4.0F, scale + 0.25F);
this.rightBoot.setPivot(-1.9F, 12.0F, 0.0F);
}
@Override
public void setAttributes(BipedEntityModel<LivingEntity> bipedEntityModel) {
super.setAttributes(bipedEntityModel);
this.leftBoot.copyPositionAndRotation(leftLeg);
this.rightBoot.copyPositionAndRotation(rightLeg);
}
@Override
protected Iterable<ModelPart> getHeadParts() {
@ -33,12 +40,4 @@ public class CrystaliteBootsModel extends BipedEntityModel<LivingEntity> {
protected Iterable<ModelPart> getBodyParts() {
return Lists.newArrayList(leftBoot, rightBoot);
}
@Override
public void setAttributes(BipedEntityModel<LivingEntity> bipedEntityModel) {
this.leftLeg.copyPositionAndRotation(bipedEntityModel.leftLeg);
this.rightLeg.copyPositionAndRotation(bipedEntityModel.rightLeg);
this.leftBoot.copyPositionAndRotation(leftLeg);
this.rightBoot.copyPositionAndRotation(rightLeg);
}
}