From e97c623553586da0996adcdd24a3a7ce02c47d67 Mon Sep 17 00:00:00 2001 From: millennIumAMbiguity <37588844+millennIumAMbiguity@users.noreply.github.com> Date: Sat, 4 May 2024 17:37:12 +0200 Subject: [PATCH] Added retro helm resource pack --- .../models/block/template_ship_helm.json | 1579 +++++++++++++++++ .../models/block/template_ship_helm_base.json | 516 ++++++ .../block/template_ship_helm_wheel.json | 1167 ++++++++++++ .../resourcepacks/retro_helms/pack.mcmeta | 6 + .../eureka/fabric/EurekaModFabric.java | 10 + 5 files changed, 3278 insertions(+) create mode 100644 common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm.json create mode 100644 common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_base.json create mode 100644 common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_wheel.json create mode 100644 common/src/main/resources/resourcepacks/retro_helms/pack.mcmeta diff --git a/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm.json b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm.json new file mode 100644 index 00000000..6502452c --- /dev/null +++ b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm.json @@ -0,0 +1,1579 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "planks": "minecraft:block/oak_planks", + "gold_block": "minecraft:block/gold_block", + "log": "minecraft:block/oak_log", + "particle": "minecraft:block/oak_planks" + }, + "elements": [ + { + "from": [ + 1, + 0, + 1 + ], + "to": [ + 15, + 1, + 15 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 0.5, + 8 + ] + }, + "faces": { + "north": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 2, + 15, + 3 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 15, + 15, + 1, + 1 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 1, + 1, + 15, + 15 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 1, + 1, + 6 + ], + "to": [ + 15, + 2, + 14 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 14, + 1 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 13, + 9, + 14 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 14, + 15, + 15 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 13, + 9, + 14 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 1, + 4, + 15, + 12 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 37.5, + 0, + 29.5, + 14 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 5, + 7, + 6 + ], + "to": [ + 11, + 12, + 14 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 6, + 5 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 2, + 9, + 7 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2.5, + 3, + 8.5, + 8 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 2, + 9, + 7 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 1, + 0, + 7, + 8 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 0, + 0, + 8, + 6 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 4, + 2, + 7 + ], + "to": [ + 12, + 8, + 13 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 3, + 8, + 9 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 7, + 8, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 8, + 9, + 14 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 7, + 8, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 3, + 5, + 9, + 13 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 25.5, + 6, + 19.5, + 14 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 7, + 8.6, + 5 + ], + "to": [ + 9, + 11.4, + 7 + ], + "shade": false, + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 8.5, + 10, + 6.5, + 12.8 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 10.5, + 10, + 8.5, + 12.8 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 12.5, + 10, + 10.5, + 12 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 14.5, + 10, + 12.5, + 12 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 8.5, + 10, + 10.5, + 8 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 10.5, + 8, + 12.5, + 10 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 7, + 9, + 4 + ], + "to": [ + 9, + 11, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "east": { + "uv": [ + 2, + 3, + 4, + 5 + ], + "texture": "#gold_block" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "west": { + "uv": [ + 2, + 12, + 4, + 14 + ], + "texture": "#gold_block" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + } + } + }, + { + "from": [ + 3, + 9.5, + 4.15 + ], + "to": [ + 13, + 10.5, + 4.85 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 7.5, + 5, + 4.15 + ], + "to": [ + 8.5, + 15, + 4.85 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 5, + 4, + 4 + ], + "to": [ + 11, + 5, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 5, + 15, + 4 + ], + "to": [ + 11, + 16, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 2, + 7, + 4 + ], + "to": [ + 3, + 13, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 13, + 7, + 4 + ], + "to": [ + 14, + 13, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 7.5, + 4, + 4.25 + ], + "to": [ + 8.5, + 16, + 4.75 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 2, + 9.5, + 4.25 + ], + "to": [ + 14, + 10.5, + 4.75 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 12, + 3.7 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 12, + 3.7 + ], + "rotation": 180, + "texture": "#planks" + } + } + }, + { + "from": [ + 5.875, + 3.65, + 4.1 + ], + "to": [ + 10.125, + 4.6, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 1.65, + 7.875, + 4.1 + ], + "to": [ + 2.6, + 12.125, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 5.875, + 15.4, + 4.1 + ], + "to": [ + 10.125, + 16.35, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 13.4, + 7.875, + 4.1 + ], + "to": [ + 14.35, + 12.125, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "ground": { + "translation": [ + 0, + 0.5, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 14, + 158, + 0 + ], + "translation": [ + 0, + 1, + 0 + ], + "scale": [ + 0.78, + 0.78, + 0.78 + ] + }, + "head": { + "translation": [ + 0, + -2, + -3.5 + ] + }, + "fixed": { + "translation": [ + 0, + 0, + -3 + ] + } + }, + "groups": [ + { + "name": "base", + "origin": [ + 0, + 0, + 0 + ], + "color": 0, + "children": [ + 0, + 1, + 2, + 3, + 4, + { + "name": "wheel", + "origin": [ + 4, + 0, + 0 + ], + "color": 0, + "children": [ + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17 + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_base.json b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_base.json new file mode 100644 index 00000000..ab0c9a8f --- /dev/null +++ b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_base.json @@ -0,0 +1,516 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "planks": "minecraft:block/oak_planks", + "particle": "minecraft:block/oak_planks" + }, + "elements": [ + { + "from": [ + 1, + 0, + 1 + ], + "to": [ + 15, + 1, + 15 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 0.5, + 8 + ] + }, + "faces": { + "north": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 2, + 15, + 3 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 15, + 15, + 16 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 15, + 15, + 1, + 1 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 1, + 1, + 15, + 15 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 1, + 1, + 6 + ], + "to": [ + 15, + 2, + 14 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 14, + 1 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 13, + 9, + 14 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 14, + 15, + 15 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 13, + 9, + 14 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 1, + 4, + 15, + 12 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 37.5, + 0, + 29.5, + 14 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 5, + 7, + 6 + ], + "to": [ + 11, + 12, + 14 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 6, + 5 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 1, + 2, + 9, + 7 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2.5, + 3, + 8.5, + 8 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 1, + 2, + 9, + 7 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 1, + 0, + 7, + 8 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 0, + 0, + 8, + 6 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 4, + 2, + 7 + ], + "to": [ + 12, + 8, + 13 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 3, + 8, + 9 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 7, + 8, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 1, + 8, + 9, + 14 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 7, + 8, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 3, + 5, + 9, + 13 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 25.5, + 6, + 19.5, + 14 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 7, + 8.6, + 5 + ], + "to": [ + 9, + 11.4, + 7 + ], + "shade": false, + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8.5, + 7.5, + 7.5 + ] + }, + "faces": { + "north": { + "uv": [ + 8.5, + 10, + 6.5, + 12.8 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 10.5, + 10, + 8.5, + 12.8 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 12.5, + 10, + 10.5, + 12 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 14.5, + 10, + 12.5, + 12 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 8.5, + 10, + 10.5, + 8 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 10.5, + 8, + 12.5, + 10 + ], + "rotation": 270, + "texture": "#planks" + } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "ground": { + "translation": [ + 0, + 0.5, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 14, + 158, + 0 + ], + "translation": [ + 0, + 1, + 0 + ], + "scale": [ + 0.78, + 0.78, + 0.78 + ] + }, + "head": { + "translation": [ + 0, + -2, + -3.5 + ] + }, + "fixed": { + "translation": [ + 0, + 0, + -3 + ] + } + }, + "groups": [ + { + "name": "base", + "origin": [ + 0, + 0, + 0 + ], + "color": 0, + "children": [ + 0, + 1, + 2, + 3, + 4 + ] + } + ] +} \ No newline at end of file diff --git a/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_wheel.json b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_wheel.json new file mode 100644 index 00000000..c486119b --- /dev/null +++ b/common/src/main/resources/resourcepacks/retro_helms/assets/vs_eureka/models/block/template_ship_helm_wheel.json @@ -0,0 +1,1167 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "planks": "minecraft:block/oak_planks", + "gold_block": "minecraft:block/gold_block", + "log": "minecraft:block/oak_log", + "particle": "minecraft:block/oak_planks" + }, + "elements": [ + { + "from": [ + 7, + 9, + 4 + ], + "to": [ + 9, + 11, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "east": { + "uv": [ + 2, + 3, + 4, + 5 + ], + "texture": "#gold_block" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "west": { + "uv": [ + 2, + 12, + 4, + 14 + ], + "texture": "#gold_block" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 5 + ], + "texture": "#gold_block" + } + } + }, + { + "from": [ + 3, + 9.5, + 4.15 + ], + "to": [ + 13, + 10.5, + 4.85 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 7.5, + 5, + 4.15 + ], + "to": [ + 8.5, + 15, + 4.85 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 5, + 4, + 4 + ], + "to": [ + 11, + 5, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 5, + 15, + 4 + ], + "to": [ + 11, + 16, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 2, + 7, + 4 + ], + "to": [ + 3, + 13, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 13, + 7, + 4 + ], + "to": [ + 14, + 13, + 5 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 7.5, + 4, + 4.25 + ], + "to": [ + 8.5, + 16, + 4.75 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 3, + 13 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 13 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 90, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "rotation": 270, + "texture": "#planks" + } + } + }, + { + "from": [ + 2, + 9.5, + 4.25 + ], + "to": [ + 14, + 10.5, + 4.75 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "east": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "south": { + "uv": [ + 2, + 3, + 12, + 4 + ], + "texture": "#planks" + }, + "west": { + "uv": [ + 2, + 3, + 2.7, + 4 + ], + "texture": "#planks" + }, + "up": { + "uv": [ + 2, + 3, + 12, + 3.7 + ], + "rotation": 180, + "texture": "#planks" + }, + "down": { + "uv": [ + 2, + 3, + 12, + 3.7 + ], + "rotation": 180, + "texture": "#planks" + } + } + }, + { + "from": [ + 5.875, + 3.65, + 4.1 + ], + "to": [ + 10.125, + 4.6, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 1.65, + 7.875, + 4.1 + ], + "to": [ + 2.6, + 12.125, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + }, + { + "from": [ + 5.875, + 15.4, + 4.1 + ], + "to": [ + 10.125, + 16.35, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 180, + "texture": "#log" + } + } + }, + { + "from": [ + 13.4, + 7.875, + 4.1 + ], + "to": [ + 14.35, + 12.125, + 4.9 + ], + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8, + 10, + 4.5 + ] + }, + "faces": { + "north": { + "uv": [ + 2, + 3, + 6.25, + 3.95 + ], + "rotation": 90, + "texture": "#log" + }, + "east": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "south": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "west": { + "uv": [ + 2, + 3, + 8, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "up": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 90, + "texture": "#log" + }, + "down": { + "uv": [ + 2, + 3, + 3, + 4 + ], + "rotation": 270, + "texture": "#log" + } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 16, + 90, + 0 + ], + "translation": [ + 0, + 4, + 0 + ], + "scale": [ + 0.55, + 0.55, + 0.55 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 90, + 0 + ] + }, + "ground": { + "translation": [ + 0, + 0.5, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 14, + 158, + 0 + ], + "translation": [ + 0, + 1, + 0 + ], + "scale": [ + 0.78, + 0.78, + 0.78 + ] + }, + "head": { + "translation": [ + 0, + -2, + -3.5 + ] + }, + "fixed": { + "translation": [ + 0, + 0, + -3 + ] + } + }, + "groups": [ + { + "name": "wheel", + "origin": [ + 4, + 0, + 0 + ], + "color": 0, + "children": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ] + } + ] +} \ No newline at end of file diff --git a/common/src/main/resources/resourcepacks/retro_helms/pack.mcmeta b/common/src/main/resources/resourcepacks/retro_helms/pack.mcmeta new file mode 100644 index 00000000..e66cdff1 --- /dev/null +++ b/common/src/main/resources/resourcepacks/retro_helms/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 9, + "description": "retro eureka wheel" + } +} \ No newline at end of file diff --git a/fabric/src/main/java/org/valkyrienskies/eureka/fabric/EurekaModFabric.java b/fabric/src/main/java/org/valkyrienskies/eureka/fabric/EurekaModFabric.java index c1b6be14..f9f5ceb9 100644 --- a/fabric/src/main/java/org/valkyrienskies/eureka/fabric/EurekaModFabric.java +++ b/fabric/src/main/java/org/valkyrienskies/eureka/fabric/EurekaModFabric.java @@ -9,6 +9,10 @@ import net.fabricmc.fabric.api.client.model.BakedModelManagerHelper; import net.fabricmc.fabric.api.client.model.ModelLoadingRegistry; import net.fabricmc.fabric.api.client.rendereregistry.v1.BlockEntityRendererRegistry; +import net.fabricmc.fabric.api.resource.ResourceManagerHelper; +import net.fabricmc.fabric.api.resource.ResourcePackActivationType; +import net.fabricmc.loader.api.FabricLoader; +import net.fabricmc.loader.api.ModContainer; import net.minecraft.client.Minecraft; import net.minecraft.resources.ResourceLocation; import org.valkyrienskies.core.impl.config.VSConfigClass; @@ -28,6 +32,12 @@ public void onInitialize() { new ValkyrienSkiesModFabric().onInitialize(); EurekaMod.init(); + + // TODO: make resources packs work + ModContainer eureka = FabricLoader.getInstance().getModContainer(EurekaMod.MOD_ID) + .orElseThrow(() -> new IllegalStateException("Eureka's ModContainer couldn't be found!")); + ResourceLocation packId = new ResourceLocation(EurekaMod.MOD_ID, "retro_helms"); + ResourceManagerHelper.registerBuiltinResourcePack(packId, eureka, "Eureka retro helms", ResourcePackActivationType.NORMAL); } @Environment(EnvType.CLIENT)