161 lines
3.6 KiB
Plaintext
161 lines
3.6 KiB
Plaintext
{
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |