content: package com.github.alexthe666.rats.client.model.hats;
  
  import net.minecraft.client.model.HumanoidModel;
  import net.minecraft.client.model.geom.ModelPart;
  import net.minecraft.client.model.geom.PartPose;
  import net.minecraft.client.model.geom.builders.*;
  
  public class RatFezModel extends AbstractHatModel {
  
  	public RatFezModel(ModelPart root) {
  		super(root);
  	}
  
  	public static LayerDefinition create() {
  		MeshDefinition mesh = HumanoidModel.createMesh(CubeDeformation.NONE, 0.0F);
  		PartDefinition partdefinition = mesh.getRoot();
  
  		partdefinition.addOrReplaceChild("head", CubeListBuilder.create(), PartPose.ZERO);
  		partdefinition.addOrReplaceChild("hat", CubeListBuilder.create(), PartPose.ZERO);
  
  		PartDefinition hat = partdefinition.getChild("head").addOrReplaceChild("hat", CubeListBuilder.create().texOffs(0, 0).addBox(-2.5F, -6.0F, -2.5F, 5.0F, 6.0F, 5.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(2.0F, -6.0F, 2.0F, -0.4363F, 0.0F, 0.3491F));
  
  		hat.addOrReplaceChild("ribbons", CubeListBuilder.create().texOffs(0, 11).addBox(0.0F, -1.0F, -1.0F, 3.0F, 5.0F, 2.0F, new CubeDeformation(0.0F)), PartPose.offsetAndRotation(0.0F, -6.0F, 0.0F, 0.0F, 0.0F, -0.2618F));
  
  		return LayerDefinition.create(mesh, 64, 32);
  	}
  }
  