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
|
{
"credit": "Made with Blockbench",
"texture": "trapped_chest_large.png",
"textureSize": [128, 64],
"models": [
{
"part": "base_left",
"id": "base_left",
"invertAxis": "xy",
"translate": [-16, 0, -8],
"rotate": [-180, 0, 0],
"submodels": [
{
"id": "base2",
"invertAxis": "xy",
"translate": [16, 0, 24],
"boxes": [
{
"coordinates": [-2, -11, -14, -28, 9, 12],
"uvNorth": [48, 56, 72, 47],
"uvEast": [12, 56, 0, 47],
"uvSouth": [36, 56, 12, 47],
"uvWest": [48, 56, 36, 47],
"uvUp": [60, 44, 36, 32]
},
{
"coordinates": [-32, -11, -16, 32, 11, 16],
"uvNorth": [96, 32, 64, 21],
"uvEast": [16, 32, 0, 21],
"uvSouth": [48, 32, 16, 21],
"uvWest": [64, 32, 48, 21],
"uvUp": [80, 0, 48, 16],
"uvDown": [112, 0, 80, 16]
}
],
"submodels": [
{
"id": "anti_base",
"invertAxis": "xy",
"translate": [0, 0, -16],
"rotate": [-180, 0, 0],
"submodels": [
{
"id": "lid_left2",
"invertAxis": "xy",
"translate": [0, 9, -1],
"rotate": [-180, 0, 0],
"boxes": [
{
"coordinates": [-32, -7, -1, 32, 6, 16],
"uvNorth": [64, 22, 96, 16],
"uvEast": [16, 22, 0, 16],
"uvSouth": [48, 22, 16, 16],
"uvWest": [64, 22, 48, 16],
"uvUp": [112, 16, 80, 0],
"uvDown": [48, 16, 16, 0]
},
{
"coordinates": [-17, -4, 15, 2, 4, 1],
"uvNorth": [4, 5, 6, 1],
"uvEast": [0, 5, 1, 1],
"uvSouth": [1, 5, 3, 1],
"uvWest": [3, 5, 4, 1],
"uvUp": [5, 1, 3, 0],
"uvDown": [3, 0, 1, 1]
},
{
"coordinates": [-2, -5, 1, -28, 4, 12],
"uvNorth": [48, 48, 72, 44],
"uvEast": [12, 48, 0, 44],
"uvSouth": [36, 48, 12, 44],
"uvWest": [48, 48, 36, 44],
"uvDown": [36, 44, 12, 32]
}
]
}
]
}
]
},
{
"id": "close",
"invertAxis": "xy",
"translate": [16, 0, 8]
}
],
"animations": [
{
"this.rx": 0,
"this.ry": 0
},
{
"lid_left2.rx": "if(close.visible, if(lid_left.rx > -pi/2.5 ,sin(lid_left.rx*2.5)/3,(lid_left.rx*2)+(pi/2)) , lid_left.rx) +pi",
"base_left.rx": "if(close.visible,0, if(lid_left.rx > -pi/2.5 ,sin(lid_left.rx*2.5)/6,0))",
"base2.rx": "if(close.visible,if(lid_left.rx > -pi/2.5 ,-sin(lid_left.rx*2.5)/2,0 )/7,0)",
"close.visible": "if(lid_left.rx == 0,0,lid_left.rx < -1.5, 1,if(close.visible,1,0)) > 0"
}
]
},
{
"part": "base_right",
"id": "base_right",
"invertAxis": "xy",
"translate": [0, 0, -8],
"rotate": [-180, 0, 0],
"animations": [
{
"this.rx": 0
}
]
},
{
"part": "lid_left",
"id": "lid_left",
"invertAxis": "xy",
"translate": [-16, -9, -7],
"rotate": [-180, 0, 0],
"animations": [
{
"this.rx": 0
}
]
},
{
"part": "lid_right",
"id": "lid_right",
"invertAxis": "xy",
"translate": [0, -9, -7],
"rotate": [-180, 0, 0],
"animations": [
{
"this.rx": 0
}
]
},
{
"part": "knob_left",
"id": "knob_left",
"invertAxis": "xy",
"translate": [-16, -8, -8],
"rotate": [-180, 0, 0],
"animations": [
{
"this.rx": 0
}
]
},
{
"part": "knob_right",
"id": "knob_right",
"invertAxis": "xy",
"translate": [0, -8, -8],
"rotate": [-180, 0, 0],
"animations": [
{
"this.rx": 0
}
]
}
]
}
|