-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathparts.go
465 lines (423 loc) · 21.3 KB
/
parts.go
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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
package skin
import "image"
var (
// HeadTop is the top side of the head
HeadTop image.Rectangle = image.Rect(8, 0, 16, 8)
// HeadBottom is the bottom side of the head
HeadBottom image.Rectangle = image.Rect(16, 0, 24, 8)
// HeadRight is the right side of the head
HeadRight image.Rectangle = image.Rect(0, 8, 8, 16)
// HeadFront is the front side of the head
HeadFront image.Rectangle = image.Rect(8, 8, 16, 16)
// HeadLeft is the left side of the head
HeadLeft image.Rectangle = image.Rect(16, 8, 24, 16)
// HeadBack is the back side of the head
HeadBack image.Rectangle = image.Rect(24, 8, 32, 16)
// HeadOverlayTop is the top side of the head overlay
HeadOverlayTop image.Rectangle = image.Rect(40, 0, 48, 8)
// HeadOverlayBottom is the bottom side of the head overlay
HeadOverlayBottom image.Rectangle = image.Rect(48, 0, 56, 8)
// HeadOverlayRight is the right side of the head overlay
HeadOverlayRight image.Rectangle = image.Rect(32, 8, 40, 16)
// HeadOverlayFront is the front side of the head overlay
HeadOverlayFront image.Rectangle = image.Rect(40, 8, 48, 16)
// HeadOverlayLeft is the left side of the head overlay
HeadOverlayLeft image.Rectangle = image.Rect(48, 8, 56, 16)
// HeadOverlayBack is the back side of the head overlay
HeadOverlayBack image.Rectangle = image.Rect(56, 8, 64, 16)
// RightLegTop is the top side of the right leg
RightLegTop image.Rectangle = image.Rect(4, 16, 8, 20)
// RightLegBottom is the bottom side of the right leg
RightLegBottom image.Rectangle = image.Rect(8, 16, 12, 20)
// RightLegRight is the right side of the right leg
RightLegRight image.Rectangle = image.Rect(0, 20, 4, 32)
// RightLegFront is the front side of the right leg
RightLegFront image.Rectangle = image.Rect(4, 20, 8, 32)
// RightLegLeft is the left side of the right leg
RightLegLeft image.Rectangle = image.Rect(8, 20, 12, 32)
// RightLegBack is the back side of the right leg
RightLegBack image.Rectangle = image.Rect(12, 20, 16, 32)
// TorsoTop is the top side of the torso
TorsoTop image.Rectangle = image.Rect(20, 16, 28, 20)
// TorsoBottom is the bottom side of the torso
TorsoBottom image.Rectangle = image.Rect(28, 16, 36, 20)
// TorsoRight is the right side of the torso
TorsoRight image.Rectangle = image.Rect(16, 20, 20, 32)
// TorsoFront is the front side of the torso
TorsoFront image.Rectangle = image.Rect(20, 20, 28, 32)
// TorsoLeft is the left side of the torso
TorsoLeft image.Rectangle = image.Rect(28, 20, 32, 32)
// TorsoBack is the back side of the torso
TorsoBack image.Rectangle = image.Rect(32, 20, 40, 32)
// RightArmTopRegular is the top side of the right arm for regular skin models
RightArmTopRegular image.Rectangle = image.Rect(44, 16, 48, 20)
// RightArmTopSlim is the top side of the right arm for slim skin models
RightArmTopSlim image.Rectangle = image.Rect(44, 16, 47, 20)
// RightArmBottomRegular is the bottom side of the right arm for regular skin models
RightArmBottomRegular image.Rectangle = image.Rect(48, 16, 52, 20)
// RightArmBottomSlim is the bottom side of the right arm for slim skin models
RightArmBottomSlim image.Rectangle = image.Rect(47, 16, 50, 20)
// RightArmRight is the right side of the right arm
RightArmRight image.Rectangle = image.Rect(40, 20, 44, 32)
// RightArmFrontRegular is the front side of the right arm for regular skin models
RightArmFrontRegular image.Rectangle = image.Rect(44, 20, 48, 32)
// RightArmFrontSlim is the front side of the right arm for slim skin models
RightArmFrontSlim image.Rectangle = image.Rect(44, 20, 47, 32)
// RightArmLeftRegular is the left side of the right arm for regular skin models
RightArmLeftRegular image.Rectangle = image.Rect(48, 20, 52, 32)
// RightArmLeftSlim is the left side of the right arm for slim skin models
RightArmLeftSlim image.Rectangle = image.Rect(47, 20, 51, 32)
// RightArmBackRegular is the back side of the right arm for regular skin models
RightArmBackRegular image.Rectangle = image.Rect(52, 20, 56, 32)
// RightArmBackSlim is the back side of the right arm for slim skin models
RightArmBackSlim image.Rectangle = image.Rect(51, 20, 54, 32)
// LeftLegTop is the top side of the left leg
LeftLegTop image.Rectangle = image.Rect(20, 48, 24, 52)
// LeftLegBottom is the bottom side of the left leg
LeftLegBottom image.Rectangle = image.Rect(24, 48, 28, 52)
// LeftLegRight is the right side of the left leg
LeftLegRight image.Rectangle = image.Rect(16, 52, 20, 64)
// LeftLegFront is the front side of the left leg
LeftLegFront image.Rectangle = image.Rect(20, 52, 24, 64)
// LeftLegLeft is the left side of the left leg
LeftLegLeft image.Rectangle = image.Rect(24, 52, 28, 64)
// LeftLegBack is the back side of the left leg
LeftLegBack image.Rectangle = image.Rect(28, 52, 32, 64)
// LeftArmTopRegular is the top side of the left arm for regular skin models
LeftArmTopRegular image.Rectangle = image.Rect(36, 48, 40, 52)
// LeftArmTopSlim is the top side of the left arm for slim skin models
LeftArmTopSlim image.Rectangle = image.Rect(36, 48, 39, 52)
// LeftArmBottomRegular is the bottom side of the left arm for regular skin models
LeftArmBottomRegular image.Rectangle = image.Rect(40, 48, 44, 52)
// LeftArmBottomSlim is the bottom side of the left arm for slim skin models
LeftArmBottomSlim image.Rectangle = image.Rect(39, 48, 42, 52)
// LeftArmRight is the right side of the left arm
LeftArmRight image.Rectangle = image.Rect(32, 52, 36, 64)
// LeftArmFrontRegular is the front side of the left arm for regular skin models
LeftArmFrontRegular image.Rectangle = image.Rect(36, 52, 40, 64)
// LeftArmFrontSlim is the front side of the left arm for slim skin models
LeftArmFrontSlim image.Rectangle = image.Rect(36, 52, 39, 64)
// LeftArmLeftRegular is the left side of the left arm for regular skin models
LeftArmLeftRegular image.Rectangle = image.Rect(40, 52, 44, 64)
// LeftArmLeftSlim is the left side of the left arm for slim skin models
LeftArmLeftSlim image.Rectangle = image.Rect(39, 52, 43, 64)
// LeftArmBackRegular is the back side of the left arm for regular skin models
LeftArmBackRegular image.Rectangle = image.Rect(44, 52, 48, 64)
// LeftArmBackSlim is the back side of the left arm for slim skin models
LeftArmBackSlim image.Rectangle = image.Rect(43, 52, 46, 64)
// RightLegOverlayTop is the top side of the right leg overlay
RightLegOverlayTop image.Rectangle = image.Rect(4, 48, 8, 52)
// RightLegOverlayBottom is the bottom side of the right leg overlay
RightLegOverlayBottom image.Rectangle = image.Rect(8, 48, 12, 52)
// RightLegOverlayRight is the right side of the right leg overlay
RightLegOverlayRight image.Rectangle = image.Rect(0, 36, 4, 48)
// RightLegOverlayFront is the front side of the right leg overlay
RightLegOverlayFront image.Rectangle = image.Rect(4, 36, 8, 48)
// RightLegOverlayLeft is the left side of the right leg overlay
RightLegOverlayLeft image.Rectangle = image.Rect(8, 36, 12, 48)
// RightLegOverlayBack is the back side of the right leg overlay
RightLegOverlayBack image.Rectangle = image.Rect(12, 36, 16, 48)
// TorsoOverlayTop is the top side of the torso overlay
TorsoOverlayTop image.Rectangle = image.Rect(20, 48, 28, 52)
// TorsoOverlayBottom is the bottom side of the torso overlay
TorsoOverlayBottom image.Rectangle = image.Rect(28, 48, 36, 52)
// TorsoOverlayRight is the right side of the torso overlay
TorsoOverlayRight image.Rectangle = image.Rect(16, 36, 20, 48)
// TorsoOverlayFront is the front side of the torso overlay
TorsoOverlayFront image.Rectangle = image.Rect(20, 36, 28, 48)
// TorsoOverlayLeft is the left side of the torso overlay
TorsoOverlayLeft image.Rectangle = image.Rect(28, 36, 32, 48)
// TorsoOverlayBack is the back side of the torso overlay
TorsoOverlayBack image.Rectangle = image.Rect(32, 36, 40, 48)
// RightArmOverlayTopRegular is the top side of the right arm overlay for regular skin models
RightArmOverlayTopRegular image.Rectangle = image.Rect(44, 48, 48, 52)
// RightArmOverlayTopSlim is the top side of the right arm overlay for slim skin models
RightArmOverlayTopSlim image.Rectangle = image.Rect(44, 48, 47, 52)
// RightArmOverlayBottomRegular is the bottom side of the right arm overlay for regular skin models
RightArmOverlayBottomRegular image.Rectangle = image.Rect(48, 48, 52, 52)
// RightArmOverlayBottomSlim is the bottom side of the right arm overlay for slim skin models
RightArmOverlayBottomSlim image.Rectangle = image.Rect(47, 48, 50, 52)
// RightArmOverlayRight is the right side of the right arm overlay
RightArmOverlayRight image.Rectangle = image.Rect(40, 36, 44, 48)
// RightArmOverlayFrontRegular is the front side of the right arm overlay for regular skin models
RightArmOverlayFrontRegular image.Rectangle = image.Rect(44, 36, 48, 48)
// RightArmOverlayFrontSlim is the front side of the right arm overlay for slim skin models
RightArmOverlayFrontSlim image.Rectangle = image.Rect(44, 36, 47, 48)
// RightArmOverlayLeftRegular is the left side of the right arm overlay for regular skin models
RightArmOverlayLeftRegular image.Rectangle = image.Rect(48, 36, 52, 48)
// RightArmOverlayLeftSlim is the left side of the right arm overlay for slim skin models
RightArmOverlayLeftSlim image.Rectangle = image.Rect(47, 36, 51, 48)
// RightArmOverlayBackRegular is the back side of the right arm overlay for regular skin models
RightArmOverlayBackRegular image.Rectangle = image.Rect(52, 36, 56, 48)
// RightArmOverlayBackSlim is the back side of the right arm overlay for slim skin models
RightArmOverlayBackSlim image.Rectangle = image.Rect(51, 36, 54, 48)
// LeftLegOverlayTop is the top side of the left leg overlay
LeftLegOverlayTop image.Rectangle = image.Rect(4, 48, 8, 52)
// LeftLegOverlayBottom is the bottom side of the left leg overlay
LeftLegOverlayBottom image.Rectangle = image.Rect(8, 48, 12, 52)
// LeftLegOverlayRight is the right side of the left leg overlay
LeftLegOverlayRight image.Rectangle = image.Rect(0, 52, 4, 64)
// LeftLegOverlayFront is the front side of the left leg overlay
LeftLegOverlayFront image.Rectangle = image.Rect(4, 52, 8, 64)
// LeftLegOverlayLeft is the left side of the left leg overlay
LeftLegOverlayLeft image.Rectangle = image.Rect(8, 52, 12, 64)
// LeftLegOverlayBack is the back side of the left leg overlay
LeftLegOverlayBack image.Rectangle = image.Rect(12, 52, 16, 64)
// LeftArmOverlayTopRegular is the top side of the left arm overlay for regular skin models
LeftArmOverlayTopRegular image.Rectangle = image.Rect(52, 48, 56, 52)
// LeftArmOverlayTopSlim is the top side of the left arm overlay for slim skin models
LeftArmOverlayTopSlim image.Rectangle = image.Rect(52, 48, 55, 52)
// LeftArmOverlayBottomRegular is the bottom side of the left arm overlay for regular skin models
LeftArmOverlayBottomRegular image.Rectangle = image.Rect(56, 48, 60, 52)
// LeftArmOverlayBottomSlim is the bottom side of the left arm overlay for slim skin models
LeftArmOverlayBottomSlim image.Rectangle = image.Rect(55, 48, 58, 52)
// LeftArmOverlayRight is the right side of the left arm overlay
LeftArmOverlayRight image.Rectangle = image.Rect(48, 52, 52, 64)
// LeftArmOverlayFrontRegular is the front side of the left arm overlay for regular skin models
LeftArmOverlayFrontRegular image.Rectangle = image.Rect(52, 52, 56, 64)
// LeftArmOverlayFrontSlim is the front side of the left arm overlay for slim skin models
LeftArmOverlayFrontSlim image.Rectangle = image.Rect(52, 52, 55, 64)
// LeftArmOverlayLeftRegular is the left side of the left arm overlay for regular skin models
LeftArmOverlayLeftRegular image.Rectangle = image.Rect(56, 52, 60, 64)
// LeftArmOverlayLeftSlim is the left side of the left arm overlay for slim skin models
LeftArmOverlayLeftSlim image.Rectangle = image.Rect(55, 52, 59, 64)
// LeftArmOverlayBackRegular is the back side of the left arm overlay for regular skin models
LeftArmOverlayBackRegular image.Rectangle = image.Rect(60, 52, 64, 64)
// LeftArmOverlayBackSlim is the back side of the left arm overlay for slim skin models
LeftArmOverlayBackSlim image.Rectangle = image.Rect(59, 52, 62, 64)
// PartsList is a list of all part coordinates of a Minecraft skin
PartsList map[string]image.Rectangle = map[string]image.Rectangle{
"HeadTop": HeadTop,
"HeadBottom": HeadBottom,
"HeadRight": HeadRight,
"HeadFront": HeadFront,
"HeadLeft": HeadLeft,
"HeadBack": HeadBack,
"HeadOverlayTop": HeadOverlayTop,
"HeadOverlayBottom": HeadOverlayBottom,
"HeadOverlayRight": HeadOverlayRight,
"HeadOverlayFront": HeadOverlayFront,
"HeadOverlayLeft": HeadOverlayLeft,
"HeadOverlayBack": HeadOverlayBack,
"RightLegTop": RightLegTop,
"RightLegBottom": RightLegBottom,
"RightLegRight": RightLegRight,
"RightLegFront": RightLegFront,
"RightLegLeft": RightLegLeft,
"RightLegBack": RightLegBack,
"TorsoTop": TorsoTop,
"TorsoBottom": TorsoBottom,
"TorsoRight": TorsoRight,
"TorsoFront": TorsoFront,
"TorsoLeft": TorsoLeft,
"TorsoBack": TorsoBack,
"RightArmTopRegular": RightArmTopRegular,
"RightArmTopSlim": RightArmTopSlim,
"RightArmBottomRegular": RightArmBottomRegular,
"RightArmBottomSlim": RightArmBottomSlim,
"RightArmRight": RightArmRight,
"RightArmFrontRegular": RightArmFrontRegular,
"RightArmFrontSlim": RightArmFrontSlim,
"RightArmLeftRegular": RightArmLeftRegular,
"RightArmLeftSlim": RightArmLeftSlim,
"RightArmBackRegular": RightArmBackRegular,
"RightArmBackSlim": RightArmBackSlim,
"LeftLegTop": LeftLegTop,
"LeftLegBottom": LeftLegBottom,
"LeftLegRight": LeftLegRight,
"LeftLegFront": LeftLegFront,
"LeftLegLeft": LeftLegLeft,
"LeftLegBack": LeftLegBack,
"LeftArmTopRegular": LeftArmTopRegular,
"LeftArmTopSlim": LeftArmTopSlim,
"LeftArmBottomRegular": LeftArmBottomRegular,
"LeftArmBottomSlim": LeftArmBottomSlim,
"LeftArmRight": LeftArmRight,
"LeftArmFrontRegular": LeftArmFrontRegular,
"LeftArmFrontSlim": LeftArmFrontSlim,
"LeftArmLeftRegular": LeftArmLeftRegular,
"LeftArmLeftSlim": LeftArmLeftSlim,
"LeftArmBackRegular": LeftArmBackRegular,
"LeftArmBackSlim": LeftArmBackSlim,
"RightLegOverlayTop": RightLegOverlayTop,
"RightLegOverlayBottom": RightLegOverlayBottom,
"RightLegOverlayRight": RightLegOverlayRight,
"RightLegOverlayFront": RightLegOverlayFront,
"RightLegOverlayLeft": RightLegOverlayLeft,
"RightLegOverlayBack": RightLegOverlayBack,
"TorsoOverlayTop": TorsoOverlayTop,
"TorsoOverlayBottom": TorsoOverlayBottom,
"TorsoOverlayRight": TorsoOverlayRight,
"TorsoOverlayFront": TorsoOverlayFront,
"TorsoOverlayLeft": TorsoOverlayLeft,
"TorsoOverlayBack": TorsoOverlayBack,
"RightArmOverlayTopRegular": RightArmOverlayTopRegular,
"RightArmOverlayTopSlim": RightArmOverlayTopSlim,
"RightArmOverlayBottomRegular": RightArmOverlayBottomRegular,
"RightArmOverlayBottomSlim": RightArmOverlayBottomSlim,
"RightArmOverlayRight": RightArmOverlayRight,
"RightArmOverlayFrontRegular": RightArmOverlayFrontRegular,
"RightArmOverlayFrontSlim": RightArmOverlayFrontSlim,
"RightArmOverlayLeftRegular": RightArmOverlayLeftRegular,
"RightArmOverlayLeftSlim": RightArmOverlayLeftSlim,
"RightArmOverlayBackRegular": RightArmOverlayBackRegular,
"RightArmOverlayBackSlim": RightArmOverlayBackSlim,
"LeftLegOverlayTop": LeftLegOverlayTop,
"LeftLegOverlayBottom": LeftLegOverlayBottom,
"LeftLegOverlayRight": LeftLegOverlayRight,
"LeftLegOverlayFront": LeftLegOverlayFront,
"LeftLegOverlayLeft": LeftLegOverlayLeft,
"LeftLegOverlayBack": LeftLegOverlayBack,
"LeftArmOverlayTopRegular": LeftArmOverlayTopRegular,
"LeftArmOverlayTopSlim": LeftArmOverlayTopSlim,
"LeftArmOverlayBottomRegular": LeftArmOverlayBottomRegular,
"LeftArmOverlayBottomSlim": LeftArmOverlayBottomSlim,
"LeftArmOverlayRight": LeftArmOverlayRight,
"LeftArmOverlayFrontRegular": LeftArmOverlayFrontRegular,
"LeftArmOverlayFrontSlim": LeftArmOverlayFrontSlim,
"LeftArmOverlayLeftRegular": LeftArmOverlayLeftRegular,
"LeftArmOverlayLeftSlim": LeftArmOverlayLeftSlim,
"LeftArmOverlayBackRegular": LeftArmOverlayBackRegular,
"LeftArmOverlayBackSlim": LeftArmOverlayBackSlim,
}
)
// GetRightArmTop returns the top of a right arm based on if the skin is slim or not
func GetRightArmTop(slim bool) image.Rectangle {
if slim {
return RightArmTopSlim
}
return RightArmTopRegular
}
// GetRightArmBottom returns the bottom of a right arm based on if the skin is slim or not
func GetRightArmBottom(slim bool) image.Rectangle {
if slim {
return RightArmBottomSlim
}
return RightArmBottomRegular
}
// GetRightArmFront returns the front of a right arm based on if the skin is slim or not
func GetRightArmFront(slim bool) image.Rectangle {
if slim {
return RightArmFrontSlim
}
return RightArmFrontRegular
}
// GetRightArmLeft returns the left of a right arm based on if the skin is slim or not
func GetRightArmLeft(slim bool) image.Rectangle {
if slim {
return RightArmLeftSlim
}
return RightArmLeftRegular
}
// GetRightArmBack returns the back of a right arm based on if the skin is slim or not
func GetRightArmBack(slim bool) image.Rectangle {
if slim {
return RightArmBackSlim
}
return RightArmBackRegular
}
// GetLeftArmTop returns the top of a left arm based on if the skin is slim or not
func GetLeftArmTop(slim bool) image.Rectangle {
if slim {
return LeftArmTopSlim
}
return LeftArmTopRegular
}
// GetLeftArmBottom returns the bottom of a left arm based on if the skin is slim or not
func GetLeftArmBottom(slim bool) image.Rectangle {
if slim {
return LeftArmBottomSlim
}
return LeftArmBottomRegular
}
// GetLeftArmFront returns the front of a left arm based on if the skin is slim or not
func GetLeftArmFront(slim bool) image.Rectangle {
if slim {
return LeftArmFrontSlim
}
return LeftArmFrontRegular
}
// GetLeftArmLeft returns the left of a left arm based on if the skin is slim or not
func GetLeftArmLeft(slim bool) image.Rectangle {
if slim {
return LeftArmLeftSlim
}
return LeftArmLeftRegular
}
// GetLeftArmBack returns the back of a left arm based on if the skin is slim or not
func GetLeftArmBack(slim bool) image.Rectangle {
if slim {
return LeftArmBackSlim
}
return LeftArmBackRegular
}
// GetRightArmOverlayTop returns the top of a right arm overlay based on if the skin is slim or not
func GetRightArmOverlayTop(slim bool) image.Rectangle {
if slim {
return RightArmOverlayTopSlim
}
return RightArmOverlayTopRegular
}
// GetRightArmOverlayBottom returns the bottom of a right arm overlay based on if the skin is slim or not
func GetRightArmOverlayBottom(slim bool) image.Rectangle {
if slim {
return RightArmOverlayBottomSlim
}
return RightArmOverlayBottomRegular
}
// GetRightArmOverlayFront returns the front of a right arm overlay based on if the skin is slim or not
func GetRightArmOverlayFront(slim bool) image.Rectangle {
if slim {
return RightArmOverlayFrontSlim
}
return RightArmOverlayFrontRegular
}
// GetRightArmOverlayLeft returns the left of a right arm overlay based on if the skin is slim or not
func GetRightArmOverlayLeft(slim bool) image.Rectangle {
if slim {
return RightArmOverlayLeftSlim
}
return RightArmOverlayLeftRegular
}
// GetRightArmOverlayBack returns the back of a right arm overlay based on if the skin is slim or not
func GetRightArmOverlayBack(slim bool) image.Rectangle {
if slim {
return RightArmOverlayBackSlim
}
return RightArmOverlayBackRegular
}
// GetLeftArmOverlayTop returns the top of a left arm overlay based on if the skin is slim or not
func GetLeftArmOverlayTop(slim bool) image.Rectangle {
if slim {
return LeftArmOverlayTopSlim
}
return LeftArmOverlayTopRegular
}
// GetLeftArmOverlayBottom returns the bottom of a left arm overlay based on if the skin is slim or not
func GetLeftArmOverlayBottom(slim bool) image.Rectangle {
if slim {
return LeftArmOverlayBottomSlim
}
return LeftArmOverlayBottomRegular
}
// GetLeftArmOverlayFront returns the front of a left arm overlay based on if the skin is slim or not
func GetLeftArmOverlayFront(slim bool) image.Rectangle {
if slim {
return LeftArmOverlayFrontSlim
}
return LeftArmOverlayFrontRegular
}
// GetLeftArmOverlayLeft returns the left of a left arm overlay based on if the skin is slim or not
func GetLeftArmOverlayLeft(slim bool) image.Rectangle {
if slim {
return LeftArmOverlayLeftSlim
}
return LeftArmOverlayLeftRegular
}
// GetLeftArmOverlayBack returns the back of a left arm overlay based on if the skin is slim or not
func GetLeftArmOverlayBack(slim bool) image.Rectangle {
if slim {
return LeftArmOverlayBackSlim
}
return LeftArmOverlayBackRegular
}