From 88e4e8852a5f1c33794abe430411b73c3ade507a Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 20 Jan 2024 02:25:44 +0200 Subject: Initial import --- assets/minecraft/optifine/cem/chest.jem | 134 ++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100755 assets/minecraft/optifine/cem/chest.jem (limited to 'assets/minecraft/optifine/cem/chest.jem') 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 @@ +{ + "credit": "Made with Blockbench", + "texture": "chest.png", + "textureSize": [64, 64], + "models": [ + { + "part": "base", + "id": "base", + "invertAxis": "xy", + "translate": [-8, 0, -8], + "rotate": [-180, 0, 0], + "submodels": [ + { + "id": "base2", + "invertAxis": "xy", + "translate": [8, 0, 24], + "submodels": [ + { + "id": "anti_base", + "invertAxis": "xy", + "translate": [0, 0, -16], + "rotate": [-180, 0, 0], + "submodels": [ + { + "id": "lid2", + "invertAxis": "xy", + "translate": [0, 9, -1], + "rotate": [-180, 0, 0], + "boxes": [ + { + "coordinates": [-16, -7, -1, 16, 6, 16], + "uvNorth": [48, 22, 64, 16], + "uvEast": [16, 22, 0, 16], + "uvSouth": [32, 22, 16, 16], + "uvWest": [48, 22, 32, 16], + "uvUp": [64, 16, 48, 0], + "uvDown": [32, 16, 16, 0] + }, + { + "coordinates": [-9, -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, -12, 4, 12], + "uvNorth": [36, 48, 48, 44], + "uvEast": [12, 48, 0, 44], + "uvSouth": [24, 48, 12, 44], + "uvWest": [36, 48, 24, 44], + "uvDown": [36, 44, 24, 32] + } + ] + } + ] + } + ], + "boxes": [ + { + "coordinates": [-2, -11, -14, -12, 9, 12], + "uvNorth": [36, 56, 48, 47], + "uvEast": [12, 56, 0, 47], + "uvSouth": [24, 56, 12, 47], + "uvWest": [36, 56, 24, 47], + "uvUp": [24, 44, 12, 32] + }, + { + "coordinates": [-16, -11, -16, 16, 11, 16], + "uvNorth": [64, 32, 48, 21], + "uvEast": [16, 32, 0, 21], + "uvSouth": [32, 32, 16, 21], + "uvWest": [48, 32, 32, 21], + "uvUp": [48, 0, 32, 16], + "uvDown": [64, 0, 48, 16] + } + ] + }, + { + "id": "test", + "invertAxis": "xy", + "translate": [8, 0, 8], + "submodels": [ + { + "id": "close", + "invertAxis": "xy", + "translate": [0, 0, 0] + } + ] + } + ], + "animations": [ + { + "this.rx": 0 + }, + { + "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", + "base.rx": "if(test.rx <= lid.rx,0, if(lid.rx > -pi/2.5 ,sin(lid.rx*2.5)/6,0))", + "base2.rx": "if(test.rx <= lid.rx,if(lid.rx > -pi/2.5 ,-sin(lid.rx*2.5)/2,0 )/7,0)", + "close.visible": "if(test.rx <= lid.rx,1,0) > 0" + }, + { + "test.rx": "lid.rx" + } + ] + }, + { + "part": "lid", + "id": "lid", + "invertAxis": "xy", + "translate": [-8, -9, -7], + "rotate": [-180, 0, 0], + "animations": [ + { + "this.rx": 0 + } + ] + }, + { + "part": "knob", + "id": "knob", + "invertAxis": "xy", + "translate": [-8, -8, -8], + "rotate": [-180, 0, 0], + "animations": [ + { + "this.rx": 0 + } + ] + } + ] +} \ No newline at end of file -- cgit v1.2.3