summaryrefslogtreecommitdiff
path: root/assets/minecraft/optifine/cem/trapped_chest.jem
diff options
context:
space:
mode:
Diffstat (limited to 'assets/minecraft/optifine/cem/trapped_chest.jem')
-rwxr-xr-xassets/minecraft/optifine/cem/trapped_chest.jem134
1 files changed, 134 insertions, 0 deletions
diff --git a/assets/minecraft/optifine/cem/trapped_chest.jem b/assets/minecraft/optifine/cem/trapped_chest.jem
new file mode 100755
index 00000000..1527da0a
--- /dev/null
+++ b/assets/minecraft/optifine/cem/trapped_chest.jem
@@ -0,0 +1,134 @@
1{
2 "credit": "Made with Blockbench",
3 "texture": "trapped_chest.png",
4 "textureSize": [64, 64],
5 "models": [
6 {
7 "part": "base",
8 "id": "base",
9 "invertAxis": "xy",
10 "translate": [-8, 0, -8],
11 "rotate": [-180, 0, 0],
12 "submodels": [
13 {
14 "id": "base2",
15 "invertAxis": "xy",
16 "translate": [8, 0, 24],
17 "boxes": [
18 {
19 "coordinates": [-2, -11, -14, -12, 9, 12],
20 "uvNorth": [36, 56, 48, 47],
21 "uvEast": [12, 56, 0, 47],
22 "uvSouth": [24, 56, 12, 47],
23 "uvWest": [36, 56, 24, 47],
24 "uvUp": [24, 44, 12, 32]
25 },
26 {
27 "coordinates": [-16, -11, -16, 16, 11, 16],
28 "uvNorth": [64, 32, 48, 21],
29 "uvEast": [16, 32, 0, 21],
30 "uvSouth": [32, 32, 16, 21],
31 "uvWest": [48, 32, 32, 21],
32 "uvUp": [48, 0, 32, 16],
33 "uvDown": [64, 0, 48, 16]
34 }
35 ],
36 "submodels": [
37 {
38 "id": "anti_base",
39 "invertAxis": "xy",
40 "translate": [0, 0, -16],
41 "rotate": [-180, 0, 0],
42 "submodels": [
43 {
44 "id": "lid2",
45 "invertAxis": "xy",
46 "translate": [0, 9, -1],
47 "rotate": [-180, 0, 0],
48 "boxes": [
49 {
50 "coordinates": [-16, -7, -1, 16, 6, 16],
51 "uvNorth": [48, 22, 64, 16],
52 "uvEast": [16, 22, 0, 16],
53 "uvSouth": [32, 22, 16, 16],
54 "uvWest": [48, 22, 32, 16],
55 "uvUp": [64, 16, 48, 0],
56 "uvDown": [32, 16, 16, 0]
57 },
58 {
59 "coordinates": [-9, -4, 15, 2, 4, 1],
60 "uvNorth": [4, 5, 6, 1],
61 "uvEast": [0, 5, 1, 1],
62 "uvSouth": [1, 5, 3, 1],
63 "uvWest": [3, 5, 4, 1],
64 "uvUp": [5, 1, 3, 0],
65 "uvDown": [3, 0, 1, 1]
66 },
67 {
68 "coordinates": [-2, -5, 1, -12, 4, 12],
69 "uvNorth": [36, 48, 48, 44],
70 "uvEast": [12, 48, 0, 44],
71 "uvSouth": [24, 48, 12, 44],
72 "uvWest": [36, 48, 24, 44],
73 "uvDown": [36, 44, 24, 32]
74 }
75 ]
76 }
77 ]
78 }
79 ]
80 },
81 {
82 "id": "test",
83 "invertAxis": "xy",
84 "translate": [8, 0, 8],
85 "submodels": [
86 {
87 "id": "close",
88 "invertAxis": "xy",
89 "translate": [0, 0, 0]
90 }
91 ]
92 }
93 ],
94 "animations": [
95 {
96 "this.rx": 0
97 },
98 {
99 "lid2.rx": "if(test.rx <= lid.rx, if(lid.rx > -pi/2.5 ,sin(lid.rx*2.5)/3,(lid.rx*2)+(pi/2)) , lid.rx) +pi",
100 "base.rx": "if(test.rx <= lid.rx,0, if(lid.rx > -pi/2.5 ,sin(lid.rx*2.5)/6,0))",
101 "base2.rx": "if(test.rx <= lid.rx,if(lid.rx > -pi/2.5 ,-sin(lid.rx*2.5)/2,0 )/7,0)",
102 "close.visible": "if(test.rx <= lid.rx,1,0) > 0"
103 },
104 {
105 "test.rx": "lid.rx"
106 }
107 ]
108 },
109 {
110 "part": "lid",
111 "id": "lid",
112 "invertAxis": "xy",
113 "translate": [-8, -9, -7],
114 "rotate": [-180, 0, 0],
115 "animations": [
116 {
117 "this.rx": 0
118 }
119 ]
120 },
121 {
122 "part": "knob",
123 "id": "knob",
124 "invertAxis": "xy",
125 "translate": [-8, -8, -8],
126 "rotate": [-180, 0, 0],
127 "animations": [
128 {
129 "this.rx": 0
130 }
131 ]
132 }
133 ]
134} \ No newline at end of file