// Made with Blockbench 4.12.5 // Exported for Minecraft version 1.17 or later with Mojang mappings // Paste this class into your mod and generate all required imports public class tooret extends EntityModel { // This layer location should be baked with EntityRendererProvider.Context in the entity renderer and passed into this model's constructor public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation(new ResourceLocation("modid", "tooret"), "main"); private final ModelPart bone; private final ModelPart bone2; private final ModelPart bone3; private final ModelPart bone4; private final ModelPart bone5; private final ModelPart bone8; private final ModelPart bone6; private final ModelPart bone7; private final ModelPart bb_main; public tooret(ModelPart root) { this.bone = root.getChild("bone"); this.bone2 = this.bone.getChild("bone2"); this.bone3 = this.bone2.getChild("bone3"); this.bone4 = this.bone2.getChild("bone4"); this.bone5 = this.bone2.getChild("bone5"); this.bone8 = this.bone2.getChild("bone8"); this.bone6 = this.bone2.getChild("bone6"); this.bone7 = this.bone2.getChild("bone7"); this.bb_main = root.getChild("bb_main"); } public static LayerDefinition createBodyLayer() { MeshDefinition meshdefinition = new MeshDefinition(); PartDefinition partdefinition = meshdefinition.getRoot(); PartDefinition bone = partdefinition.addOrReplaceChild("bone", CubeListBuilder.create(), PartPose.offsetAndRotation(0.0F, 16.0F, 0.0F, -0.2182F, 0.0F, 0.0F)); PartDefinition cube_r1 = bone.addOrReplaceChild("cube_r1", CubeListBuilder.create().texOffs(19, 43).addBox(-2.0F, -14.684F, -0.1206F, 4.0F, 16.0F, 5.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.0237F, -4.2164F, -0.1309F, 0.0F, 0.0F)); PartDefinition cube_r2 = bone.addOrReplaceChild("cube_r2", CubeListBuilder.create().texOffs(11, 11).addBox(-4.0F, -13.5321F, -4.2856F, 8.0F, 15.0F, 6.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -15.9763F, 0.7836F, -2.0508F, 0.0F, 0.0F)); PartDefinition cube_r3 = bone.addOrReplaceChild("cube_r3", CubeListBuilder.create().texOffs(16, 49).addBox(-5.0F, -4.6527F, -2.0304F, 10.0F, 9.0F, 6.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -19.0F, -2.0F, 0.3927F, 0.0F, 0.0F)); PartDefinition cube_r4 = bone.addOrReplaceChild("cube_r4", CubeListBuilder.create().texOffs(14, 13).addBox(-3.0F, -12.3512F, 0.4746F, 6.0F, 15.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -0.9763F, 0.7836F, -0.5236F, 0.0F, 0.0F)); PartDefinition bone2 = bone.addOrReplaceChild("bone2", CubeListBuilder.create(), PartPose.offset(0.0F, -22.0785F, -1.449F)); PartDefinition cube_r5 = bone2.addOrReplaceChild("cube_r5", CubeListBuilder.create().texOffs(26, 53).addBox(-1.0F, -2.0F, -3.5F, 2.0F, 4.0F, 7.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -13.8536F, 19.9094F, 1.1781F, 0.0F, 0.0F)); PartDefinition cube_r6 = bone2.addOrReplaceChild("cube_r6", CubeListBuilder.create().texOffs(14, 5).addBox(-2.0F, -5.7315F, 10.9217F, 4.0F, 8.0F, 7.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 0.9034F, 7.122F, 0.7418F, 0.0F, 0.0F)); PartDefinition cube_r7 = bone2.addOrReplaceChild("cube_r7", CubeListBuilder.create().texOffs(0, 15).addBox(-4.0F, -6.2986F, 2.1422F, 8.0F, 8.0F, 9.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -1.6357F, 5.8895F, 0.4363F, 0.0F, 0.0F)); PartDefinition cube_r8 = bone2.addOrReplaceChild("cube_r8", CubeListBuilder.create().texOffs(6, 17).addBox(-5.0F, -5.0F, -15.0F, 10.0F, 3.0F, 7.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, 2.1022F, -5.7674F, -0.1745F, 0.0F, 0.0F)); PartDefinition cube_r9 = bone2.addOrReplaceChild("cube_r9", CubeListBuilder.create().texOffs(0, 0).addBox(-2.0F, -2.0F, -12.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -1.8978F, -5.7674F, 0.2182F, 0.0F, 0.0F)); PartDefinition cube_r10 = bone2.addOrReplaceChild("cube_r10", CubeListBuilder.create().texOffs(0, 12).addBox(-6.0F, -5.0F, -10.0F, 12.0F, 8.0F, 12.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -0.8978F, -5.7674F, 0.2182F, 0.0F, 0.0F)); PartDefinition cube_r11 = bone2.addOrReplaceChild("cube_r11", CubeListBuilder.create().texOffs(0, 12).addBox(-6.0F, -4.0F, -6.0F, 12.0F, 8.0F, 12.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -3.6056F, 1.8265F, 1.5708F, -1.3526F, -1.5708F)); PartDefinition bone3 = bone2.addOrReplaceChild("bone3", CubeListBuilder.create().texOffs(25, 53).addBox(-2.125F, -2.0F, 0.0F, 4.0F, 4.0F, 7.0F, new CubeDeformation(0.0F)) .texOffs(7, 9).addBox(-2.125F, -3.0F, 7.0F, 5.0F, 6.0F, 7.0F, new CubeDeformation(0.0F)) .texOffs(24, 54).addBox(-1.125F, -1.0F, -8.0F, 2.0F, 2.0F, 8.0F, new CubeDeformation(0.0F)) .texOffs(0, 0).addBox(-2.125F, -2.0F, -12.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(8.125F, 1.1614F, -20.582F, 0.2182F, 0.0F, 0.0F)); PartDefinition bone4 = bone2.addOrReplaceChild("bone4", CubeListBuilder.create().texOffs(25, 53).mirror().addBox(-1.875F, -2.0F, 0.0F, 4.0F, 4.0F, 7.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(7, 9).mirror().addBox(-2.875F, -3.0F, 7.0F, 5.0F, 6.0F, 7.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(24, 54).mirror().addBox(-0.875F, -1.0F, -8.0F, 2.0F, 2.0F, 8.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(0, 0).mirror().addBox(-1.875F, -2.0F, -12.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-8.125F, 1.1614F, -20.582F, 0.2182F, 0.0F, 0.0F)); PartDefinition bone5 = bone2.addOrReplaceChild("bone5", CubeListBuilder.create(), PartPose.offset(6.0F, -3.467F, 4.3108F)); PartDefinition cube_r12 = bone5.addOrReplaceChild("cube_r12", CubeListBuilder.create().texOffs(0, 0).addBox(5.0F, -4.0F, 5.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)) .texOffs(25, 48).addBox(-2.0F, -3.0F, 6.0F, 7.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(8.0F, 2.0F, -7.0F, 0.1942F, 0.1001F, -0.4702F)); PartDefinition cube_r13 = bone5.addOrReplaceChild("cube_r13", CubeListBuilder.create().texOffs(1, 24).addBox(-2.0F, -3.0F, 5.0F, 7.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(1.0F, 2.0F, -7.0F, 0.2182F, 0.0F, 0.0F)); PartDefinition bone8 = bone2.addOrReplaceChild("bone8", CubeListBuilder.create(), PartPose.offset(-6.0F, -3.467F, 4.3108F)); PartDefinition cube_r14 = bone8.addOrReplaceChild("cube_r14", CubeListBuilder.create().texOffs(0, 0).mirror().addBox(-9.0F, -4.0F, 5.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(25, 48).mirror().addBox(-5.0F, -3.0F, 6.0F, 7.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-8.0F, 2.0F, -7.0F, 0.1942F, -0.1001F, 0.4702F)); PartDefinition cube_r15 = bone8.addOrReplaceChild("cube_r15", CubeListBuilder.create().texOffs(1, 24).mirror().addBox(-5.0F, -3.0F, 5.0F, 7.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-1.0F, 2.0F, -7.0F, 0.2182F, 0.0F, 0.0F)); PartDefinition bone6 = bone2.addOrReplaceChild("bone6", CubeListBuilder.create(), PartPose.offset(6.0F, -2.467F, -2.6892F)); PartDefinition cube_r16 = bone6.addOrReplaceChild("cube_r16", CubeListBuilder.create().texOffs(0, 0).addBox(5.0F, -4.0F, -2.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)) .texOffs(25, 48).addBox(-2.0F, -3.0F, -1.0F, 7.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(8.0F, 1.0F, 0.0F, 0.1942F, 0.1001F, -0.4702F)); PartDefinition cube_r17 = bone6.addOrReplaceChild("cube_r17", CubeListBuilder.create().texOffs(1, 24).addBox(-2.0F, -3.0F, -2.0F, 7.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(1.0F, 1.0F, 0.0F, 0.2182F, 0.0F, 0.0F)); PartDefinition bone7 = bone2.addOrReplaceChild("bone7", CubeListBuilder.create(), PartPose.offset(-6.0F, -2.467F, -2.6892F)); PartDefinition cube_r18 = bone7.addOrReplaceChild("cube_r18", CubeListBuilder.create().texOffs(0, 0).mirror().addBox(-9.0F, -4.0F, -2.0F, 4.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(25, 48).mirror().addBox(-5.0F, -3.0F, -1.0F, 7.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-8.0F, 1.0F, 0.0F, 0.1942F, -0.1001F, 0.4702F)); PartDefinition cube_r19 = bone7.addOrReplaceChild("cube_r19", CubeListBuilder.create().texOffs(1, 24).mirror().addBox(-5.0F, -3.0F, -2.0F, 7.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-1.0F, 1.0F, 0.0F, 0.2182F, 0.0F, 0.0F)); PartDefinition bb_main = partdefinition.addOrReplaceChild("bb_main", CubeListBuilder.create().texOffs(-1, 13).addBox(-5.0F, -8.0F, -6.0F, 10.0F, 8.0F, 11.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 24.0F, 0.0F)); PartDefinition cube_r20 = bb_main.addOrReplaceChild("cube_r20", CubeListBuilder.create().texOffs(16, 48).addBox(4.0F, 1.0F, -1.0F, 4.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)) .texOffs(2, 24).addBox(-4.0F, -1.0F, -2.0F, 8.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(4.0F, -3.0F, -4.0F, 0.0F, 0.7854F, 0.0F)); PartDefinition cube_r21 = bb_main.addOrReplaceChild("cube_r21", CubeListBuilder.create().texOffs(16, 48).mirror().addBox(-8.0F, 1.0F, -1.0F, 4.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(2, 24).mirror().addBox(-4.0F, -1.0F, -2.0F, 8.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-4.0F, -3.0F, -4.0F, 0.0F, -0.7854F, 0.0F)); PartDefinition cube_r22 = bb_main.addOrReplaceChild("cube_r22", CubeListBuilder.create().texOffs(16, 48).mirror().addBox(-8.0F, 1.0F, -1.0F, 4.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)).mirror(false) .texOffs(2, 24).mirror().addBox(-4.0F, -1.0F, -2.0F, 8.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)).mirror(false), PartPose.offsetAndRotation(-5.0F, -3.0F, 6.0F, 0.0F, 0.7854F, 0.0F)); PartDefinition cube_r23 = bb_main.addOrReplaceChild("cube_r23", CubeListBuilder.create().texOffs(16, 48).addBox(4.0F, 1.0F, -1.0F, 4.0F, 2.0F, 2.0F, new CubeDeformation(0.0F)) .texOffs(2, 24).addBox(-4.0F, -1.0F, -2.0F, 8.0F, 4.0F, 4.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(5.0F, -3.0F, 6.0F, 0.0F, -0.7854F, 0.0F)); return LayerDefinition.create(meshdefinition, 64, 64); } @Override public void setupAnim(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) { } @Override public void renderToBuffer(PoseStack poseStack, VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) { bone.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha); bb_main.render(poseStack, vertexConsumer, packedLight, packedOverlay, red, green, blue, alpha); } }