From 19efbf2fbe20448e5aca3f819a6d52cf7bd2e0b8 Mon Sep 17 00:00:00 2001 From: Regorty <76084061+Regorty@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:11:21 -0400 Subject: [PATCH] drawers clutter for port sarim and other areas. --- assets/minecraft/models/item/arrow.json | 2 +- assets/ms/models/clutter/drawers_generic.json | 360 ++++++++++++++++++ 2 files changed, 361 insertions(+), 1 deletion(-) create mode 100644 assets/ms/models/clutter/drawers_generic.json diff --git a/assets/minecraft/models/item/arrow.json b/assets/minecraft/models/item/arrow.json index dedc2b271..95e9176c0 100644 --- a/assets/minecraft/models/item/arrow.json +++ b/assets/minecraft/models/item/arrow.json @@ -195,7 +195,7 @@ {"predicate": {"custom_model_data":192},"model":"ms:clutter/bank_chest_sign"}, {"predicate": {"custom_model_data":193},"model":"ms:clutter/corsair_throne"}, {"predicate": {"custom_model_data":194},"model":"ms:clutter/ogre_floor_bed"}, -{"predicate": {"custom_model_data":195},"model":"item/empty"}, +{"predicate": {"custom_model_data":195},"model":"ms:clutter/drawers_generic"}, {"predicate": {"custom_model_data":196},"model":"item/empty"}, {"predicate": {"custom_model_data":197},"model":"item/empty"}, {"predicate": {"custom_model_data":198},"model":"item/empty"}, diff --git a/assets/ms/models/clutter/drawers_generic.json b/assets/ms/models/clutter/drawers_generic.json new file mode 100644 index 000000000..a45bbc7f7 --- /dev/null +++ b/assets/ms/models/clutter/drawers_generic.json @@ -0,0 +1,360 @@ +{ + "credit": "Made by Regorty", + "textures": { + "0": "item/custom/stone_pickaxe/basket_wood", + "1": "item/custom/diamond_pickaxe/steel_bar", + "particle": "item/custom/stone_pickaxe/basket_wood" + }, + "elements": [ + { + "from": [8, 2, 0], + "to": [24, 16, 14], + "faces": { + "north": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 14, 14], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 14, 14], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 16, 14], "texture": "#0"} + } + }, + { + "from": [-8, 2, 0], + "to": [8, 16, 14], + "faces": { + "north": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 14, 14], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 14, 14], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 14, 16], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 16, 14], "texture": "#0"} + } + }, + { + "from": [-7, 0, 11], + "to": [-5, 2, 13], + "faces": { + "north": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [-7, 0, 1], + "to": [-5, 2, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -10]}, + "faces": { + "north": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [21, 0, 1], + "to": [23, 2, 3], + "rotation": {"angle": 0, "axis": "y", "origin": [28, 0, -10]}, + "faces": { + "north": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 1, 1], "texture": "#0"}, + "west": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [21, 0, 11], + "to": [23, 2, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [28, 0, 0]}, + "faces": { + "north": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [-6, 10, 14], + "to": [8, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 1, 1]}, + "faces": { + "north": {"uv": [0, 0, 14, 5], "texture": "#0"}, + "east": {"uv": [0, 0, 1, 5], "texture": "#0"}, + "south": {"uv": [0, 0, 5, 14], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 1, 5], "texture": "#0"}, + "up": {"uv": [0, 0, 14, 1], "texture": "#0"}, + "down": {"uv": [0, 0, 14, 1], "texture": "#0"} + } + }, + { + "from": [-6, 4, 14], + "to": [8, 9, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, -7, 1]}, + "faces": { + "north": {"uv": [0, 0, 5, 14], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 5, 1], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 0, 5, 14], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 5, 1], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 14, 1], "texture": "#0"}, + "down": {"uv": [0, 0, 1, 14], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [8, 10, 14], + "to": [22, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, 1, 1]}, + "faces": { + "north": {"uv": [0, 0, 14, 5], "texture": "#0"}, + "east": {"uv": [0, 0, 1, 5], "texture": "#0"}, + "south": {"uv": [5, 0, 10, 14], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 1, 5], "texture": "#0"}, + "up": {"uv": [0, 0, 14, 1], "texture": "#0"}, + "down": {"uv": [0, 0, 14, 1], "texture": "#0"} + } + }, + { + "from": [8, 4, 14], + "to": [22, 9, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [0, -7, 1]}, + "faces": { + "north": {"uv": [0, 0, 5, 14], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 5, 1], "rotation": 90, "texture": "#0"}, + "south": {"uv": [5, 0, 10, 14], "rotation": 90, "texture": "#0"}, + "west": {"uv": [0, 0, 5, 1], "rotation": 90, "texture": "#0"}, + "up": {"uv": [0, 0, 14, 1], "texture": "#0"}, + "down": {"uv": [0, 0, 1, 14], "rotation": 90, "texture": "#0"} + } + }, + { + "from": [2.5, 11, 15], + "to": [5, 12, 16], + "rotation": {"angle": 0, "axis": "z", "origin": [4.95653, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [4.64409, 11.0535, 15], + "to": [6.14409, 12.0535, 16], + "rotation": {"angle": 22.5, "axis": "z", "origin": [4.95653, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [5.40995, 12.14743, 15], + "to": [6.40995, 13.39743, 16], + "rotation": {"angle": -22.5, "axis": "z", "origin": [4.95653, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [4.81058, 11.70859, 15], + "to": [5.81058, 13.45859, 16], + "rotation": {"angle": -45, "axis": "z", "origin": [4.95653, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [11, 11, 15], + "to": [13.5, 12, 16], + "rotation": {"angle": 0, "axis": "z", "origin": [11.04347, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [9.85591, 11.0535, 15], + "to": [11.35591, 12.0535, 16], + "rotation": {"angle": -22.5, "axis": "z", "origin": [11.04347, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [9.59005, 12.14743, 15], + "to": [10.59005, 13.39743, 16], + "rotation": {"angle": 22.5, "axis": "z", "origin": [11.04347, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [10.18942, 11.70859, 15], + "to": [11.18942, 13.45859, 16], + "rotation": {"angle": 45, "axis": "z", "origin": [11.04347, 11.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [2.5, 5, 15], + "to": [5, 6, 16], + "rotation": {"angle": 0, "axis": "z", "origin": [4.95653, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [4.64409, 5.0535, 15], + "to": [6.14409, 6.0535, 16], + "rotation": {"angle": 22.5, "axis": "z", "origin": [4.95653, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [4.81058, 5.70859, 15], + "to": [5.81058, 7.45859, 16], + "rotation": {"angle": -45, "axis": "z", "origin": [4.95653, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [5.40995, 6.14743, 15], + "to": [6.40995, 7.39743, 16], + "rotation": {"angle": -22.5, "axis": "z", "origin": [4.95653, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [10.18942, 5.70859, 15], + "to": [11.18942, 7.45859, 16], + "rotation": {"angle": 45, "axis": "z", "origin": [11.04347, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [9.59005, 6.14743, 15], + "to": [10.59005, 7.39743, 16], + "rotation": {"angle": 22.5, "axis": "z", "origin": [11.04347, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [9.85591, 5.0535, 15], + "to": [11.35591, 6.0535, 16], + "rotation": {"angle": -22.5, "axis": "z", "origin": [11.04347, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + }, + { + "from": [11, 5, 15], + "to": [13.5, 6, 16], + "rotation": {"angle": 0, "axis": "z", "origin": [11.04347, 5.9214, 16]}, + "faces": { + "north": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "east": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "south": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "west": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "up": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"}, + "down": {"uv": [9.625, 6.125, 10.625, 7.125], "texture": "#1"} + } + } + ], + "display": { + "firstperson_righthand": { + "translation": [0, 1.5, 0], + "scale": [0.16, 0.15, 0.15] + }, + "gui": { + "rotation": [12, 25, 0], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [0, -180, 0], + "translation": [-16, 0, 18], + "scale": [2, 2, 2] + } + } +} \ No newline at end of file