summaryrefslogtreecommitdiff
path: root/src/main/java/jp/plusplus/fbs/pottery/model/ModelPotLarge.java
blob: b626ff3a8b6fc6fac08d707854b8aa90cf356078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
// Date: 2015/08/26 23:20:57
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX

package jp.plusplus.fbs.pottery.model;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelPotLarge extends ModelBase {
    //fields
    ModelRenderer Shape1;
    ModelRenderer Shape2;
    ModelRenderer Shape2b;
    ModelRenderer Shape2c;
    ModelRenderer Shape2d;
    ModelRenderer Shape3;
    ModelRenderer Shape3b;
    ModelRenderer Shape3c;
    ModelRenderer Shape3d;
    ModelRenderer Shape4;
    ModelRenderer Shape4b;
    ModelRenderer Shape4c;
    ModelRenderer Shape4d;
    ModelRenderer Shape5;
    ModelRenderer Shape5b;
    ModelRenderer Shape5c;
    ModelRenderer Shape5d;
    ModelRenderer Shape6;
    ModelRenderer Shape6b;
    ModelRenderer Shape6c;
    ModelRenderer Shape6d;
    ModelRenderer Shape7;
    ModelRenderer Shape7b;
    ModelRenderer Shape7c;
    ModelRenderer Shape7d;
    ModelRenderer Shape8;
    ModelRenderer Shape8b;
    ModelRenderer Shape8c;
    ModelRenderer Shape8d;

    public ModelPotLarge() {
        textureWidth = 64;
        textureHeight = 32;

        Shape1 = new ModelRenderer(this, 0, 0);
        Shape1.addBox(-5F, 7F, -5F, 10, 1, 10);
        Shape1.setRotationPoint(0F, 16F, 0F);
        Shape1.setTextureSize(64, 32);
        Shape1.mirror = true;
        setRotation(Shape1, 0F, 0F, 0F);
        Shape2 = new ModelRenderer(this, 30, 0);
        Shape2.addBox(-5F, 5F, -6F, 11, 3, 1);
        Shape2.setRotationPoint(0F, 15F, 0F);
        Shape2.setTextureSize(64, 32);
        Shape2.mirror = true;
        setRotation(Shape2, 0F, 0F, 0F);
        Shape2b = new ModelRenderer(this, 30, 0);
        Shape2b.addBox(-5F, 5F, -6F, 11, 3, 1);
        Shape2b.setRotationPoint(0F, 15F, 0F);
        Shape2b.setTextureSize(64, 32);
        Shape2b.mirror = true;
        setRotation(Shape2b, 0F, -1.570796F, 0F);
        Shape2c = new ModelRenderer(this, 30, 0);
        Shape2c.addBox(-5F, 5F, -6F, 11, 3, 1);
        Shape2c.setRotationPoint(0F, 15F, 0F);
        Shape2c.setTextureSize(64, 32);
        Shape2c.mirror = true;
        setRotation(Shape2c, 0F, 1.570796F, 0F);
        Shape2d = new ModelRenderer(this, 30, 0);
        Shape2d.addBox(-5F, 5F, -6F, 11, 3, 1);
        Shape2d.setRotationPoint(0F, 15F, 0F);
        Shape2d.setTextureSize(64, 32);
        Shape2d.mirror = true;
        setRotation(Shape2d, 0F, 3.141593F, 0F);
        Shape3 = new ModelRenderer(this, 30, 4);
        Shape3.addBox(-6F, 1F, -7F, 13, 3, 1);
        Shape3.setRotationPoint(0F, 16F, 0F);
        Shape3.setTextureSize(64, 32);
        Shape3.mirror = true;
        setRotation(Shape3, 0F, 0F, 0F);
        Shape3b = new ModelRenderer(this, 30, 4);
        Shape3b.addBox(-6F, 1F, -7F, 13, 3, 1);
        Shape3b.setRotationPoint(0F, 16F, 0F);
        Shape3b.setTextureSize(64, 32);
        Shape3b.mirror = true;
        setRotation(Shape3b, 0F, -1.570796F, 0F);
        Shape3c = new ModelRenderer(this, 30, 4);
        Shape3c.addBox(-6F, 1F, -7F, 13, 3, 1);
        Shape3c.setRotationPoint(0F, 16F, 0F);
        Shape3c.setTextureSize(64, 32);
        Shape3c.mirror = true;
        setRotation(Shape3c, 0F, 1.570796F, 0F);
        Shape3d = new ModelRenderer(this, 30, 4);
        Shape3d.addBox(-6F, 1F, -7F, 13, 3, 1);
        Shape3d.setRotationPoint(0F, 16F, 0F);
        Shape3d.setTextureSize(64, 32);
        Shape3d.mirror = true;
        setRotation(Shape3d, 0F, 3.141593F, 0F);
        Shape4 = new ModelRenderer(this, 0, 11);
        Shape4.addBox(-7F, -2F, -8F, 15, 3, 1);
        Shape4.setRotationPoint(0F, 16F, 0F);
        Shape4.setTextureSize(64, 32);
        Shape4.mirror = true;
        setRotation(Shape4, 0F, 0F, 0F);
        Shape4b = new ModelRenderer(this, 0, 11);
        Shape4b.addBox(-7F, -2F, -8F, 15, 3, 1);
        Shape4b.setRotationPoint(0F, 16F, 0F);
        Shape4b.setTextureSize(64, 32);
        Shape4b.mirror = true;
        setRotation(Shape4b, 0F, -1.570796F, 0F);
        Shape4c = new ModelRenderer(this, 0, 11);
        Shape4c.addBox(-7F, -2F, -8F, 15, 3, 1);
        Shape4c.setRotationPoint(0F, 16F, 0F);
        Shape4c.setTextureSize(64, 32);
        Shape4c.mirror = true;
        setRotation(Shape4c, 0F, 1.570796F, 0F);
        Shape4d = new ModelRenderer(this, 0, 11);
        Shape4d.addBox(-7F, -2F, -8F, 15, 3, 1);
        Shape4d.setRotationPoint(0F, 16F, 0F);
        Shape4d.setTextureSize(64, 32);
        Shape4d.mirror = true;
        setRotation(Shape4d, 0F, 3.141593F, 0F);
        Shape5 = new ModelRenderer(this, 34, 11);
        Shape5.addBox(-6F, -4F, -7F, 13, 2, 1);
        Shape5.setRotationPoint(0F, 16F, 0F);
        Shape5.setTextureSize(64, 32);
        Shape5.mirror = true;
        setRotation(Shape5, 0F, 0F, 0F);
        Shape5b = new ModelRenderer(this, 34, 11);
        Shape5b.addBox(-6F, -4F, -7F, 13, 2, 1);
        Shape5b.setRotationPoint(0F, 16F, 0F);
        Shape5b.setTextureSize(64, 32);
        Shape5b.mirror = true;
        setRotation(Shape5b, 0F, -1.570796F, 0F);
        Shape5c = new ModelRenderer(this, 34, 11);
        Shape5c.addBox(-6F, -4F, -7F, 13, 2, 1);
        Shape5c.setRotationPoint(0F, 16F, 0F);
        Shape5c.setTextureSize(64, 32);
        Shape5c.mirror = true;
        setRotation(Shape5c, 0F, 1.570796F, 0F);
        Shape5d = new ModelRenderer(this, 34, 11);
        Shape5d.addBox(-6F, -4F, -7F, 13, 2, 1);
        Shape5d.setRotationPoint(0F, 16F, 0F);
        Shape5d.setTextureSize(64, 32);
        Shape5d.mirror = true;
        setRotation(Shape5d, 0F, 3.141593F, 0F);
        Shape6 = new ModelRenderer(this, 0, 15);
        Shape6.addBox(-2F, -5F, -6F, 8, 1, 4);
        Shape6.setRotationPoint(0F, 16F, 0F);
        Shape6.setTextureSize(64, 32);
        Shape6.mirror = true;
        setRotation(Shape6, 0F, 0F, 0F);
        Shape6b = new ModelRenderer(this, 0, 15);
        Shape6b.addBox(-2F, -5F, -6F, 8, 1, 4);
        Shape6b.setRotationPoint(0F, 16F, 0F);
        Shape6b.setTextureSize(64, 32);
        Shape6b.mirror = true;
        setRotation(Shape6b, 0F, -1.570796F, 0F);
        Shape6c = new ModelRenderer(this, 0, 15);
        Shape6c.addBox(-2F, -5F, -6F, 8, 1, 4);
        Shape6c.setRotationPoint(0F, 16F, 0F);
        Shape6c.setTextureSize(64, 32);
        Shape6c.mirror = true;
        setRotation(Shape6c, 0F, 1.570796F, 0F);
        Shape6d = new ModelRenderer(this, 0, 15);
        Shape6d.addBox(-2F, -5F, -6F, 8, 1, 4);
        Shape6d.setRotationPoint(0F, 16F, 0F);
        Shape6d.setTextureSize(64, 32);
        Shape6d.mirror = true;
        setRotation(Shape6d, 0F, 3.141593F, 0F);
        Shape7 = new ModelRenderer(this, 0, 0);
        Shape7.addBox(-1F, -7F, -2F, 3, 2, 1);
        Shape7.setRotationPoint(0F, 16F, 0F);
        Shape7.setTextureSize(64, 32);
        Shape7.mirror = true;
        setRotation(Shape7, 0F, 0F, 0F);
        Shape7b = new ModelRenderer(this, 0, 0);
        Shape7b.addBox(-1F, -7F, -2F, 3, 2, 1);
        Shape7b.setRotationPoint(0F, 16F, 0F);
        Shape7b.setTextureSize(64, 32);
        Shape7b.mirror = true;
        setRotation(Shape7b, 0F, -1.570796F, 0F);
        Shape7c = new ModelRenderer(this, 0, 0);
        Shape7c.addBox(-1F, -7F, -2F, 3, 2, 1);
        Shape7c.setRotationPoint(0F, 16F, 0F);
        Shape7c.setTextureSize(64, 32);
        Shape7c.mirror = true;
        setRotation(Shape7c, 0F, 1.570796F, 0F);
        Shape7d = new ModelRenderer(this, 0, 0);
        Shape7d.addBox(-1F, -7F, -2F, 3, 2, 1);
        Shape7d.setRotationPoint(0F, 16F, 0F);
        Shape7d.setTextureSize(64, 32);
        Shape7d.mirror = true;
        setRotation(Shape7d, 0F, 3.141593F, 0F);
        Shape8 = new ModelRenderer(this, 30, 8);
        Shape8.addBox(-2F, -8F, -3F, 5, 1, 1);
        Shape8.setRotationPoint(0F, 16F, 0F);
        Shape8.setTextureSize(64, 32);
        Shape8.mirror = true;
        setRotation(Shape8, 0F, 0F, 0F);
        Shape8b = new ModelRenderer(this, 30, 8);
        Shape8b.addBox(-2F, -8F, -3F, 5, 1, 1);
        Shape8b.setRotationPoint(0F, 16F, 0F);
        Shape8b.setTextureSize(64, 32);
        Shape8b.mirror = true;
        setRotation(Shape8b, 0F, -1.570796F, 0F);
        Shape8c = new ModelRenderer(this, 30, 8);
        Shape8c.addBox(-2F, -8F, -3F, 5, 1, 1);
        Shape8c.setRotationPoint(0F, 16F, 0F);
        Shape8c.setTextureSize(64, 32);
        Shape8c.mirror = true;
        setRotation(Shape8c, 0F, 1.570796F, 0F);
        Shape8d = new ModelRenderer(this, 30, 8);
        Shape8d.addBox(-2F, -8F, -3F, 5, 1, 1);
        Shape8d.setRotationPoint(0F, 16F, 0F);
        Shape8d.setTextureSize(64, 32);
        Shape8d.mirror = true;
        setRotation(Shape8d, 0F, 3.141593F, 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);
        Shape1.render(f5);
        Shape2.render(f5);
        Shape2b.render(f5);
        Shape2c.render(f5);
        Shape2d.render(f5);
        Shape3.render(f5);
        Shape3b.render(f5);
        Shape3c.render(f5);
        Shape3d.render(f5);
        Shape4.render(f5);
        Shape4b.render(f5);
        Shape4c.render(f5);
        Shape4d.render(f5);
        Shape5.render(f5);
        Shape5b.render(f5);
        Shape5c.render(f5);
        Shape5d.render(f5);
        Shape6.render(f5);
        Shape6b.render(f5);
        Shape6c.render(f5);
        Shape6d.render(f5);
        Shape7.render(f5);
        Shape7b.render(f5);
        Shape7c.render(f5);
        Shape7d.render(f5);
        Shape8.render(f5);
        Shape8b.render(f5);
        Shape8c.render(f5);
        Shape8d.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, null);
    }

}