From 895ed6fbef1e9d9a66bcdfaf1ae6485a51098888 Mon Sep 17 00:00:00 2001 From: GearShocky Date: Thu, 4 Jan 2024 12:38:38 +0600 Subject: [PATCH] Fix Computer 1000 yard stare + 4chair --- .../models/block/computer_terminal.json | 33 +++- .../models/block/star_chair.json | 172 ++++++++++++++++++ .../textures/block/decorative/star_chair.png | Bin 0 -> 425 bytes 3 files changed, 204 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/overdrive_that_matters/models/block/star_chair.json create mode 100644 src/main/resources/assets/overdrive_that_matters/textures/block/decorative/star_chair.png diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/computer_terminal.json b/src/main/resources/assets/overdrive_that_matters/models/block/computer_terminal.json index b0330d376..489cfffdb 100644 --- a/src/main/resources/assets/overdrive_that_matters/models/block/computer_terminal.json +++ b/src/main/resources/assets/overdrive_that_matters/models/block/computer_terminal.json @@ -53,5 +53,36 @@ "down": {"uv": [6, 12.5, 11, 13], "texture": "#1"} } } - ] + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, 225, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 225, 0], + "scale": [0.625, 0.625, 0.625] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } } \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/star_chair.json b/src/main/resources/assets/overdrive_that_matters/models/block/star_chair.json new file mode 100644 index 000000000..c8a636a24 --- /dev/null +++ b/src/main/resources/assets/overdrive_that_matters/models/block/star_chair.json @@ -0,0 +1,172 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "overdrive_that_matters:block/decorative/carbon_fibre_borderless", + "1": "overdrive_that_matters:block/decorative/star_chair", + "2": "overdrive_that_matters:block/powered_smoker_base", + "particle": "overdrive_that_matters:block/decorative/carbon_fibre_borderless" + }, + "elements": [ + { + "name": "base", + "from": [2, 0, 2], + "to": [14, 2, 14], + "faces": { + "north": {"uv": [7, 7.5, 13, 8.5], "texture": "#1"}, + "east": {"uv": [7, 7.5, 13, 8.5], "texture": "#1"}, + "south": {"uv": [7, 7.5, 13, 8.5], "texture": "#1"}, + "west": {"uv": [7, 7.5, 13, 8.5], "texture": "#1"}, + "up": {"uv": [7, 0, 13, 6], "texture": "#1"}, + "down": {"uv": [1, 1, 7, 7], "texture": "#2"} + } + }, + { + "name": "base", + "from": [4, 0.1, 13], + "to": [12, 5.1, 15], + "faces": { + "east": {"uv": [4, 13.5, 5, 16], "texture": "#1"}, + "south": {"uv": [0, 13.5, 4, 16], "texture": "#1"}, + "west": {"uv": [5, 13.5, 4, 16], "texture": "#1"}, + "up": {"uv": [11, 14, 15, 15], "rotation": 180, "texture": "#1"}, + "down": {"uv": [11, 15, 15, 16], "texture": "#1"} + } + }, + { + "name": "base", + "from": [4, 0.1, 1], + "to": [12, 5.1, 3], + "faces": { + "north": {"uv": [0, 13.5, 4, 16], "texture": "#1"}, + "east": {"uv": [5, 13.5, 4, 16], "texture": "#1"}, + "west": {"uv": [4, 13.5, 5, 16], "texture": "#1"}, + "up": {"uv": [11, 14, 15, 15], "texture": "#1"}, + "down": {"uv": [11, 15, 15, 16], "texture": "#1"} + } + }, + { + "name": "base", + "from": [2, 4, 2], + "to": [14, 7, 14], + "faces": { + "north": {"uv": [7, 6, 13, 7.5], "texture": "#1"}, + "east": {"uv": [7, 6, 13, 7.5], "texture": "#1"}, + "south": {"uv": [7, 6, 13, 7.5], "texture": "#1"}, + "west": {"uv": [7, 6, 13, 7.5], "texture": "#1"}, + "up": {"uv": [7, 0, 13, 6], "texture": "#1"}, + "down": {"uv": [7, 0, 13, 6], "texture": "#1"} + } + }, + { + "name": "base", + "from": [3, 6, 11], + "to": [13, 23, 15], + "rotation": {"angle": 0, "axis": "x", "origin": [8, 7, 13]}, + "faces": { + "north": {"uv": [5, 0, 0, 8.5], "texture": "#1"}, + "east": {"uv": [7, 0, 5, 8.5], "texture": "#1"}, + "south": {"uv": [0, 0, 5, 8.5], "texture": "#1"}, + "west": {"uv": [5, 0, 7, 8.5], "texture": "#1"}, + "up": {"uv": [0, 8.5, 5, 10.5], "texture": "#1"}, + "down": {"uv": [0, 10.5, 5, 12.5], "texture": "#1"} + } + }, + { + "name": "base", + "from": [3, 2, 3], + "to": [13, 4, 13], + "faces": { + "north": {"uv": [0, 12.5, 5, 13.5], "texture": "#1"}, + "east": {"uv": [0, 12.5, 5, 13.5], "texture": "#1"}, + "south": {"uv": [0, 12.5, 5, 13.5], "texture": "#1"}, + "west": {"uv": [0, 12.5, 5, 13.5], "texture": "#1"} + } + }, + { + "name": "fabric", + "from": [3, 6, 1], + "to": [13, 9, 11], + "faces": { + "north": {"uv": [0, 0, 3, 10], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 10, 3], "rotation": 180, "texture": "#0"}, + "west": {"uv": [0, 0, 10, 3], "texture": "#0"}, + "up": {"uv": [0, 0, 10, 10], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 10, 10], "rotation": 90, "texture": "#0"} + } + }, + { + "name": "fabric", + "from": [4, 8, 10], + "to": [12, 22, 12], + "rotation": {"angle": 0, "axis": "x", "origin": [8, 8, 13]}, + "faces": { + "north": {"uv": [0, 0, 14, 8], "rotation": 270, "texture": "#0"}, + "east": {"uv": [0, 0, 14, 2], "rotation": 270, "texture": "#0"}, + "west": {"uv": [0, 0, 14, 2], "rotation": 270, "texture": "#0"}, + "up": {"uv": [0, 0, 2, 8], "rotation": 90, "texture": "#0"}, + "down": {"uv": [0, 0, 2, 8], "rotation": 90, "texture": "#0"} + } + }, + { + "name": "arm", + "from": [1, 6, 0], + "to": [3, 12, 12], + "faces": { + "north": {"uv": [9, 13, 10, 16], "texture": "#1"}, + "east": {"uv": [6, 16, 9, 10], "rotation": 90, "texture": "#1"}, + "south": {"uv": [9, 10, 10, 13], "texture": "#1"}, + "west": {"uv": [6, 10, 9, 16], "rotation": 90, "texture": "#1"}, + "up": {"uv": [5, 10, 6, 16], "rotation": 180, "texture": "#1"}, + "down": {"uv": [10, 10, 11, 16], "texture": "#1"} + } + }, + { + "name": "arm", + "from": [13, 6, 0], + "to": [15, 12, 12], + "faces": { + "north": {"uv": [9, 13, 10, 16], "texture": "#1"}, + "east": {"uv": [6, 16, 9, 10], "rotation": 90, "texture": "#1"}, + "south": {"uv": [9, 10, 10, 13], "texture": "#1"}, + "west": {"uv": [6, 10, 9, 16], "rotation": 90, "texture": "#1"}, + "up": {"uv": [5, 10, 6, 16], "rotation": 180, "texture": "#1"}, + "down": {"uv": [10, 10, 11, 16], "texture": "#1"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "thirdperson_lefthand": { + "rotation": [75, 45, 0], + "translation": [0, 2.5, 0], + "scale": [0.375, 0.375, 0.375] + }, + "firstperson_righthand": { + "rotation": [0, 45, 0], + "scale": [0.4, 0.4, 0.4] + }, + "firstperson_lefthand": { + "rotation": [0, 225, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 3, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [30, 225, 0], + "scale": [0.625, 0.625, 0.625] + }, + "head": { + "translation": [0, 8.5, 1] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/textures/block/decorative/star_chair.png b/src/main/resources/assets/overdrive_that_matters/textures/block/decorative/star_chair.png new file mode 100644 index 0000000000000000000000000000000000000000..3d2e0459dfafe00f66308cde033045ef11736124 GIT binary patch literal 425 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCil&0(?STbDR3pDqH^l|9|`T?U0a=*!-%5gakD;H90vspppxhVq1X}S4ogx zFi;HyFl;)ba~>$lS>O>_%)r2R7=#&*=dVZs3jXtSaSXBW@14{r)vUnLa!}*#-}s7h zhty}+-u({qu6yX<8nPfrEYLVK_G9<;ce@y+nU>FMU^ubhHOq?Bk3vSLA80LYY433| zPI$MFy>9vhbN)Avwz{yz8YfJ1oVr-cJCJ?e;=X(yt%f^%e|e9HH|_zUJtC^MM$*%lsh%mk-_YG_=4R<8`8FhU5zs4`l_awy|(jCg9*dN+SO|% zFQtgQVkqm6aGqMpd23-i;{m=aM;8}0J^Sr`;HuU!ZiWYYxgE3Y9!<=w!5Oxn9oqtalYrV>$U$G4xJK;Z@d}_3VQ}mS3j3^ HP6