From 633f9d94aa19b0e385fc68fc3e247c8a29a81a8d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 14 Feb 2021 12:28:59 -0500 Subject: [PATCH] Add Interface item model --- .../phycon/models/item/network_interface.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/main/resources/assets/phycon/models/item/network_interface.json diff --git a/src/main/resources/assets/phycon/models/item/network_interface.json b/src/main/resources/assets/phycon/models/item/network_interface.json new file mode 100644 index 0000000..80055f0 --- /dev/null +++ b/src/main/resources/assets/phycon/models/item/network_interface.json @@ -0,0 +1,54 @@ +{ + "parent": "block/block", + "display": { + "firstperson_righthand": { + "rotation": [0, 215, 0], + "translation": [0, 0, 0], + "scale": [0.4, 0.4, 0.4] + }, + "thirdperson_righthand": { + "rotation": [75, 215, 0], + "translation": [0, -2.5, 0], + "scale": [0.375, 0.375, 0.375] + } + }, + "elements": [ + { + "_comment": "cable center", + "from": [6, 6, 6], + "to": [10, 10, 10], + "faces": { + "down": { "texture": "phycon:block/cable_center" }, + "up": { "texture": "phycon:block/cable_center" }, + "north": { "texture": "phycon:block/cable_center" }, + "south": { "texture": "phycon:block/cable_center" }, + "west": { "texture": "phycon:block/cable_center" }, + "east": { "texture": "phycon:block/cable_center" } + } + }, + { + "_comment": "interface side", + "from": [2, 2, 14], + "to": [14, 14, 16], + "faces": { + "down": { "texture": "phycon:block/interface_side" }, + "up": { "texture": "phycon:block/interface_side" }, + "north": { "texture": "phycon:block/interface_front" }, + "south": { "texture": "phycon:block/interface_back" }, + "west": { "texture": "phycon:block/interface_side" }, + "east": { "texture": "phycon:block/interface_side" } + } + }, + { + "_comment": "interface middle", + "from": [6, 6, 10], + "to": [10, 10, 14], + "faces": { + "down": { "texture": "phycon:block/cable_side" }, + "up": { "texture": "phycon:block/cable_side" }, + "west": { "texture": "phycon:block/cable_side" }, + "east": { "texture": "phycon:block/cable_side" } + } + } + ] +} \ No newline at end of file