From 507f0cbe41bf54e4d3ac8ed677156294e3729c46 Mon Sep 17 00:00:00 2001 From: GearShocky Date: Thu, 6 Jul 2023 03:18:12 +0600 Subject: [PATCH] Android charger segmented model --- .../models/block/android_charger_base.json | 150 +++++++++++++++++ .../models/block/android_charger_middle.json | 128 ++++++++++++++ .../models/block/android_charger_top.json | 157 ++++++++++++++++++ .../textures/block/android_charger.png | Bin 0 -> 695 bytes 4 files changed, 435 insertions(+) create mode 100644 src/main/resources/assets/overdrive_that_matters/models/block/android_charger_base.json create mode 100644 src/main/resources/assets/overdrive_that_matters/models/block/android_charger_middle.json create mode 100644 src/main/resources/assets/overdrive_that_matters/models/block/android_charger_top.json create mode 100644 src/main/resources/assets/overdrive_that_matters/textures/block/android_charger.png diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_base.json b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_base.json new file mode 100644 index 000000000..df420b334 --- /dev/null +++ b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_base.json @@ -0,0 +1,150 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "overdrive_that_matters:block/android_charger", + "particle": "overdrive_that_matters:block/android_charger" + }, + "elements": [ + { + "name": "body", + "from": [0, 0, 0], + "to": [16, 8, 16], + "faces": { + "north": {"uv": [0, 5, 8, 7], "texture": "#0"}, + "east": {"uv": [0, 8, 8, 10], "texture": "#0"}, + "south": {"uv": [0, 10, 8, 12], "texture": "#0"}, + "west": {"uv": [8, 8, 0, 10], "texture": "#0"}, + "up": {"uv": [0, 12, 8, 16], "texture": "#0"}, + "down": {"uv": [0, 12, 8, 16], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 8, 1], + "to": [15, 12, 15], + "faces": { + "north": {"uv": [2, 7, 0, 8], "texture": "#0"}, + "east": {"uv": [9, 7, 2, 8], "texture": "#0"}, + "south": {"uv": [0, 7, 2, 8], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [5, 8, 1], + "to": [1, 12, 15], + "faces": { + "north": {"uv": [2, 7, 0, 8], "texture": "#0"}, + "east": {"uv": [9, 7, 2, 8], "texture": "#0"}, + "south": {"uv": [0, 7, 2, 8], "texture": "#0"} + } + }, + { + "name": "body", + "from": [2, 8, 2], + "to": [14, 11, 14], + "faces": { + "north": {"uv": [14, 13, 15.5, 16], "rotation": 90, "texture": "#0"}, + "east": {"uv": [14, 13, 15.5, 16], "rotation": 90, "texture": "#0"}, + "south": {"uv": [14, 13, 15.5, 16], "rotation": 90, "texture": "#0"}, + "west": {"uv": [14, 13, 15.5, 16], "rotation": 90, "texture": "#0"}, + "up": {"uv": [8, 13, 14, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 12, 12], "texture": "#missing"} + } + }, + { + "name": "frame", + "from": [1, 8, 1], + "to": [5, 12, 15], + "faces": { + "north": {"uv": [0, 7, 2, 8], "texture": "#0"}, + "south": {"uv": [2, 7, 0, 8], "texture": "#0"}, + "west": {"uv": [2, 7, 9, 8], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [15, 8, 1], + "to": [11, 12, 15], + "faces": { + "north": {"uv": [0, 7, 2, 8], "texture": "#0"}, + "south": {"uv": [2, 7, 0, 8], "texture": "#0"}, + "west": {"uv": [2, 7, 9, 8], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 11, 3], + "to": [5, 16, 5], + "faces": { + "north": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "east": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "south": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "west": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"} + } + }, + { + "name": "core", + "from": [4, 11, 4], + "to": [12, 16, 12], + "faces": { + "north": {"uv": [8, 9, 12, 10.25], "texture": "#0"}, + "east": {"uv": [8, 9, 12, 10.25], "texture": "#0"}, + "south": {"uv": [8, 9, 12, 10.25], "texture": "#0"}, + "west": {"uv": [8, 9, 12, 10.25], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 11, 3], + "to": [13, 16, 5], + "faces": { + "north": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "east": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "south": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "west": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 11, 11], + "to": [13, 16, 13], + "faces": { + "north": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "east": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "south": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "west": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 11, 11], + "to": [5, 16, 13], + "faces": { + "north": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "east": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"}, + "south": {"uv": [8.5, 0, 9.5, 1.25], "texture": "#0"}, + "west": {"uv": [7.5, 0, 8.5, 1.25], "texture": "#0"} + } + }, + { + "name": "spine", + "from": [5, 8, 12], + "to": [11, 16, 16], + "faces": { + "east": {"uv": [16, 5, 14, 7], "texture": "#0"}, + "south": {"uv": [12, 9, 15, 11], "texture": "#0"}, + "west": {"uv": [14, 5, 16, 7], "texture": "#0"} + } + } + ], + "display": {}, + "groups": [ + { + "name": "base", + "origin": [0, 0, 0], + "color": 0, + "children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_middle.json b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_middle.json new file mode 100644 index 000000000..26c215bb2 --- /dev/null +++ b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_middle.json @@ -0,0 +1,128 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "overdrive_that_matters:block/android_charger", + "particle": "overdrive_that_matters:block/android_charger" + }, + "elements": [ + { + "name": "core", + "from": [4, 0, 4], + "to": [12, 16, 12], + "faces": { + "north": {"uv": [8, 9, 12, 13], "texture": "#0"}, + "east": {"uv": [8, 9, 12, 13], "texture": "#0"}, + "south": {"uv": [8, 9, 12, 13], "texture": "#0"}, + "west": {"uv": [8, 9, 12, 13], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 0, 11], + "to": [5, 16, 13], + "faces": { + "north": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "east": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "south": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "west": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 0, 3], + "to": [13, 16, 5], + "faces": { + "north": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "east": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "south": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "west": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 0, 3], + "to": [5, 16, 5], + "faces": { + "north": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "east": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "south": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "west": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 0, 11], + "to": [13, 16, 13], + "faces": { + "north": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "east": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"}, + "south": {"uv": [7.5, 0, 8.5, 4], "texture": "#0"}, + "west": {"uv": [8.5, 0, 9.5, 4], "texture": "#0"} + } + }, + { + "name": "spine", + "from": [5, 0, 12], + "to": [11, 16, 16], + "faces": { + "east": {"uv": [16, 5, 14, 9], "texture": "#0"}, + "south": {"uv": [12, 9, 15, 13], "texture": "#0"}, + "west": {"uv": [14, 5, 16, 9], "texture": "#0"} + } + }, + { + "name": "grid", + "from": [2, -1, 2], + "to": [14, 5, 14], + "faces": { + "north": {"uv": [0, 0, 6, 1.5], "texture": "#0"}, + "east": {"uv": [0, 1.5, 6, 3], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 3, 6, 4.5], "texture": "#0"}, + "west": {"uv": [0, 1.5, 6, 3], "texture": "#0"} + } + }, + { + "name": "grid", + "from": [2, -1, 14], + "to": [14, 5, 2], + "faces": { + "north": {"uv": [0, 3, 6, 4.5], "texture": "#0"}, + "east": {"uv": [6, 1.5, 0, 3], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 0, 6, 1.5], "texture": "#0"}, + "west": {"uv": [6, 1.5, 0, 3], "texture": "#0"} + } + }, + { + "name": "grid", + "from": [2, 11, 14], + "to": [14, 17, 2], + "faces": { + "north": {"uv": [0, 3, 6, 4.5], "texture": "#0"}, + "east": {"uv": [6, 1.5, 0, 3], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 0, 6, 1.5], "texture": "#0"}, + "west": {"uv": [6, 1.5, 0, 3], "texture": "#0"} + } + }, + { + "name": "grid", + "from": [2, 11, 2], + "to": [14, 17, 14], + "faces": { + "north": {"uv": [0, 0, 6, 1.5], "texture": "#0"}, + "east": {"uv": [0, 1.5, 6, 3], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 3, 6, 4.5], "texture": "#0"}, + "west": {"uv": [0, 1.5, 6, 3], "texture": "#0"} + } + } + ], + "display": {}, + "groups": [ + { + "name": "middle", + "origin": [0, 0, 0], + "color": 0, + "children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_top.json b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_top.json new file mode 100644 index 000000000..2382ec8da --- /dev/null +++ b/src/main/resources/assets/overdrive_that_matters/models/block/android_charger_top.json @@ -0,0 +1,157 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "overdrive_that_matters:block/android_charger", + "particle": "overdrive_that_matters:block/android_charger" + }, + "elements": [ + { + "name": "screen", + "from": [3, 11, 0], + "to": [13, 14, 0], + "faces": { + "north": {"uv": [11, 2.25, 12.5, 4.75], "rotation": 90, "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 0, 11], + "to": [5, 5, 13], + "faces": { + "north": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "east": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "south": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "west": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 0, 3], + "to": [13, 5, 5], + "faces": { + "north": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "east": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "south": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "west": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [3, 0, 3], + "to": [5, 5, 5], + "faces": { + "north": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "east": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "south": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "west": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 0, 11], + "to": [13, 5, 13], + "faces": { + "north": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "east": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"}, + "south": {"uv": [7.5, 2.75, 8.5, 4], "texture": "#0"}, + "west": {"uv": [8.5, 2.75, 9.5, 4], "texture": "#0"} + } + }, + { + "name": "core", + "from": [4, 0, 4], + "to": [12, 5, 12], + "faces": { + "north": {"uv": [8, 11.75, 12, 13], "texture": "#0"}, + "east": {"uv": [8, 11.75, 12, 13], "texture": "#0"}, + "south": {"uv": [8, 11.75, 12, 13], "texture": "#0"}, + "west": {"uv": [8, 11.75, 12, 13], "texture": "#0"} + } + }, + { + "name": "spine", + "from": [5, 0, 12], + "to": [11, 8, 16], + "faces": { + "east": {"uv": [16, 7, 14, 9], "texture": "#0"}, + "south": {"uv": [12, 11, 15, 13], "texture": "#0"}, + "west": {"uv": [14, 7, 16, 9], "texture": "#0"} + } + }, + { + "name": "frame", + "from": [1, 4, 1], + "to": [5, 8, 15], + "faces": { + "north": {"uv": [2, 7, 0, 8], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 7, 2, 8], "rotation": 180, "texture": "#0"}, + "west": {"uv": [2, 7, 9, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "name": "frame", + "from": [15, 4, 1], + "to": [11, 8, 15], + "faces": { + "north": {"uv": [2, 7, 0, 8], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 7, 2, 8], "rotation": 180, "texture": "#0"}, + "west": {"uv": [2, 7, 9, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "name": "frame", + "from": [11, 4, 1], + "to": [15, 8, 15], + "faces": { + "north": {"uv": [0, 7, 2, 8], "rotation": 180, "texture": "#0"}, + "east": {"uv": [2, 7, 9, 8], "rotation": 180, "texture": "#0"}, + "south": {"uv": [2, 7, 0, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "name": "frame", + "from": [5, 4, 1], + "to": [1, 8, 15], + "faces": { + "north": {"uv": [0, 7, 2, 8], "rotation": 180, "texture": "#0"}, + "east": {"uv": [2, 7, 9, 8], "rotation": 180, "texture": "#0"}, + "south": {"uv": [2, 7, 0, 8], "rotation": 180, "texture": "#0"} + } + }, + { + "name": "body", + "from": [2, 5, 2], + "to": [14, 8, 14], + "faces": { + "north": {"uv": [14, 13, 15.5, 16], "rotation": 270, "texture": "#0"}, + "east": {"uv": [14, 13, 15.5, 16], "rotation": 270, "texture": "#0"}, + "south": {"uv": [14, 13, 15.5, 16], "rotation": 270, "texture": "#0"}, + "west": {"uv": [14, 13, 15.5, 16], "rotation": 270, "texture": "#0"}, + "down": {"uv": [8, 13, 14, 16], "texture": "#0"} + } + }, + { + "name": "body", + "from": [0, 8, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [10, 5, 14, 9], "rotation": 90, "texture": "#0"}, + "east": {"uv": [8, 8, 0, 10], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 10, 8, 12], "rotation": 180, "texture": "#0"}, + "west": {"uv": [0, 8, 8, 10], "rotation": 180, "texture": "#0"}, + "up": {"uv": [0, 12, 8, 16], "texture": "#0"}, + "down": {"uv": [0, 12, 8, 16], "texture": "#0"} + } + } + ], + "display": {}, + "groups": [ + { + "name": "top", + "origin": [0, 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/src/main/resources/assets/overdrive_that_matters/textures/block/android_charger.png b/src/main/resources/assets/overdrive_that_matters/textures/block/android_charger.png new file mode 100644 index 0000000000000000000000000000000000000000..747af985d1c5a4ae3a5c05b84674b885c79a7307 GIT binary patch literal 695 zcmeAS@N?(olHy`uVBq!ia0vp^3P9|@!3-pQ0$S$)DaPU;cPEB*=VV?2IV|apzK#qG z8~eHcB(ehe1_3@Hu0=&f2?+_>+S;b3rtR(RAt53EA9()1!Jww5mR8x4+teSMUnM3c zR!~q-UtbS0RZkP;{f@(cct3K$+J$4Ua_I14-?iy0XB4ude`@%$AjK!<$sba4#v z@SZ#6_O8_mJS~kKN4>uOyVQ~pKwgmJd?<0W3}eB_hEj%wI`-CpGnlYWck1{ zx$42+=4OFI2bV`&4?VoUf%mldPxk{)vK-EcXI90U-uS8ZJmLAu2};M;-MO@+C4GmU z>QaT70&n^i8F_^lg)z|6qvq8&S+%L+x)}I zU|oZo)Vev6F?_e!_X@u~?9aQCQD>%uSu=MB!?q=lLjSCEl)gI6;EN-pN!=~>-ph&C z*jZl~ympS3VDQ{pa`npZ1%;&(x@L05d8`as@_}y+