diff --git a/src/main/resources/assets/botania/textures/model/teruTeruBozu.png b/src/main/resources/assets/botania/textures/model/teruTeruBozu.png index 38b46b60c..c88998d7e 100644 Binary files a/src/main/resources/assets/botania/textures/model/teruTeruBozu.png and b/src/main/resources/assets/botania/textures/model/teruTeruBozu.png differ diff --git a/src/main/resources/assets/botania/textures/model/unused/teruTeruBozu.java b/src/main/resources/assets/botania/textures/model/unused/teruTeruBozu.java new file mode 100644 index 000000000..51709f0bb --- /dev/null +++ b/src/main/resources/assets/botania/textures/model/unused/teruTeruBozu.java @@ -0,0 +1,53 @@ +package model; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +/** + * teruTeruBozu - wiiv + * Created using Tabula 4.1.1 + */ +public class teruTeruBozu extends ModelBase { + public ModelRenderer thread; + public ModelRenderer cloth; + public ModelRenderer happyFace; + public ModelRenderer sadFace; + + public teruTeruBozu() { + this.textureWidth = 64; + this.textureHeight = 32; + this.sadFace = new ModelRenderer(this, 32, 0); + this.sadFace.setRotationPoint(0.0F, 14.5F, 0.0F); + this.sadFace.addBox(-4.0F, -6.0F, -4.0F, 8, 8, 8, 0.0F); + this.setRotateAngle(sadFace, 0.17453292519943295F, 0.0F, 0.0F); + this.happyFace = new ModelRenderer(this, 0, 0); + this.happyFace.setRotationPoint(0.0F, 14.5F, 0.0F); + this.happyFace.addBox(-4.0F, -6.0F, -4.0F, 8, 8, 8, 0.0F); + this.setRotateAngle(happyFace, -0.17453292519943295F, 0.0F, 0.0F); + this.thread = new ModelRenderer(this, 32, 16); + this.thread.setRotationPoint(0.0F, 14.0F, 0.0F); + this.thread.addBox(-3.0F, 2.0F, -3.0F, 6, 1, 6, 0.0F); + this.cloth = new ModelRenderer(this, 0, 16); + this.cloth.setRotationPoint(0.0F, 21.5F, -1.0F); + this.cloth.addBox(-4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F); + this.setRotateAngle(cloth, 0.7853981633974483F, 2.2689280275926285F, 1.5707963267948966F); + } + + @Override + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { + this.sadFace.render(f5); + this.happyFace.render(f5); + this.thread.render(f5); + this.cloth.render(f5); + } + + /** + * This is a helper function from Tabula to set the rotation of model parts + */ + public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) { + modelRenderer.rotateAngleX = x; + modelRenderer.rotateAngleY = y; + modelRenderer.rotateAngleZ = z; + } +}