From 686158071713af06d06fbff83364c7cb1145c80e Mon Sep 17 00:00:00 2001 From: Mark Rapson Date: Thu, 12 Dec 2024 18:26:01 +0000 Subject: [PATCH] Custom Card Deck Models --- .../assets/cards/models/item/custom/deck.json | 208 ++++++++++++++++++ .../assets/cards/models/item/deck.json | 208 ++++++++++++++++++ .../cards/textures/item/custom/deck.png | Bin 0 -> 313 bytes .../assets/cards/textures/item/deck.png | Bin 0 -> 291 bytes .../assets/minecraft/items/bundle.json | 48 ++++ 5 files changed, 464 insertions(+) create mode 100644 packs/0-lzcustom/assets/cards/models/item/custom/deck.json create mode 100644 packs/0-lzcustom/assets/cards/models/item/deck.json create mode 100644 packs/0-lzcustom/assets/cards/textures/item/custom/deck.png create mode 100644 packs/0-lzcustom/assets/cards/textures/item/deck.png create mode 100644 packs/0-lzcustom/assets/minecraft/items/bundle.json diff --git a/packs/0-lzcustom/assets/cards/models/item/custom/deck.json b/packs/0-lzcustom/assets/cards/models/item/custom/deck.json new file mode 100644 index 0000000..3e0a80d --- /dev/null +++ b/packs/0-lzcustom/assets/cards/models/item/custom/deck.json @@ -0,0 +1,208 @@ +{ + "texture_size": [25, 17], + "textures": { + "0": "cards:item/custom/blank", + "1": "cards:item/custom/back", + "2": "cards:item/custom/s_13", + "3": "cards:item/custom/deck", + "particle": "cards:item/custom/back" + }, + "elements": [ + { + "name": "right", + "from": [0.5, 6.65, 12], + "to": [11.5, 7.65, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "south": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "front", + "from": [0.5, 7.65, 4], + "to": [11.5, 7.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "up": {"uv": [0, 0, 8, 12], "rotation": 90, "texture": "#0"} + } + }, + { + "name": "back", + "from": [0.5, 6.65, 4], + "to": [11.5, 6.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "down": {"uv": [8, 12, 0, 0], "rotation": 270, "texture": "#1"} + } + }, + { + "name": "top", + "from": [11.5, 6.65, 4], + "to": [12.5, 7.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.9, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "east": {"uv": [9, 0, 10, 8], "rotation": 90, "texture": "#1"}, + "south": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 8], "texture": "#1"}, + "down": {"uv": [9, 0, 10, 8], "texture": "#1"} + } + }, + { + "name": "left", + "from": [0.5, 6.65, 3], + "to": [11.5, 7.65, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 12], "rotation": 270, "texture": "#1"}, + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "right", + "from": [3, 7.3, 12], + "to": [15, 8.3, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "south": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "front", + "from": [9, 8.3, 4], + "to": [15, 8.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "up": {"uv": [0, 0, 8, 8], "rotation": 90, "texture": "#2"} + } + }, + { + "name": "back", + "from": [3, 7.3, 4], + "to": [15, 7.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "down": {"uv": [8, 12, 0, 0], "rotation": 270, "texture": "#1"} + } + }, + { + "name": "top", + "from": [15, 7.3, 4], + "to": [16, 8.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "east": {"uv": [9, 0, 10, 8], "rotation": 90, "texture": "#1"}, + "south": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 8], "texture": "#1"}, + "down": {"uv": [9, 0, 10, 8], "texture": "#1"} + } + }, + { + "name": "left", + "from": [3, 7.3, 3], + "to": [15, 8.3, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 12], "rotation": 270, "texture": "#1"}, + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "from": [0, 6, 2], + "to": [11, 9, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 6, 2]}, + "faces": { + "north": {"uv": [14.08, 0, 16, 10.35294], "rotation": 90, "texture": "#3"}, + "east": {"uv": [0, 11.29412, 16, 16], "texture": "#3"}, + "south": {"uv": [14.08, 0.94118, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "west": {"uv": [14.08, 0, 16, 10.88], "rotation": 90, "texture": "#3"}, + "up": {"uv": [0, 0, 7, 11], "rotation": 180, "texture": "#3"}, + "down": {"uv": [7, 0, 14, 11], "texture": "#3"} + } + }, + { + "from": [7, 3, 2], + "to": [11, 6, 14], + "rotation": {"angle": 45, "axis": "z", "origin": [11, 6, 8]}, + "faces": { + "north": {"uv": [14.08, 0, 16, 3.76471], "rotation": 90, "texture": "#3"}, + "east": {"uv": [0, 11.29412, 16, 16], "texture": "#3"}, + "south": {"uv": [14.08, 7.52941, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "west": {"uv": [14.08, 0, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "up": {"uv": [14.08, 0, 16, 11.29412], "rotation": 180, "texture": "#3"}, + "down": {"uv": [14.08, 0, 16, 11.29412], "rotation": 180, "texture": "#3"} + } + } + ], + "gui_light": "front", + "display": { + "thirdperson_righthand": { + "rotation": [30, 64, 55], + "translation": [-0.25, 3.5, -0.5], + "scale": [0.5, 0.5, 0.5] + }, + "thirdperson_lefthand": { + "rotation": [30, -116, -55], + "translation": [-0.25, 3.5, -0.5], + "scale": [0.5, 0.5, 0.5] + }, + "firstperson_righthand": { + "rotation": [0, 50, 80], + "translation": [2.75, 0, -1.25], + "scale": [0.7, 0.7, 0.7] + }, + "firstperson_lefthand": { + "rotation": [0, -130, -80], + "translation": [2.75, 0, -1.25], + "scale": [0.7, 0.7, 0.7] + }, + "ground": { + "rotation": [0, 0, 30], + "translation": [0, 0.75, 0], + "scale": [0.5, 0.5, 0.5] + }, + "gui": { + "rotation": [90, 85, 0], + "scale": [0.75, 0.75, 0.75] + }, + "head": { + "rotation": [78, -79, 161], + "translation": [-0.5, 12, -0.75] + }, + "fixed": { + "rotation": [0, -90, 90], + "scale": [1.2, 1.2, 1.2] + } + }, + "groups": [ + { + "name": "Top Card", + "origin": [8, 7.5, 8], + "color": 0, + "children": [0, 1, 2, 3, 4] + }, + { + "name": "Bottom Card", + "origin": [8, 7.5, 8], + "color": 0, + "children": [5, 6, 7, 8, 9] + }, + 10, + 11 + ] +} \ No newline at end of file diff --git a/packs/0-lzcustom/assets/cards/models/item/deck.json b/packs/0-lzcustom/assets/cards/models/item/deck.json new file mode 100644 index 0000000..daace4c --- /dev/null +++ b/packs/0-lzcustom/assets/cards/models/item/deck.json @@ -0,0 +1,208 @@ +{ + "texture_size": [25, 17], + "textures": { + "0": "cards:item/blank", + "1": "cards:item/back", + "2": "cards:item/h_13", + "3": "cards:item/deck", + "particle": "cards:item/back" + }, + "elements": [ + { + "name": "right", + "from": [0.5, 6.65, 12], + "to": [11.5, 7.65, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "south": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "front", + "from": [0.5, 7.65, 4], + "to": [11.5, 7.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "up": {"uv": [0, 0, 8, 12], "rotation": 90, "texture": "#0"} + } + }, + { + "name": "back", + "from": [0.5, 6.65, 4], + "to": [11.5, 6.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "down": {"uv": [8, 12, 0, 0], "rotation": 270, "texture": "#1"} + } + }, + { + "name": "top", + "from": [11.5, 6.65, 4], + "to": [12.5, 7.65, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.9, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "east": {"uv": [9, 0, 10, 8], "rotation": 90, "texture": "#1"}, + "south": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 8], "texture": "#1"}, + "down": {"uv": [9, 0, 10, 8], "texture": "#1"} + } + }, + { + "name": "left", + "from": [0.5, 6.65, 3], + "to": [11.5, 7.65, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7.9, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 12], "rotation": 270, "texture": "#1"}, + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "right", + "from": [3, 7.3, 12], + "to": [15, 8.3, 13], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "south": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "name": "front", + "from": [9, 8.3, 4], + "to": [15, 8.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "up": {"uv": [0, 0, 8, 8], "rotation": 90, "texture": "#2"} + } + }, + { + "name": "back", + "from": [3, 7.3, 4], + "to": [15, 7.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "down": {"uv": [8, 12, 0, 0], "rotation": 270, "texture": "#1"} + } + }, + { + "name": "top", + "from": [15, 7.3, 4], + "to": [16, 8.3, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "east": {"uv": [9, 0, 10, 8], "rotation": 90, "texture": "#1"}, + "south": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 8], "texture": "#1"}, + "down": {"uv": [9, 0, 10, 8], "texture": "#1"} + } + }, + { + "name": "left", + "from": [3, 7.3, 3], + "to": [15, 8.3, 4], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7.3, 8]}, + "faces": { + "north": {"uv": [9, 0, 10, 12], "rotation": 270, "texture": "#1"}, + "east": {"uv": [9, 0, 10, 1], "texture": "#1"}, + "west": {"uv": [8, 0, 9, 1], "texture": "#1"}, + "up": {"uv": [8, 0, 9, 12], "rotation": 90, "texture": "#1"}, + "down": {"uv": [9, 0, 10, 12], "rotation": 90, "texture": "#1"} + } + }, + { + "from": [0, 6, 2], + "to": [11, 9, 14], + "rotation": {"angle": 0, "axis": "y", "origin": [2, 6, 2]}, + "faces": { + "north": {"uv": [14.08, 0, 16, 10.35294], "rotation": 90, "texture": "#3"}, + "east": {"uv": [0, 11.29412, 16, 16], "texture": "#3"}, + "south": {"uv": [14.08, 0.94118, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "west": {"uv": [14.08, 0, 16, 10.88], "rotation": 90, "texture": "#3"}, + "up": {"uv": [0, 0, 7, 11], "rotation": 180, "texture": "#3"}, + "down": {"uv": [7, 0, 14, 11], "texture": "#3"} + } + }, + { + "from": [7, 3, 2], + "to": [11, 6, 14], + "rotation": {"angle": 45, "axis": "z", "origin": [11, 6, 8]}, + "faces": { + "north": {"uv": [14.08, 0, 16, 3.76471], "rotation": 90, "texture": "#3"}, + "east": {"uv": [0, 11.29412, 16, 16], "texture": "#3"}, + "south": {"uv": [14.08, 7.52941, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "west": {"uv": [14.08, 0, 16, 11.29412], "rotation": 90, "texture": "#3"}, + "up": {"uv": [14.08, 0, 16, 11.29412], "rotation": 180, "texture": "#3"}, + "down": {"uv": [14.08, 0, 16, 11.29412], "rotation": 180, "texture": "#3"} + } + } + ], + "gui_light": "front", + "display": { + "thirdperson_righthand": { + "rotation": [30, 64, 55], + "translation": [-0.25, 3.5, -0.5], + "scale": [0.5, 0.5, 0.5] + }, + "thirdperson_lefthand": { + "rotation": [30, -116, -55], + "translation": [-0.25, 3.5, -0.5], + "scale": [0.5, 0.5, 0.5] + }, + "firstperson_righthand": { + "rotation": [0, 50, 80], + "translation": [2.75, 0, -1.25], + "scale": [0.7, 0.7, 0.7] + }, + "firstperson_lefthand": { + "rotation": [0, -130, -80], + "translation": [2.75, 0, -1.25], + "scale": [0.7, 0.7, 0.7] + }, + "ground": { + "rotation": [0, 0, 30], + "translation": [0, 0.75, 0], + "scale": [0.5, 0.5, 0.5] + }, + "gui": { + "rotation": [90, 85, 0], + "scale": [0.75, 0.75, 0.75] + }, + "head": { + "rotation": [78, -79, 161], + "translation": [-0.5, 12, -0.75] + }, + "fixed": { + "rotation": [0, -90, 90], + "scale": [1.2, 1.2, 1.2] + } + }, + "groups": [ + { + "name": "Top Card", + "origin": [8, 7.5, 8], + "color": 0, + "children": [0, 1, 2, 3, 4] + }, + { + "name": "Bottom Card", + "origin": [8, 7.5, 8], + "color": 0, + "children": [5, 6, 7, 8, 9] + }, + 10, + 11 + ] +} \ No newline at end of file diff --git a/packs/0-lzcustom/assets/cards/textures/item/custom/deck.png b/packs/0-lzcustom/assets/cards/textures/item/custom/deck.png new file mode 100644 index 0000000000000000000000000000000000000000..206a6f1a8d60059083468bddf711275b545b68ab GIT binary patch literal 313 zcmeAS@N?(olHy`uVBq!ia0vp^l0YoT!2~3i--c8wsHg}; znUazn()wq)8g@)nDc|Veqq}DQre|8=3%_mucTA?^%bl(5CrZR;$;8-OzT0J@o$!0I zI?&8{zUdOzRQA??&#Rux>3mtz=&*N`8=FwvCdJRQ)bu{*SUK0(aB*=4s>`K1KNG#? zf6@E4gXgcLB}sBgi>5gO4dA&_BwqbYJ8M_>th7MmH;g`C*lW%__5=kCgQu&X%Q~lo FCIEjEa{mAT literal 0 HcmV?d00001 diff --git a/packs/0-lzcustom/assets/cards/textures/item/deck.png b/packs/0-lzcustom/assets/cards/textures/item/deck.png new file mode 100644 index 0000000000000000000000000000000000000000..3508668604fff263f956b8c99cfe4bbbf9a5dea0 GIT binary patch literal 291 zcmV+;0o?wHP)P000pP0ssI2r`V8L00001b5ch_0Itp) z=>Px#-AP12R5*>TQ?UwzFcdt+(M8uf>0n34PzoIj&8|a-uKg2#p|}-ws2@;p6vS_+ zLpGheJVeJ5}YC$0|4j%OwR|favb#@qZM?DXbgDoC`D`8_Mi|o0*&aqt`4!p*JW*GoZU9w z`SDcaI^6y1OaGD`N?D#4Pw(5J3gRT=Ozj)Q2|->NXHvALcUaz|q9f?>