Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BlomphModel<T extends BlomphEntity> extends EntityModel<T> {
- public ModelRenderer Body;
- public ModelRenderer Body2;
- public ModelRenderer horn;
- public ModelRenderer FLleg;
- public ModelRenderer FRleg;
- public ModelRenderer BLleg;
- public ModelRenderer BRleg;
- public ModelRenderer head;
- public BlomphModel() {
- this.texWidth = 120;
- this.texHeight = 120;
- this.FRleg = new ModelRenderer(this, 75, 62);
- this.FRleg.setPos(-3.0F, 8.0F, -4.0F);
- this.FRleg.addBox(-2.5F, 0.0F, -3.0F, 5.0F, 12.0F, 6.0F, 0.0F, 0.0F, 0.0F);
- this.BRleg = new ModelRenderer(this, 75, 20);
- this.BRleg.setPos(-3.0F, 7.0F, 0.0F);
- this.BRleg.addBox(-2.5F, 0.0F, -3.0F, 5.0F, 12.0F, 6.0F, 0.0F, 0.0F, 0.0F);
- this.Body = new ModelRenderer(this, 0, 62);
- this.Body.setPos(0.0F, 4.0F, -3.0F);
- this.Body.addBox(-8.0F, -9.0F, -10.0F, 16.0F, 18.0F, 20.0F, 0.0F, 0.0F, 0.0F);
- this.head = new ModelRenderer(this, 0, 102);
- this.head.setPos(0.0F, 1.0F, -1.4F);
- this.head.addBox(-4.0F, -3.0F, -12.0F, 8.0F, 6.0F, 12.0F, 0.0F, 0.0F, 0.0F);
- this.setRotateAngle(head, 0.45378560551852565F, 0.0F, 0.0F);
- this.FLleg = new ModelRenderer(this, 75, 42);
- this.FLleg.setPos(3.0F, 8.0F, -4.0F);
- this.FLleg.addBox(-2.5F, 0.0F, -3.0F, 5.0F, 12.0F, 6.0F, 0.0F, 0.0F, 0.0F);
- this.Body2 = new ModelRenderer(this, 0, 34);
- this.Body2.setPos(0.0F, 1.0F, 15.0F);
- this.Body2.addBox(-6.0F, -8.0F, -5.0F, 12.0F, 16.0F, 10.0F, 0.0F, 0.0F, 0.0F);
- this.BLleg = new ModelRenderer(this, 75, 0);
- this.BLleg.setPos(3.0F, 7.0F, 0.0F);
- this.BLleg.addBox(-2.5F, 0.0F, -3.0F, 5.0F, 12.0F, 6.0F, 0.0F, 0.0F, 0.0F);
- this.horn = new ModelRenderer(this, 0, 0);
- this.horn.setPos(0.0F, -3.2F, -6.0F);
- this.horn.addBox(-3.0F, -9.0F, -10.0F, 6.0F, 13.0F, 12.0F, 0.0F, 0.0F, 0.0F);
- this.Body.addChild(this.FRleg);
- this.Body2.addChild(this.BRleg);
- this.horn.addChild(this.head);
- this.Body.addChild(this.FLleg);
- this.Body.addChild(this.Body2);
- this.Body2.addChild(this.BLleg);
- this.Body.addChild(this.horn);
- }
- public void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_) {
- }
- public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
- modelRenderer.xRot = x;
- modelRenderer.yRot = y;
- modelRenderer.zRot = z;
- }
- @Override
- public void renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement