diff --git a/src/main/resources/assets/techreborn/models/item/nanosaber.json b/src/main/resources/assets/techreborn/models/item/nanosaber.json index c7e713adf..374a6d193 100644 --- a/src/main/resources/assets/techreborn/models/item/nanosaber.json +++ b/src/main/resources/assets/techreborn/models/item/nanosaber.json @@ -1,20 +1,228 @@ -{ - "parent": "minecraft:item/handheld", - "textures": { - "layer0": "techreborn:item/tool/nanosaber_off" - }, - "overrides": [ - { - "predicate": { - "techreborn:active": 0.5 - }, - "model": "techreborn:item/override/nanosaber_active_low" - }, - { - "predicate": { - "techreborn:active": 1 - }, - "model": "techreborn:item/override/nanosaber_active" - } - ] +{ + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "1": "techreborn:item/tool/nanosaber_off" + }, + "elements": [ + { + "from": [7, 0, 7], + "to": [9, 5, 9], + "faces": { + "north": {"uv": [5, 4, 6, 6.5], "texture": "#1"}, + "east": {"uv": [4, 4, 5, 6.5], "texture": "#1"}, + "south": {"uv": [7, 4, 8, 6.5], "texture": "#1"}, + "west": {"uv": [6, 4, 7, 6.5], "texture": "#1"}, + "up": {"uv": [6, 4, 5, 3], "texture": "#1"}, + "down": {"uv": [7, 3, 6, 4], "texture": "#1"} + } + }, + { + "from": [5.5, 5, 5.5], + "to": [10.5, 6, 10.5], + "faces": { + "north": {"uv": [6.5, 2.5, 9, 3], "texture": "#1"}, + "east": {"uv": [4, 2.5, 6.5, 3], "texture": "#1"}, + "south": {"uv": [11.5, 2.5, 14, 3], "texture": "#1"}, + "west": {"uv": [9, 2.5, 11.5, 3], "texture": "#1"}, + "up": {"uv": [9, 2.5, 6.5, 0], "texture": "#1"}, + "down": {"uv": [11.5, 0, 9, 2.5], "texture": "#1"} + } + }, + { + "from": [7.5, 6, 7], + "to": [8.5, 30, 9], + "faces": { + "north": {"uv": [1, 1, 1.5, 13], "texture": "#1"}, + "east": {"uv": [0, 1, 1, 13], "texture": "#1"}, + "south": {"uv": [2.5, 1, 3, 13], "texture": "#1"}, + "west": {"uv": [1.5, 1, 2.5, 13], "texture": "#1"}, + "up": {"uv": [1.5, 1, 1, 0], "texture": "#1"}, + "down": {"uv": [2, 0, 1.5, 1], "texture": "#1"} + } + }, + { + "from": [7, 6, 7.5], + "to": [9, 9, 10.5], + "faces": { + "north": {"uv": [1.5, 14.5, 2.5, 16], "texture": "#1"}, + "east": {"uv": [0, 14.5, 1.5, 16], "texture": "#1"}, + "south": {"uv": [4, 14.5, 5, 16], "texture": "#1"}, + "west": {"uv": [2.5, 14.5, 4, 16], "texture": "#1"}, + "up": {"uv": [2.5, 14.5, 1.5, 13], "texture": "#1"}, + "down": {"uv": [3.5, 13, 2.5, 14.5], "texture": "#1"} + } + }, + { + "from": [8, 6, 6], + "to": [8, 30, 7], + "faces": { + "north": {"uv": [3.5, 0.5, 3.5, 12.5], "texture": "#1"}, + "east": {"uv": [3, 0.5, 3.5, 12.5], "texture": "#1"}, + "south": {"uv": [4, 0.5, 4, 12.5], "texture": "#1"}, + "west": {"uv": [3.5, 0.5, 4, 12.5], "texture": "#1"}, + "up": {"uv": [3.5, 0.5, 3.5, 0], "texture": "#1"}, + "down": {"uv": [3.5, 0, 3.5, 0.5], "texture": "#1"} + } + }, + { + "from": [8, 30, 7], + "to": [8, 32, 8], + "faces": { + "north": {"uv": [4.5, 1.5, 4.5, 2.5], "texture": "#1"}, + "east": {"uv": [4, 1.5, 4.5, 2.5], "texture": "#1"}, + "south": {"uv": [5, 1.5, 5, 2.5], "texture": "#1"}, + "west": {"uv": [4.5, 1.5, 5, 2.5], "texture": "#1"}, + "up": {"uv": [4.5, 1.5, 4.5, 1], "texture": "#1"}, + "down": {"uv": [4.5, 1, 4.5, 1.5], "texture": "#1"} + } + }, + { + "from": [7.5, 30, 8], + "to": [8.5, 32, 9], + "faces": { + "north": {"uv": [4.5, 0.5, 5, 1.5], "texture": "#1"}, + "east": {"uv": [4, 0.5, 4.5, 1.5], "texture": "#1"}, + "south": {"uv": [5.5, 0.5, 6, 1.5], "texture": "#1"}, + "west": {"uv": [5, 0.5, 5.5, 1.5], "texture": "#1"}, + "up": {"uv": [5, 0.5, 4.5, 0], "texture": "#1"}, + "down": {"uv": [5.5, 0, 5, 0.5], "texture": "#1"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 90, + 45, + -90 + ], + "translation": [ + -3.75, + -3.75, + 0 + ], + "scale": [ + 0.65, + 0.65, + 0.65 + ] + }, + "ground": { + "rotation": [ + 45, + 0, + 0 + ], + "translation": [ + 0, + 3, + -2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "fixed": { + "rotation": [ + 0, + 90, + 0 + ], + "translation": [ + 0, + -4, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + } + }, + "overrides": [ + { + "predicate": { + "techreborn:active": 0.5 + }, + "model": "techreborn:item/override/nanosaber_active_low" + }, + { + "predicate": { + "techreborn:active": 1 + }, + "model": "techreborn:item/override/nanosaber_active" + } + ] } \ No newline at end of file diff --git a/src/main/resources/assets/techreborn/models/item/override/nanosaber_active.json b/src/main/resources/assets/techreborn/models/item/override/nanosaber_active.json index 42e3b56bb..7cc906d03 100644 --- a/src/main/resources/assets/techreborn/models/item/override/nanosaber_active.json +++ b/src/main/resources/assets/techreborn/models/item/override/nanosaber_active.json @@ -1,6 +1,214 @@ { - "parent": "minecraft:item/handheld", - "textures": { - "layer0": "techreborn:item/tool/nanosaber_on" - } + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "1": "techreborn:item/tool/nanosaber_on" + }, + "elements": [ + { + "from": [7, 0, 7], + "to": [9, 5, 9], + "faces": { + "north": {"uv": [5, 4, 6, 6.5], "texture": "#1"}, + "east": {"uv": [4, 4, 5, 6.5], "texture": "#1"}, + "south": {"uv": [7, 4, 8, 6.5], "texture": "#1"}, + "west": {"uv": [6, 4, 7, 6.5], "texture": "#1"}, + "up": {"uv": [6, 4, 5, 3], "texture": "#1"}, + "down": {"uv": [7, 3, 6, 4], "texture": "#1"} + } + }, + { + "from": [5.5, 5, 5.5], + "to": [10.5, 6, 10.5], + "faces": { + "north": {"uv": [6.5, 2.5, 9, 3], "texture": "#1"}, + "east": {"uv": [4, 2.5, 6.5, 3], "texture": "#1"}, + "south": {"uv": [11.5, 2.5, 14, 3], "texture": "#1"}, + "west": {"uv": [9, 2.5, 11.5, 3], "texture": "#1"}, + "up": {"uv": [9, 2.5, 6.5, 0], "texture": "#1"}, + "down": {"uv": [11.5, 0, 9, 2.5], "texture": "#1"} + } + }, + { + "from": [7.5, 6, 7], + "to": [8.5, 30, 9], + "faces": { + "north": {"uv": [1, 1, 1.5, 13], "texture": "#1"}, + "east": {"uv": [0, 1, 1, 13], "texture": "#1"}, + "south": {"uv": [2.5, 1, 3, 13], "texture": "#1"}, + "west": {"uv": [1.5, 1, 2.5, 13], "texture": "#1"}, + "up": {"uv": [1.5, 1, 1, 0], "texture": "#1"}, + "down": {"uv": [2, 0, 1.5, 1], "texture": "#1"} + } + }, + { + "from": [7, 6, 7.5], + "to": [9, 9, 10.5], + "faces": { + "north": {"uv": [1.5, 14.5, 2.5, 16], "texture": "#1"}, + "east": {"uv": [0, 14.5, 1.5, 16], "texture": "#1"}, + "south": {"uv": [4, 14.5, 5, 16], "texture": "#1"}, + "west": {"uv": [2.5, 14.5, 4, 16], "texture": "#1"}, + "up": {"uv": [2.5, 14.5, 1.5, 13], "texture": "#1"}, + "down": {"uv": [3.5, 13, 2.5, 14.5], "texture": "#1"} + } + }, + { + "from": [8, 6, 6], + "to": [8, 30, 7], + "faces": { + "north": {"uv": [3.5, 0.5, 3.5, 12.5], "texture": "#1"}, + "east": {"uv": [3, 0.5, 3.5, 12.5], "texture": "#1"}, + "south": {"uv": [4, 0.5, 4, 12.5], "texture": "#1"}, + "west": {"uv": [3.5, 0.5, 4, 12.5], "texture": "#1"}, + "up": {"uv": [3.5, 0.5, 3.5, 0], "texture": "#1"}, + "down": {"uv": [3.5, 0, 3.5, 0.5], "texture": "#1"} + } + }, + { + "from": [8, 30, 7], + "to": [8, 32, 8], + "faces": { + "north": {"uv": [4.5, 1.5, 4.5, 2.5], "texture": "#1"}, + "east": {"uv": [4, 1.5, 4.5, 2.5], "texture": "#1"}, + "south": {"uv": [5, 1.5, 5, 2.5], "texture": "#1"}, + "west": {"uv": [4.5, 1.5, 5, 2.5], "texture": "#1"}, + "up": {"uv": [4.5, 1.5, 4.5, 1], "texture": "#1"}, + "down": {"uv": [4.5, 1, 4.5, 1.5], "texture": "#1"} + } + }, + { + "from": [7.5, 30, 8], + "to": [8.5, 32, 9], + "faces": { + "north": {"uv": [4.5, 0.5, 5, 1.5], "texture": "#1"}, + "east": {"uv": [4, 0.5, 4.5, 1.5], "texture": "#1"}, + "south": {"uv": [5.5, 0.5, 6, 1.5], "texture": "#1"}, + "west": {"uv": [5, 0.5, 5.5, 1.5], "texture": "#1"}, + "up": {"uv": [5, 0.5, 4.5, 0], "texture": "#1"}, + "down": {"uv": [5.5, 0, 5, 0.5], "texture": "#1"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 90, + 45, + -90 + ], + "translation": [ + -3.75, + -3.75, + 0 + ], + "scale": [ + 0.65, + 0.65, + 0.65 + ] + }, + "ground": { + "rotation": [ + 45, + 0, + 0 + ], + "translation": [ + 0, + 3, + -2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "fixed": { + "rotation": [ + 0, + 90, + 0 + ], + "translation": [ + 0, + -4, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + } + } } \ No newline at end of file diff --git a/src/main/resources/assets/techreborn/models/item/override/nanosaber_active_low.json b/src/main/resources/assets/techreborn/models/item/override/nanosaber_active_low.json index e1ad7716c..371ed3837 100644 --- a/src/main/resources/assets/techreborn/models/item/override/nanosaber_active_low.json +++ b/src/main/resources/assets/techreborn/models/item/override/nanosaber_active_low.json @@ -1,6 +1,214 @@ { - "parent": "minecraft:item/handheld", - "textures": { - "layer0": "techreborn:item/tool/nanosaber_low" - } + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "1": "techreborn:item/tool/nanosaber_low" + }, + "elements": [ + { + "from": [7, 0, 7], + "to": [9, 5, 9], + "faces": { + "north": {"uv": [5, 4, 6, 6.5], "texture": "#1"}, + "east": {"uv": [4, 4, 5, 6.5], "texture": "#1"}, + "south": {"uv": [7, 4, 8, 6.5], "texture": "#1"}, + "west": {"uv": [6, 4, 7, 6.5], "texture": "#1"}, + "up": {"uv": [6, 4, 5, 3], "texture": "#1"}, + "down": {"uv": [7, 3, 6, 4], "texture": "#1"} + } + }, + { + "from": [5.5, 5, 5.5], + "to": [10.5, 6, 10.5], + "faces": { + "north": {"uv": [6.5, 2.5, 9, 3], "texture": "#1"}, + "east": {"uv": [4, 2.5, 6.5, 3], "texture": "#1"}, + "south": {"uv": [11.5, 2.5, 14, 3], "texture": "#1"}, + "west": {"uv": [9, 2.5, 11.5, 3], "texture": "#1"}, + "up": {"uv": [9, 2.5, 6.5, 0], "texture": "#1"}, + "down": {"uv": [11.5, 0, 9, 2.5], "texture": "#1"} + } + }, + { + "from": [7.5, 6, 7], + "to": [8.5, 30, 9], + "faces": { + "north": {"uv": [1, 1, 1.5, 13], "texture": "#1"}, + "east": {"uv": [0, 1, 1, 13], "texture": "#1"}, + "south": {"uv": [2.5, 1, 3, 13], "texture": "#1"}, + "west": {"uv": [1.5, 1, 2.5, 13], "texture": "#1"}, + "up": {"uv": [1.5, 1, 1, 0], "texture": "#1"}, + "down": {"uv": [2, 0, 1.5, 1], "texture": "#1"} + } + }, + { + "from": [7, 6, 7.5], + "to": [9, 9, 10.5], + "faces": { + "north": {"uv": [1.5, 14.5, 2.5, 16], "texture": "#1"}, + "east": {"uv": [0, 14.5, 1.5, 16], "texture": "#1"}, + "south": {"uv": [4, 14.5, 5, 16], "texture": "#1"}, + "west": {"uv": [2.5, 14.5, 4, 16], "texture": "#1"}, + "up": {"uv": [2.5, 14.5, 1.5, 13], "texture": "#1"}, + "down": {"uv": [3.5, 13, 2.5, 14.5], "texture": "#1"} + } + }, + { + "from": [8, 6, 6], + "to": [8, 30, 7], + "faces": { + "north": {"uv": [3.5, 0.5, 3.5, 12.5], "texture": "#1"}, + "east": {"uv": [3, 0.5, 3.5, 12.5], "texture": "#1"}, + "south": {"uv": [4, 0.5, 4, 12.5], "texture": "#1"}, + "west": {"uv": [3.5, 0.5, 4, 12.5], "texture": "#1"}, + "up": {"uv": [3.5, 0.5, 3.5, 0], "texture": "#1"}, + "down": {"uv": [3.5, 0, 3.5, 0.5], "texture": "#1"} + } + }, + { + "from": [8, 30, 7], + "to": [8, 32, 8], + "faces": { + "north": {"uv": [4.5, 1.5, 4.5, 2.5], "texture": "#1"}, + "east": {"uv": [4, 1.5, 4.5, 2.5], "texture": "#1"}, + "south": {"uv": [5, 1.5, 5, 2.5], "texture": "#1"}, + "west": {"uv": [4.5, 1.5, 5, 2.5], "texture": "#1"}, + "up": {"uv": [4.5, 1.5, 4.5, 1], "texture": "#1"}, + "down": {"uv": [4.5, 1, 4.5, 1.5], "texture": "#1"} + } + }, + { + "from": [7.5, 30, 8], + "to": [8.5, 32, 9], + "faces": { + "north": {"uv": [4.5, 0.5, 5, 1.5], "texture": "#1"}, + "east": {"uv": [4, 0.5, 4.5, 1.5], "texture": "#1"}, + "south": {"uv": [5.5, 0.5, 6, 1.5], "texture": "#1"}, + "west": {"uv": [5, 0.5, 5.5, 1.5], "texture": "#1"}, + "up": {"uv": [5, 0.5, 4.5, 0], "texture": "#1"}, + "down": {"uv": [5.5, 0, 5, 0.5], "texture": "#1"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "thirdperson_lefthand": { + "rotation": [ + 0, + 0, + 0 + ], + "translation": [ + 0, + 3, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "firstperson_righthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "firstperson_lefthand": { + "rotation": [ + 0, + 0, + -5 + ], + "translation": [ + 0, + 4, + 2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { + "rotation": [ + 90, + 45, + -90 + ], + "translation": [ + -3.75, + -3.75, + 0 + ], + "scale": [ + 0.65, + 0.65, + 0.65 + ] + }, + "ground": { + "rotation": [ + 45, + 0, + 0 + ], + "translation": [ + 0, + 3, + -2 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "fixed": { + "rotation": [ + 0, + 90, + 0 + ], + "translation": [ + 0, + -4, + 0 + ], + "scale": [ + 0.5, + 0.5, + 0.5 + ] + } + } } \ No newline at end of file diff --git a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_low.png b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_low.png index 0c36b553c..59c0da05f 100644 Binary files a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_low.png and b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_low.png differ diff --git a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_off.png b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_off.png index 07033581e..68e180c65 100644 Binary files a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_off.png and b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_off.png differ diff --git a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_on.png b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_on.png index 85b4cec05..66663ac7d 100644 Binary files a/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_on.png and b/src/main/resources/assets/techreborn/textures/item/tool/nanosaber_on.png differ