JoeAteTheBeans

ModelClass

Feb 21st, 2021
292
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.joeatethebeans.mineite.objects.armour;
  2.  
  3. // Made with Blockbench 3.7.5
  4. // Exported for Minecraft version 1.12
  5. // Paste this class into your mod and generate all required imports
  6.  
  7. import net.minecraft.client.model.ModelBiped;
  8. import net.minecraft.client.model.ModelBox;
  9. import net.minecraft.client.model.ModelRenderer;
  10. import net.minecraft.entity.Entity;
  11.  
  12. public class CustomModelShitium extends ModelBiped {
  13.     private final ModelRenderer armorHead;
  14.     private final ModelRenderer cube_r1;
  15.     private final ModelRenderer cube_r2;
  16.     private final ModelRenderer cube_r3;
  17.     private final ModelRenderer armorBody;
  18.     private final ModelRenderer armorRightArm;
  19.     private final ModelRenderer armorLeftArm;
  20.     private final ModelRenderer armorRightLeg;
  21.     private final ModelRenderer cube_r4;
  22.     private final ModelRenderer cube_r5;
  23.     private final ModelRenderer cube_r6;
  24.     private final ModelRenderer armorRightBoot;
  25.     private final ModelRenderer cube_r7;
  26.     private final ModelRenderer cube_r8;
  27.     private final ModelRenderer cube_r9;
  28.     private final ModelRenderer cube_r10;
  29.     private final ModelRenderer cube_r11;
  30.     private final ModelRenderer armorLeftLeg;
  31.     private final ModelRenderer cube_r12;
  32.     private final ModelRenderer cube_r13;
  33.     private final ModelRenderer cube_r14;
  34.     private final ModelRenderer cube_r15;
  35.     private final ModelRenderer cube_r16;
  36.     private final ModelRenderer armorLeftBoot;
  37.     private final ModelRenderer cube_r17;
  38.     private final ModelRenderer cube_r18;
  39.  
  40.     public CustomModelShitium() {
  41.         textureWidth = 64;
  42.         textureHeight = 64;
  43.  
  44.         armorHead = new ModelRenderer(this);
  45.         armorHead.setRotationPoint(0.0F, 0.0F, 0.0F);
  46.         bipedHead.addChild(armorHead);
  47.         armorHead.cubeList.add(new ModelBox(armorHead, 3, 54, -4.0F, -9.0F, -4.0F, 8, 1, 8, 0.0F, false));
  48.         armorHead.cubeList.add(new ModelBox(armorHead, 4, 47, -3.0F, -3.0F, -5.0F, 1, 3, 1, 0.0F, false));
  49.         armorHead.cubeList.add(new ModelBox(armorHead, 5, 47, 2.0F, -3.0F, -5.0F, 1, 3, 1, 0.0F, false));
  50.         armorHead.cubeList.add(new ModelBox(armorHead, 7, 48, -4.0F, -8.0F, -5.0F, 3, 3, 1, 0.0F, false));
  51.         armorHead.cubeList.add(new ModelBox(armorHead, 8, 48, 1.0F, -8.0F, -5.0F, 3, 3, 1, 0.0F, false));
  52.         armorHead.cubeList.add(new ModelBox(armorHead, 3, 46, -1.0F, -8.0F, -5.0F, 2, 4, 1, 0.0F, false));
  53.         armorHead.cubeList.add(new ModelBox(armorHead, 16, 44, -4.0F, -5.0F, -5.0F, 1, 5, 1, 0.0F, false));
  54.         armorHead.cubeList.add(new ModelBox(armorHead, 16, 44, 3.0F, -5.0F, -5.0F, 1, 5, 1, 0.0F, false));
  55.  
  56.         cube_r1 = new ModelRenderer(this);
  57.         cube_r1.setRotationPoint(1.0F, -4.0F, 4.0F);
  58.         armorHead.addChild(cube_r1);
  59.         setRotationAngle(cube_r1, -1.5708F, 0.0F, 1.5708F);
  60.         cube_r1.cubeList.add(new ModelBox(cube_r1, 0, 53, -4.0F, -1.0F, -4.0F, 8, 1, 10, 0.0F, false));
  61.  
  62.         cube_r2 = new ModelRenderer(this);
  63.         cube_r2.setRotationPoint(-5.0F, -4.0F, -1.0F);
  64.         armorHead.addChild(cube_r2);
  65.         setRotationAngle(cube_r2, 0.0F, 0.0F, 1.5708F);
  66.         cube_r2.cubeList.add(new ModelBox(cube_r2, 0, 58, -4.0F, -1.0F, -4.0F, 8, 1, 5, 0.0F, false));
  67.         cube_r2.cubeList.add(new ModelBox(cube_r2, 0, 59, -4.0F, -1.0F, 1.0F, 8, 1, 4, 0.0F, false));
  68.  
  69.         cube_r3 = new ModelRenderer(this);
  70.         cube_r3.setRotationPoint(4.0F, -4.0F, -1.0F);
  71.         armorHead.addChild(cube_r3);
  72.         setRotationAngle(cube_r3, 0.0F, 0.0F, 1.5708F);
  73.         cube_r3.cubeList.add(new ModelBox(cube_r3, 7, 58, -4.0F, -1.0F, -4.0F, 8, 1, 5, 0.0F, false));
  74.         cube_r3.cubeList.add(new ModelBox(cube_r3, 8, 59, -4.0F, -1.0F, 1.0F, 8, 1, 4, 0.0F, false));
  75.  
  76.         armorBody = new ModelRenderer(this);
  77.         armorBody.setRotationPoint(0.0F, 0.0F, 0.0F);
  78.         bipedBody.addChild(armorBody);
  79.         armorBody.cubeList.add(new ModelBox(armorBody, 7, 53, -4.0F, 2.0F, -3.0F, 8, 9, 1, 0.0F, false));
  80.         armorBody.cubeList.add(new ModelBox(armorBody, 26, 50, -4.3F, 0.0F, -2.0F, 1, 10, 4, 0.0F, false));
  81.         armorBody.cubeList.add(new ModelBox(armorBody, 26, 50, 3.3F, 0.0F, -2.0F, 1, 10, 4, 0.0F, false));
  82.         armorBody.cubeList.add(new ModelBox(armorBody, 28, 60, -4.0F, 0.0F, -3.0F, 2, 1, 1, 0.0F, false));
  83.         armorBody.cubeList.add(new ModelBox(armorBody, 8, 52, -4.0F, 0.0F, 2.0F, 8, 11, 1, 0.0F, false));
  84.         armorBody.cubeList.add(new ModelBox(armorBody, 11, 62, -3.0F, 11.0F, -3.0F, 6, 1, 1, 0.0F, false));
  85.         armorBody.cubeList.add(new ModelBox(armorBody, 25, 62, -3.0F, 11.0F, 2.0F, 6, 1, 1, 0.0F, false));
  86.         armorBody.cubeList.add(new ModelBox(armorBody, 21, 62, 2.0F, 0.0F, -3.0F, 2, 1, 1, 0.0F, false));
  87.         armorBody.cubeList.add(new ModelBox(armorBody, 13, 61, 1.0F, 1.0F, -3.0F, 3, 1, 1, 0.0F, false));
  88.         armorBody.cubeList.add(new ModelBox(armorBody, 13, 61, -4.0F, 1.0F, -3.0F, 3, 1, 1, 0.0F, false));
  89.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 39, -9.0F, -1.0F, -3.0F, 5, 1, 5, 0.0F, false));
  90.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 39, 4.0F, -1.0F, -3.0F, 5, 1, 5, 0.0F, false));
  91.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, -9.0F, 0.0F, -4.0F, 5, 1, 1, 0.0F, false));
  92.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 42, 4.0F, 0.0F, -4.0F, 5, 1, 1, 0.0F, false));
  93.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 42, -9.0F, 0.0F, 2.0F, 5, 1, 1, 0.0F, false));
  94.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 41, 4.0F, 0.0F, 2.0F, 5, 1, 1, 0.0F, false));
  95.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, -8.0F, 1.0F, 2.0F, 4, 1, 1, 0.0F, false));
  96.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 42, 4.0F, 1.0F, -3.0F, 5, 1, 1, 0.0F, false));
  97.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, -9.0F, 1.0F, -3.0F, 5, 1, 1, 0.0F, false));
  98.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, -9.0F, 1.0F, -2.0F, 1, 1, 4, 0.0F, false));
  99.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, 8.0F, 1.0F, -2.0F, 1, 1, 4, 0.0F, false));
  100.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 49, 4.0F, 1.0F, 2.0F, 4, 1, 1, 0.0F, false));
  101.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 39, -10.0F, 0.0F, -3.0F, 1, 1, 5, 0.0F, false));
  102.         armorBody.cubeList.add(new ModelBox(armorBody, 0, 38, 9.0F, 0.0F, -3.0F, 1, 1, 5, 0.0F, false));
  103.  
  104.         armorRightArm = new ModelRenderer(this);
  105.         armorRightArm.setRotationPoint(1.0F, 0.0F, 0.0F);
  106.         bipedRightArm.addChild(armorRightArm);
  107.        
  108.  
  109.         armorLeftArm = new ModelRenderer(this);
  110.         armorLeftArm.setRotationPoint(-1.0F, 0.0F, 0.0F);
  111.         bipedLeftArm.addChild(armorLeftArm);
  112.        
  113.  
  114.         armorRightLeg = new ModelRenderer(this);
  115.         armorRightLeg.setRotationPoint(0.0F, 0.0F, 0.0F);
  116.         bipedRightLeg.addChild(armorRightLeg);
  117.         armorRightLeg.cubeList.add(new ModelBox(armorRightLeg, 10, 54, 2.0F, 0.0F, -2.3F, 4, 9, 1, 0.0F, false));
  118.  
  119.         cube_r4 = new ModelRenderer(this);
  120.         cube_r4.setRotationPoint(2.0F, 6.0F, 2.3F);
  121.         armorRightLeg.addChild(cube_r4);
  122.         setRotationAngle(cube_r4, 0.0F, 3.1416F, 0.0F);
  123.         cube_r4.cubeList.add(new ModelBox(cube_r4, 10, 54, -4.0F, -6.0F, 0.0F, 4, 9, 1, 0.0F, false));
  124.  
  125.         cube_r5 = new ModelRenderer(this);
  126.         cube_r5.setRotationPoint(1.7F, 6.0F, -2.0F);
  127.         armorRightLeg.addChild(cube_r5);
  128.         setRotationAngle(cube_r5, 0.0F, 1.5708F, 0.0F);
  129.         cube_r5.cubeList.add(new ModelBox(cube_r5, 10, 54, -4.0F, -6.0F, 0.0F, 4, 9, 1, 0.0F, false));
  130.  
  131.         cube_r6 = new ModelRenderer(this);
  132.         cube_r6.setRotationPoint(6.3F, 6.0F, 2.0F);
  133.         armorRightLeg.addChild(cube_r6);
  134.         setRotationAngle(cube_r6, 0.0F, -1.5708F, 0.0F);
  135.         cube_r6.cubeList.add(new ModelBox(cube_r6, 10, 54, -4.0F, -6.0F, 0.0F, 4, 9, 1, 0.0F, false));
  136.  
  137.         armorRightBoot = new ModelRenderer(this);
  138.         armorRightBoot.setRotationPoint(0.0F, 0.0F, 0.0F);
  139.         bipedRightLeg.addChild(armorRightBoot);
  140.         armorRightBoot.cubeList.add(new ModelBox(armorRightBoot, 9, 60, 2.0F, 9.0F, -3.0F, 4, 3, 1, 0.0F, false));
  141.         armorRightBoot.cubeList.add(new ModelBox(armorRightBoot, 9, 60, 2.0F, 11.1F, -2.0F, 4, 1, 4, 0.0F, false));
  142.         armorRightBoot.cubeList.add(new ModelBox(armorRightBoot, 1, 42, 2.0F, 8.0F, -3.0F, 4, 1, 1, 0.0F, false));
  143.         armorRightBoot.cubeList.add(new ModelBox(armorRightBoot, 1, 42, 2.0F, 8.0F, 2.0F, 4, 1, 1, 0.0F, false));
  144.  
  145.         cube_r7 = new ModelRenderer(this);
  146.         cube_r7.setRotationPoint(2.0F, 9.0F, 2.0F);
  147.         armorRightBoot.addChild(cube_r7);
  148.         setRotationAngle(cube_r7, 0.0F, -1.5708F, 0.0F);
  149.         cube_r7.cubeList.add(new ModelBox(cube_r7, 1, 42, -4.0F, -1.0F, 0.0F, 4, 1, 1, 0.0F, false));
  150.  
  151.         cube_r8 = new ModelRenderer(this);
  152.         cube_r8.setRotationPoint(7.0F, 9.0F, 2.0F);
  153.         armorRightBoot.addChild(cube_r8);
  154.         setRotationAngle(cube_r8, 0.0F, -1.5708F, 0.0F);
  155.         cube_r8.cubeList.add(new ModelBox(cube_r8, 1, 42, -4.0F, -1.0F, 0.0F, 4, 1, 1, 0.0F, false));
  156.  
  157.         cube_r9 = new ModelRenderer(this);
  158.         cube_r9.setRotationPoint(1.0F, 15.0F, -2.0F);
  159.         armorRightBoot.addChild(cube_r9);
  160.         setRotationAngle(cube_r9, 0.0F, 1.5708F, 0.0F);
  161.         cube_r9.cubeList.add(new ModelBox(cube_r9, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  162.  
  163.         cube_r10 = new ModelRenderer(this);
  164.         cube_r10.setRotationPoint(7.0F, 15.0F, 2.0F);
  165.         armorRightBoot.addChild(cube_r10);
  166.         setRotationAngle(cube_r10, 0.0F, -1.5708F, 0.0F);
  167.         cube_r10.cubeList.add(new ModelBox(cube_r10, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  168.  
  169.         cube_r11 = new ModelRenderer(this);
  170.         cube_r11.setRotationPoint(2.0F, 15.0F, 3.0F);
  171.         armorRightBoot.addChild(cube_r11);
  172.         setRotationAngle(cube_r11, 0.0F, 3.1416F, 0.0F);
  173.         cube_r11.cubeList.add(new ModelBox(cube_r11, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  174.  
  175.         armorLeftLeg = new ModelRenderer(this);
  176.         armorLeftLeg.setRotationPoint(0.0F, 0.0F, 0.0F);
  177.         bipedLeftLeg.addChild(armorLeftLeg);
  178.         armorLeftLeg.cubeList.add(new ModelBox(armorLeftLeg, 10, 54, -6.0F, 0.0F, -2.3F, 4, 8, 1, 0.0F, false));
  179.         armorLeftLeg.cubeList.add(new ModelBox(armorLeftLeg, 9, 60, -6.0F, 9.0F, -3.0F, 4, 3, 1, 0.0F, false));
  180.         armorLeftLeg.cubeList.add(new ModelBox(armorLeftLeg, 10, 54, -6.0F, 0.0F, 1.3F, 4, 8, 1, 0.0F, false));
  181.  
  182.         cube_r12 = new ModelRenderer(this);
  183.         cube_r12.setRotationPoint(-6.3F, 6.0F, -2.0F);
  184.         armorLeftLeg.addChild(cube_r12);
  185.         setRotationAngle(cube_r12, 0.0F, 1.5708F, 0.0F);
  186.         cube_r12.cubeList.add(new ModelBox(cube_r12, 10, 54, -4.0F, -6.0F, 0.0F, 4, 8, 1, 0.0F, false));
  187.  
  188.         cube_r13 = new ModelRenderer(this);
  189.         cube_r13.setRotationPoint(-1.7F, 6.0F, 2.0F);
  190.         armorLeftLeg.addChild(cube_r13);
  191.         setRotationAngle(cube_r13, 0.0F, -1.5708F, 0.0F);
  192.         cube_r13.cubeList.add(new ModelBox(cube_r13, 10, 54, -4.0F, -6.0F, 0.0F, 4, 8, 1, 0.0F, false));
  193.  
  194.         cube_r14 = new ModelRenderer(this);
  195.         cube_r14.setRotationPoint(-7.0F, 15.0F, -2.0F);
  196.         armorLeftLeg.addChild(cube_r14);
  197.         setRotationAngle(cube_r14, 0.0F, 1.5708F, 0.0F);
  198.         cube_r14.cubeList.add(new ModelBox(cube_r14, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  199.  
  200.         cube_r15 = new ModelRenderer(this);
  201.         cube_r15.setRotationPoint(-1.0F, 15.0F, 2.0F);
  202.         armorLeftLeg.addChild(cube_r15);
  203.         setRotationAngle(cube_r15, 0.0F, -1.5708F, 0.0F);
  204.         cube_r15.cubeList.add(new ModelBox(cube_r15, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  205.  
  206.         cube_r16 = new ModelRenderer(this);
  207.         cube_r16.setRotationPoint(-6.0F, 15.0F, 3.0F);
  208.         armorLeftLeg.addChild(cube_r16);
  209.         setRotationAngle(cube_r16, 0.0F, 3.1416F, 0.0F);
  210.         cube_r16.cubeList.add(new ModelBox(cube_r16, 9, 60, -4.0F, -6.0F, 0.0F, 4, 3, 1, 0.0F, false));
  211.  
  212.         armorLeftBoot = new ModelRenderer(this);
  213.         armorLeftBoot.setRotationPoint(0.0F, 0.0F, 0.0F);
  214.         bipedLeftLeg.addChild(armorLeftBoot);
  215.         armorLeftBoot.cubeList.add(new ModelBox(armorLeftBoot, 1, 42, -6.0F, 8.0F, -3.0F, 4, 1, 1, 0.0F, false));
  216.         armorLeftBoot.cubeList.add(new ModelBox(armorLeftBoot, 1, 42, -6.0F, 8.0F, 2.0F, 4, 1, 1, 0.0F, false));
  217.         armorLeftBoot.cubeList.add(new ModelBox(armorLeftBoot, 9, 60, -6.0F, 11.1F, -2.0F, 4, 1, 4, 0.0F, false));
  218.  
  219.         cube_r17 = new ModelRenderer(this);
  220.         cube_r17.setRotationPoint(-6.0F, 9.0F, 2.0F);
  221.         armorLeftBoot.addChild(cube_r17);
  222.         setRotationAngle(cube_r17, 0.0F, -1.5708F, 0.0F);
  223.         cube_r17.cubeList.add(new ModelBox(cube_r17, 1, 42, -4.0F, -1.0F, 0.0F, 4, 1, 1, 0.0F, false));
  224.  
  225.         cube_r18 = new ModelRenderer(this);
  226.         cube_r18.setRotationPoint(-1.0F, 9.0F, 2.0F);
  227.         armorLeftBoot.addChild(cube_r18);
  228.         setRotationAngle(cube_r18, 0.0F, -1.5708F, 0.0F);
  229.         cube_r18.cubeList.add(new ModelBox(cube_r18, 1, 42, -4.0F, -1.0F, 0.0F, 4, 1, 1, 0.0F, false));
  230.     }
  231.  
  232.     @Override
  233.     public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
  234.         super.render(entity, f, f1, f2, f3, f4, f5);
  235.     }
  236.  
  237.     public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
  238.         modelRenderer.rotateAngleX = x;
  239.         modelRenderer.rotateAngleY = y;
  240.         modelRenderer.rotateAngleZ = z;
  241.     }
  242. }
RAW Paste Data