From 913618afe6662da2fd0d60764bee40f54b16d018 Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Sat, 21 Sep 2013 23:31:10 -0400 Subject: [PATCH] Started work on electric furnace model --- models/ElectricFurnace.tcn | Bin 0 -> 775 bytes .../dark/textures/models/ElecFurnace.png | Bin 0 -> 1213 bytes .../core/client/models/ModelElecFurnace.java | 90 ++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 models/ElectricFurnace.tcn create mode 100644 resources/assets/dark/textures/models/ElecFurnace.png create mode 100644 src/dark/core/client/models/ModelElecFurnace.java diff --git a/models/ElectricFurnace.tcn b/models/ElectricFurnace.tcn new file mode 100644 index 0000000000000000000000000000000000000000..39ab43c53d108af4f7aef53b837fdff56858bd22 GIT binary patch literal 775 zcmWIWW@Zs#U|`^22;E`oJR{hc&zp&X;e!wZ11EzDLvDUbYK~q-ZVnfN0#FeH10#b3 zgXr316Nl~R7}4psGXnE(83-J|um0BBrIO8uNl{_vv|UQ8>^6k5`i9>3DRNjQpnUx0 zDZ9TpkE=L!wI*jAab{t9_pW~W>8I**B+e^Fr9b$?GEZG+chTRz_mkGg%dp3bC!MvZ zY`sxlB#sp`R98Nly37Yo45lXpIH#c*DuPsXZaQ6FVjsGscK zb1iI#Ilsx}mf~Zljb5+RsMncp$#IF#y75hXZDLA|=v~{>!p1WG`wTbrb-iiqJjJs% zHt_5udxt#>p8nh<;dW~c$Fu5xKFW8e>F-|k%PT|i>@~{-;hftWzWrRoE1G$j-%@%W z`({V)Ah9`4k=w;ii20aIh~-Jy7jK?=aDmvFq+=C_Z$2+J%cz{RS!%lP{g7WXwk!-k zzbaDaKz6|H1=S}0%0+y)s$R*ht>?;F9GJV|CvVPlmgv7*zWyqGbS=AJx5AyK%@@Vy zc+9Q|_$zUce(_pML0oHDh=>vWrL(-Muuo0V;V5IGcW)EG(AY% literal 0 HcmV?d00001 diff --git a/resources/assets/dark/textures/models/ElecFurnace.png b/resources/assets/dark/textures/models/ElecFurnace.png new file mode 100644 index 0000000000000000000000000000000000000000..0ced27625655cb96242e37673381e82dadde6460 GIT binary patch literal 1213 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRSjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucH9?*(jv*CsZ|@p*3p!AZUzWzL_zolSd|8pb7k+etOM+j9OLy;mDIRR0%nEaLW$ly$tgUSnUu zuR~|d*yPz({at2Te*5feU(;K1vQ_ua+uMgec2&OrTZuVh^C^bjc3#c*UV?VK>b{MU z=HB!4?X_z}wSKzn57T#ho^^a(remH7Yz?zH7|sha%sU+`oDuwg`u1<<*PZK^+V9FT`|m!h%X9wk-g9~9 znkl>VH+jcxyw_gW*w^w>NPhEvKlN+BEh=VpEc$Wcd157(DP!}&bk(PQcGs493l>Uf z6;JTXdw<7MZmy}skt+GikAEKLSDfYBw7_TTTxOQV6VH9fs@lDMx{cNS3YiJFyhAh? zqSk5~`Tqa=FKwZ+@mU5p1G_qzg;%-0*e&xtaEvX!?xq@JLA3nT?_bsHvMp>rdY?68 zeEY3np}zXNvQQaWd!-qeCa6&wtZm}uaC!xk_@ch9#MT;Jwg z6+BYP{QA5WbHUvMzZP?Tm?O-1pp-fMcqhYyU5%?B#|Q&?tDnX&0Hw1m%lQ(3^s5`S z7rwAun^)}1u*#L8q7RY+)=9sxG=f^7zHD!zYkO%o-(#bk*K0h(3oh!#UT%%vqdje1 zxVZ1Grn7tYyDo1u58km%*ve>ab**d|phL<xEZ)yI((E QrwJ1FboFyt=akR{0ACv&YXATM literal 0 HcmV?d00001 diff --git a/src/dark/core/client/models/ModelElecFurnace.java b/src/dark/core/client/models/ModelElecFurnace.java new file mode 100644 index 000000000..3a5d877b1 --- /dev/null +++ b/src/dark/core/client/models/ModelElecFurnace.java @@ -0,0 +1,90 @@ +// Date: 9/21/2013 11:03:18 PM +// Template version 1.1 +// Java generated by Techne +// Keep in mind that you still need to fill in some blanks +// - ZeuX + +package dark.core.client.models; + +import net.minecraft.client.model.ModelBase; +import net.minecraft.client.model.ModelRenderer; +import net.minecraft.entity.Entity; + +public class ModelElecFurnace extends ModelBase +{ + //fields + ModelRenderer body; + ModelRenderer top; + ModelRenderer bot; + ModelRenderer door; + ModelRenderer tube1; + ModelRenderer tube2; + ModelRenderer tube3; + + public ModelElecFurnace() + { + textureWidth = 128; + textureHeight = 128; + + body = new ModelRenderer(this, 0, 25); + body.addBox(-7.5F, 0F, -7.5F, 15, 12, 10); + body.setRotationPoint(0F, 10F, 1F); + body.setTextureSize(128, 128); + body.mirror = true; + setRotation(body, 0F, 0F, 0F); + top = new ModelRenderer(this, 0, 0); + top.addBox(-8F, 0F, -8F, 16, 2, 15); + top.setRotationPoint(0F, 8F, 1F); + top.setTextureSize(128, 128); + top.mirror = true; + setRotation(top, 0F, 0F, 0F); + bot = new ModelRenderer(this, 0, 56); + bot.addBox(-8F, 0F, -8F, 16, 2, 15); + bot.setRotationPoint(0F, 22F, 1F); + bot.setTextureSize(128, 128); + bot.mirror = true; + setRotation(bot, 0F, 0F, 0F); + door = new ModelRenderer(this, 0, 81); + door.addBox(-6F, 1F, -8.5F, 12, 10, 1); + door.setRotationPoint(0F, 10F, 1F); + door.setTextureSize(128, 128); + door.mirror = true; + setRotation(door, 0F, 0F, 0F); + tube1 = new ModelRenderer(this, 0, 99); + tube1.addBox(-7.5F, 0F, -7.5F, 3, 12, 4); + tube1.setRotationPoint(1F, 10F, 11F); + tube1.setTextureSize(128, 128); + tube1.mirror = true; + setRotation(tube1, 0F, 0F, 0F); + tube2 = new ModelRenderer(this, 34, 99); + tube2.addBox(-7.5F, 0F, -7.5F, 3, 12, 4); + tube2.setRotationPoint(11F, 10F, 11F); + tube2.setTextureSize(128, 128); + tube2.mirror = true; + setRotation(tube2, 0F, 0F, 0F); + tube3 = new ModelRenderer(this, 15, 99); + tube3.addBox(-7.5F, 0F, -7.5F, 5, 12, 4); + tube3.setRotationPoint(5F, 10F, 11F); + tube3.setTextureSize(128, 128); + tube3.mirror = true; + setRotation(tube3, 0F, 0F, 0F); + } + + public void render(float f5) + { + body.render(f5); + top.render(f5); + bot.render(f5); + door.render(f5); + tube1.render(f5); + tube2.render(f5); + tube3.render(f5); + } + + private void setRotation(ModelRenderer model, float x, float y, float z) + { + model.rotateAngleX = x; + model.rotateAngleY = y; + model.rotateAngleZ = z; + } +}