From c0b37cc9f67e03f29bca2da17561703e802cd60f Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Sat, 26 Oct 2013 18:57:38 -0400 Subject: [PATCH] Added wasp model and texture --- .../entities/models/ModelWasp.java | 163 ++++++++++++++++++ .../biomesoplenty/textures/models/wasp.png | Bin 0 -> 4183 bytes 2 files changed, 163 insertions(+) create mode 100644 common/biomesoplenty/entities/models/ModelWasp.java create mode 100644 resources/assets/biomesoplenty/textures/models/wasp.png diff --git a/common/biomesoplenty/entities/models/ModelWasp.java b/common/biomesoplenty/entities/models/ModelWasp.java new file mode 100644 index 000000000..4dc73f3d7 --- /dev/null +++ b/common/biomesoplenty/entities/models/ModelWasp.java @@ -0,0 +1,163 @@ +// Date: 10/26/2013 6:50:10 PM +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + + + + + + +package net.minecraft.src; + +public class ModelWasp extends ModelBase +{ + //fields + ModelRenderer Body; + ModelRenderer Body; + ModelRenderer Stinger; + ModelRenderer Left_Leg; + ModelRenderer Left_Leg; + ModelRenderer Left_Leg; + ModelRenderer Right_Leg; + ModelRenderer Right_Leg; + ModelRenderer Right_Leg; + ModelRenderer Left_Wing; + ModelRenderer Right_Wing; + ModelRenderer Head; + ModelRenderer Head; + ModelRenderer Antenna; + ModelRenderer Antenna; + + public ModelBee() + { + textureWidth = 64; + textureHeight = 32; + + Body = new ModelRenderer(this, 0, 0); + Body.addBox(0F, 0F, 0F, 5, 5, 8); + Body.setRotationPoint(0F, 0F, 0F); + Body.setTextureSize(64, 32); + Body.mirror = true; + setRotation(Body, 0F, 0F, 0F); + Body = new ModelRenderer(this, 0, 13); + Body.addBox(0F, 0F, 0F, 3, 3, 2); + Body.setRotationPoint(1F, 2F, -2F); + Body.setTextureSize(64, 32); + Body.mirror = true; + setRotation(Body, 0F, 0F, 0F); + Stinger = new ModelRenderer(this, 0, 18); + Stinger.addBox(0F, 0F, 0F, 1, 1, 3); + Stinger.setRotationPoint(2F, 4F, -5F); + Stinger.setTextureSize(64, 32); + Stinger.mirror = true; + setRotation(Stinger, 0F, 0F, 0F); + Left_Leg = new ModelRenderer(this, 13, 23); + Left_Leg.addBox(0F, 0F, 0F, 1, 4, 1); + Left_Leg.setRotationPoint(-1F, 4F, 1F); + Left_Leg.setTextureSize(64, 32); + Left_Leg.mirror = true; + setRotation(Left_Leg, 0F, 0F, 0F); + Left_Leg = new ModelRenderer(this, 13, 23); + Left_Leg.addBox(0F, 0F, 0F, 1, 3, 1); + Left_Leg.setRotationPoint(-1F, 4F, 4F); + Left_Leg.setTextureSize(64, 32); + Left_Leg.mirror = true; + setRotation(Left_Leg, 0F, 0F, 0F); + Left_Leg = new ModelRenderer(this, 13, 23); + Left_Leg.addBox(0F, 0F, 0F, 1, 4, 1); + Left_Leg.setRotationPoint(-1F, 4F, 6F); + Left_Leg.setTextureSize(64, 32); + Left_Leg.mirror = true; + setRotation(Left_Leg, 0F, 0F, 0F); + Right_Leg = new ModelRenderer(this, 13, 23); + Right_Leg.addBox(0F, 0F, 0F, 1, 4, 1); + Right_Leg.setRotationPoint(5F, 4F, 1F); + Right_Leg.setTextureSize(64, 32); + Right_Leg.mirror = true; + setRotation(Right_Leg, 0F, 0F, 0F); + Right_Leg = new ModelRenderer(this, 13, 23); + Right_Leg.addBox(0F, 0F, 0F, 1, 3, 1); + Right_Leg.setRotationPoint(5F, 4F, 4F); + Right_Leg.setTextureSize(64, 32); + Right_Leg.mirror = true; + setRotation(Right_Leg, 0F, 0F, 0F); + Right_Leg = new ModelRenderer(this, 13, 23); + Right_Leg.addBox(0F, 0F, 0F, 1, 4, 1); + Right_Leg.setRotationPoint(5F, 4F, 6F); + Right_Leg.setTextureSize(64, 32); + Right_Leg.mirror = true; + setRotation(Right_Leg, 0F, 0F, 0F); + Left_Wing = new ModelRenderer(this, 24, 26); + Left_Wing.addBox(0F, 0F, 0F, 8, 1, 5); + Left_Wing.setRotationPoint(-7F, -1F, 2F); + Left_Wing.setTextureSize(64, 32); + Left_Wing.mirror = true; + setRotation(Left_Wing, 0F, 0F, 0F); + Right_Wing = new ModelRenderer(this, 24, 20); + Right_Wing.addBox(0F, 0F, 0F, 8, 1, 5); + Right_Wing.setRotationPoint(4F, -1F, 2F); + Right_Wing.setTextureSize(64, 32); + Right_Wing.mirror = true; + setRotation(Right_Wing, 0F, 0F, 0F); + Head = new ModelRenderer(this, 46, 0); + Head.addBox(0F, 0F, 0F, 5, 5, 4); + Head.setRotationPoint(0F, -2F, 8F); + Head.setTextureSize(64, 32); + Head.mirror = true; + setRotation(Head, 0F, 0F, 0F); + Head = new ModelRenderer(this, 54, 9); + Head.addBox(0F, 0F, 0F, 3, 4, 2); + Head.setRotationPoint(1F, 0F, 11F); + Head.setTextureSize(64, 32); + Head.mirror = true; + setRotation(Head, 0F, 0F, 0F); + Antenna = new ModelRenderer(this, 54, 27); + Antenna.addBox(0F, 0F, 0F, 1, 1, 4); + Antenna.setRotationPoint(1F, -3F, 10F); + Antenna.setTextureSize(64, 32); + Antenna.mirror = true; + setRotation(Antenna, 0F, 0F, 0F); + Antenna = new ModelRenderer(this, 54, 27); + Antenna.addBox(0F, 0F, 0F, 1, 1, 4); + Antenna.setRotationPoint(3F, -3F, 10F); + Antenna.setTextureSize(64, 32); + Antenna.mirror = true; + setRotation(Antenna, 0F, 0F, 0F); + } + + public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) + { + super.render(entity, f, f1, f2, f3, f4, f5); + setRotationAngles(f, f1, f2, f3, f4, f5); + Body.render(f5); + Body.render(f5); + Stinger.render(f5); + Left_Leg.render(f5); + Left_Leg.render(f5); + Left_Leg.render(f5); + Right_Leg.render(f5); + Right_Leg.render(f5); + Right_Leg.render(f5); + Left_Wing.render(f5); + Right_Wing.render(f5); + Head.render(f5); + Head.render(f5); + Antenna.render(f5); + Antenna.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } + + public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) + { + super.setRotationAngles(f, f1, f2, f3, f4, f5); + } + +} diff --git a/resources/assets/biomesoplenty/textures/models/wasp.png b/resources/assets/biomesoplenty/textures/models/wasp.png new file mode 100644 index 0000000000000000000000000000000000000000..b24a22ec4db46860674fb821c7c58bd0725edd78 GIT binary patch literal 4183 zcmV-d5UB5oP)N2bPDNB8 zb~7$DE-^7j^FlWO01wkiL_t(&L)BSnbX8TBK5riHn_ph?<|%oZAs>QP54EyIfuyukFOs8RzB=JYwf?cvHX9RkUNoQnQ5b{FIHG8g`Hdm#?Y z5G-LPgS=o3pDZzmLr2WuFz99PnJiW@-Yo(?mvW{+r;G}2>@37bZy8Zm))Qym_5knp z#_>7{=hg>sv%QGsnZ((K99S)8@qIHnSioYHFVI58s3OPj7h~%LhN~@c9DUP(v#WjB zK2ZnBWry4Cg2U=SNl`H@l0&8zg_A~EunIk~z-p6?;c-dKs2J&P!I>%Ih~V}Ub?H4$ zdY%gGEkS8T83qly2k~SK*jI*}oE&5d3*mHm5KAObR$2;u*844HnwQCHVLGjz*=ST@ zQLJOo8<b4XvHiqyKvGwNeB198$^q}v!T@HM)H35n#8!hw>@8|f5A|!$aE!#QWiOZX!xY8OY zF$rVcC@p+}0LWDVv~eXy9I?< z7R6E6-y89G9DVxq!L@A}nqvatXcRqq_d+_I#)WkOe6}HsqM{=4xwA2dPgZ$I4>It2 z-N5hq;xaLtd8FH8E1HTjo8l!C8NlV1P*|7`tK=p+))?0dY1PB-N)zTw2w&u^YimXDBxgEbPx-^*qXxS<`^zehB&u62h2_BMAZ{o9MfA2 zOsCfnon<3zAq_bEh70Z08f+ZLgaAqoy9fpKh$f>HTe8UANpT%1x7BW8J`&b%g1oTI zB$rEe7!LHhwYbmLM{r_=3m&%@1MV3}h6xc{kn7!Ayn z9acOq8=&oV2Dj6LLvw@{z~%FZF~=96=P)u3J&&N#D0%#wg2Xl!$;0K1dF0U~@caHm z>0UHqa1p_!kg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