diff options
| author | Lance5057 <Lance5057@gmail.com> | 2015-01-21 20:17:38 -0600 |
|---|---|---|
| committer | Lance5057 <Lance5057@gmail.com> | 2015-01-21 20:17:38 -0600 |
| commit | 6925bf39ee227970c19b979806d52bf6a0ca5b3b (patch) | |
| tree | 8b0d55d2c2f31afaa1a227a896350002b84a8431 /ModelCrestMount.java | |
| parent | 24a21323e9a70c8115e467465cc86a977277f293 (diff) | |
Rearranged some stuff to make it cleaner.
Diffstat (limited to 'ModelCrestMount.java')
| -rw-r--r-- | ModelCrestMount.java | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/ModelCrestMount.java b/ModelCrestMount.java deleted file mode 100644 index 53f8244..0000000 --- a/ModelCrestMount.java +++ /dev/null @@ -1,83 +0,0 @@ -// Date: 1/18/2015 9:46:49 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 ModelCrestMount extends ModelBase -{ - //fields - ModelRenderer ShieldMount; - ModelRenderer Base; - ModelRenderer SwordMount1; - ModelRenderer SwordMount2; - ModelRenderer SwordMount3; - - public ModelCrestMount() - { - textureWidth = 32; - textureHeight = 32; - - ShieldMount = new ModelRenderer(this, 20, 6); - ShieldMount.addBox(0F, 0F, 0F, 2, 7, 2); - ShieldMount.setRotationPoint(-1F, 17F, -1F); - ShieldMount.setTextureSize(32, 32); - ShieldMount.mirror = true; - setRotation(ShieldMount, 0F, 0F, 0F); - Base = new ModelRenderer(this, 0, 6); - Base.addBox(0F, 0F, 0F, 4, 4, 4); - Base.setRotationPoint(-2F, 20F, -2F); - Base.setTextureSize(32, 32); - Base.mirror = true; - setRotation(Base, 0F, 0F, 0F); - SwordMount1 = new ModelRenderer(this, 0, 0); - SwordMount1.addBox(-5F, 0F, -2F, 10, 2, 4); - SwordMount1.setRotationPoint(0F, 22F, 0F); - SwordMount1.setTextureSize(32, 32); - SwordMount1.mirror = true; - setRotation(SwordMount1, 0F, 0.7853982F, 0F); - SwordMount2 = new ModelRenderer(this, 0, 0); - SwordMount2.addBox(-5F, 0F, -2F, 10, 2, 4); - SwordMount2.setRotationPoint(0F, 22F, 0F); - SwordMount2.setTextureSize(32, 32); - SwordMount2.mirror = true; - setRotation(SwordMount2, 0F, -0.7853982F, 0F); - SwordMount3 = new ModelRenderer(this, 0, 0); - SwordMount3.addBox(-5F, 0F, -2F, 10, 2, 4); - SwordMount3.setRotationPoint(0F, 21.9F, 0F); - SwordMount3.setTextureSize(32, 32); - SwordMount3.mirror = true; - setRotation(SwordMount3, 0F, 1.570796F, 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); - ShieldMount.render(f5); - Base.render(f5); - SwordMount1.render(f5); - SwordMount2.render(f5); - SwordMount3.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); - } - -} |
