summaryrefslogtreecommitdiff
path: root/assets/minecraft/optifine/cem/chest.jem
diff options
context:
space:
mode:
Diffstat (limited to 'assets/minecraft/optifine/cem/chest.jem')
-rwxr-xr-xassets/minecraft/optifine/cem/chest.jem134
1 files changed, 134 insertions, 0 deletions
diff --git a/assets/minecraft/optifine/cem/chest.jem b/assets/minecraft/optifine/cem/chest.jem
new file mode 100755
index 00000000..5747462d
--- /dev/null
+++ b/assets/minecraft/optifine/cem/chest.jem
@@ -0,0 +1,134 @@
1{
2 "credit": "Made with Blockbench",
3 "texture": "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 "submodels": [
18 {
19 "id": "anti_base",
20 "invertAxis": "xy",
21 "translate": [0, 0, -16],
22 "rotate": [-180, 0, 0],
23 "submodels": [
24 {
25 "id": "lid2",
26 "invertAxis": "xy",
27 "translate": [0, 9, -1],
28 "rotate": [-180, 0, 0],
29 "boxes": [
30 {
31 "coordinates": [-16, -7, -1, 16, 6, 16],
32 "uvNorth": [48, 22, 64, 16],
33 "uvEast": [16, 22, 0, 16],
34 "uvSouth": [32, 22, 16, 16],
35 "uvWest": [48, 22, 32, 16],
36 "uvUp": [64, 16, 48, 0],
37 "uvDown": [32, 16, 16, 0]
38 },
39 {
40 "coordinates": [-9, -4, 15, 2, 4, 1],
41 "uvNorth": [4, 5, 6, 1],
42 "uvEast": [0, 5, 1, 1],
43 "uvSouth": [1, 5, 3, 1],
44 "uvWest": [3, 5, 4, 1],
45 "uvUp": [5, 1, 3, 0],
46 "uvDown": [3, 0, 1, 1]
47 },
48 {
49 "coordinates": [-2, -5, 1, -12, 4, 12],
50 "uvNorth": [36, 48, 48, 44],
51 "uvEast": [12, 48, 0, 44],
52 "uvSouth": [24, 48, 12, 44],
53 "uvWest": [36, 48, 24, 44],
54 "uvDown": [36, 44, 24, 32]
55 }
56 ]
57 }
58 ]
59 }
60 ],
61 "boxes": [
62 {
63 "coordinates": [-2, -11, -14, -12, 9, 12],
64 "uvNorth": [36, 56, 48, 47],
65 "uvEast": [12, 56, 0, 47],
66 "uvSouth": [24, 56, 12, 47],
67 "uvWest": [36, 56, 24, 47],
68 "uvUp": [24, 44, 12, 32]
69 },
70 {
71 "coordinates": [-16, -11, -16, 16, 11, 16],
72 "uvNorth": [64, 32, 48, 21],
73 "uvEast": [16, 32, 0, 21],
74 "uvSouth": [32, 32, 16, 21],
75 "uvWest": [48, 32, 32, 21],
76 "uvUp": [48, 0, 32, 16],
77 "uvDown": [64, 0, 48, 16]
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