From 6cb9d31df3bccdb6527e02c61b6db485b4e7a16f Mon Sep 17 00:00:00 2001 From: Vitaly Turovsky Date: Sun, 8 Oct 2023 21:55:59 +0300 Subject: [PATCH] add chest data --- .../viewer/prepare/blockStates/chest.json | 49 +++++++++++++++++++ .../prepare/blockStates/ender_chest.json | 19 +++++++ .../prepare/blockStates/trapped_chest.json | 49 +++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 prismarine-viewer/viewer/prepare/blockStates/chest.json create mode 100644 prismarine-viewer/viewer/prepare/blockStates/ender_chest.json create mode 100644 prismarine-viewer/viewer/prepare/blockStates/trapped_chest.json diff --git a/prismarine-viewer/viewer/prepare/blockStates/chest.json b/prismarine-viewer/viewer/prepare/blockStates/chest.json new file mode 100644 index 00000000..11053c9d --- /dev/null +++ b/prismarine-viewer/viewer/prepare/blockStates/chest.json @@ -0,0 +1,49 @@ +{ + "variants": { + "facing=north,type=single": { + "model": "chest" + }, + "facing=east,type=single": { + "model": "chest", + "y": 90 + }, + "facing=south,type=single": { + "model": "chest", + "y": 180 + }, + "facing=west,type=single": { + "model": "chest", + "y": 270 + }, + "facing=north,type=left": { + "model": "chest_left" + }, + "facing=east,type=left": { + "model": "chest_left", + "y": 90 + }, + "facing=south,type=left": { + "model": "chest_left", + "y": 180 + }, + "facing=west,type=left": { + "model": "chest_left", + "y": 270 + }, + "facing=north,type=right": { + "model": "chest_right" + }, + "facing=east,type=right": { + "model": "chest_right", + "y": 90 + }, + "facing=south,type=right": { + "model": "chest_right", + "y": 180 + }, + "facing=west,type=right": { + "model": "chest_right", + "y": 270 + } + } +} diff --git a/prismarine-viewer/viewer/prepare/blockStates/ender_chest.json b/prismarine-viewer/viewer/prepare/blockStates/ender_chest.json new file mode 100644 index 00000000..7d81b878 --- /dev/null +++ b/prismarine-viewer/viewer/prepare/blockStates/ender_chest.json @@ -0,0 +1,19 @@ +{ + "variants": { + "facing=north": { + "model": "chest" + }, + "facing=east": { + "model": "chest", + "y": 90 + }, + "facing=south": { + "model": "chest", + "y": 180 + }, + "facing=west": { + "model": "chest", + "y": 270 + } + } +} diff --git a/prismarine-viewer/viewer/prepare/blockStates/trapped_chest.json b/prismarine-viewer/viewer/prepare/blockStates/trapped_chest.json new file mode 100644 index 00000000..11053c9d --- /dev/null +++ b/prismarine-viewer/viewer/prepare/blockStates/trapped_chest.json @@ -0,0 +1,49 @@ +{ + "variants": { + "facing=north,type=single": { + "model": "chest" + }, + "facing=east,type=single": { + "model": "chest", + "y": 90 + }, + "facing=south,type=single": { + "model": "chest", + "y": 180 + }, + "facing=west,type=single": { + "model": "chest", + "y": 270 + }, + "facing=north,type=left": { + "model": "chest_left" + }, + "facing=east,type=left": { + "model": "chest_left", + "y": 90 + }, + "facing=south,type=left": { + "model": "chest_left", + "y": 180 + }, + "facing=west,type=left": { + "model": "chest_left", + "y": 270 + }, + "facing=north,type=right": { + "model": "chest_right" + }, + "facing=east,type=right": { + "model": "chest_right", + "y": 90 + }, + "facing=south,type=right": { + "model": "chest_right", + "y": 180 + }, + "facing=west,type=right": { + "model": "chest_right", + "y": 270 + } + } +}