- 199
- 1
- 17
Ребят, у меня есть модель скелета, ну код. Но я не знаю как из скелета превратить в стива... Вот код:
Java:
super(f, 0.0f, 64, 32);
if (!b) {
(this.bipedRightArm = new ModelRenderer(this, 40, 16)).addBox(-1.0f, -2.0f, -1.0f, 2, 12, 2, f);
this.bipedRightArm.setRotationPoint(-5.0f, 2.0f, 0.0f);
this.bipedLeftArm = new ModelRenderer(this, 40, 16);
this.bipedLeftArm.mirror = true;
this.bipedLeftArm.addBox(-1.0f, -2.0f, -1.0f, 2, 12, 2, f);
this.bipedLeftArm.setRotationPoint(5.0f, 2.0f, 0.0f);
(this.bipedRightLeg = new ModelRenderer(this, 0, 16)).addBox(-1.0f, 0.0f, -1.0f, 2, 12, 2, f);
this.bipedRightLeg.setRotationPoint(-2.0f, 12.0f, 0.0f);
this.bipedLeftLeg = new ModelRenderer(this, 0, 16);
this.bipedLeftLeg.mirror = true;
this.bipedLeftLeg.addBox(-1.0f, 0.0f, -1.0f, 2, 12, 2, f);
this.bipedLeftLeg.setRotationPoint(2.0f, 12.0f, 0.0f);