From fb727a55bbf22ed10a085649a958248299f91c09 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Tue, 10 Aug 2021 15:39:35 +0700 Subject: [PATCH] Android station graphics --- .../models/block/android_station.json | 112 +++++++++++++++--- .../textures/block/android_station.png | Bin 0 -> 431 bytes 2 files changed, 98 insertions(+), 14 deletions(-) create mode 100644 src/main/resources/assets/overdrive_that_matters/textures/block/android_station.png diff --git a/src/main/resources/assets/overdrive_that_matters/models/block/android_station.json b/src/main/resources/assets/overdrive_that_matters/models/block/android_station.json index bfbdd98a4..044716632 100644 --- a/src/main/resources/assets/overdrive_that_matters/models/block/android_station.json +++ b/src/main/resources/assets/overdrive_that_matters/models/block/android_station.json @@ -1,17 +1,101 @@ { - "parent": "block/block", - "elements": [ - { - "from": [ 0, 0, 0 ], - "to": [ 16, 8, 16 ], + "parent": "block/slab", + "texture_size": [32, 55], + "textures": { + "texture": "overdrive_that_matters:block/android_station", + "particle": "overdrive_that_matters:block/android_station" + }, + "elements": [ + { + "name": "platform", + "from": [0, 7, 0], + "to": [16, 9, 16], "faces": { - "down": { "texture": "#down", "cullface": "down" }, - "up": { "texture": "#up", "cullface": "up" }, - "north": { "texture": "#north", "cullface": "north" }, - "south": { "texture": "#south", "cullface": "south" }, - "west": { "texture": "#west", "cullface": "west" }, - "east": { "texture": "#east", "cullface": "east" } + "north": {"uv": [8, 4.65455, 16, 5.23636], "texture": "#texture"}, + "east": {"uv": [0, 4.65455, 8, 5.23636], "texture": "#texture"}, + "south": {"uv": [8, 4.65455, 16, 5.23636], "texture": "#texture"}, + "west": {"uv": [0, 4.65455, 8, 5.23636], "texture": "#texture"}, + "up": {"uv": [8, 0, 16, 4.65455], "texture": "#texture"}, + "down": {"uv": [8, 5.23636, 16, 9.89091], "texture": "#texture"} } - } - ] -} + }, + { + "name": "base", + "from": [0, 0, 0], + "to": [16, 4, 16], + "faces": { + "north": {"uv": [0, 9.89091, 8, 11.05455], "texture": "#texture"}, + "east": {"uv": [0, 9.89091, 8, 11.05455], "texture": "#texture"}, + "south": {"uv": [8, 9.89091, 16, 11.05455], "texture": "#texture"}, + "west": {"uv": [8, 9.89091, 16, 11.05455], "texture": "#texture"}, + "up": {"uv": [8, 5.23636, 16, 9.89091], "texture": "#texture"}, + "down": {"uv": [8, 11.05455, 16, 15.70909], "texture": "#texture"} + } + }, + { + "name": "body", + "from": [2, 4, 2], + "to": [14, 7, 14], + "faces": { + "north": {"uv": [1, 0, 7, 0.87273], "texture": "#texture"}, + "east": {"uv": [1, 0, 7, 0.87273], "texture": "#texture"}, + "south": {"uv": [1, 0, 7, 0.87273], "texture": "#texture"}, + "west": {"uv": [1, 0, 7, 0.87273], "texture": "#texture"}, + "up": {"uv": [0, 0, 12, 12], "texture": "#missing"}, + "down": {"uv": [0, 0, 12, 12], "texture": "#missing"} + } + }, + { + "name": "frame", + "from": [1, 4, 13], + "to": [3, 7, 15], + "faces": { + "north": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "east": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "south": {"uv": [7, 0, 8, 0.87273], "texture": "#texture"}, + "west": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "up": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"}, + "down": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"} + } + }, + { + "name": "frame", + "from": [13, 4, 13], + "to": [15, 7, 15], + "faces": { + "north": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "east": {"uv": [7, 0, 8, 0.87273], "texture": "#texture"}, + "south": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "west": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "up": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"}, + "down": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"} + } + }, + { + "name": "frame", + "from": [13, 4, 1], + "to": [15, 7, 3], + "faces": { + "north": {"uv": [7, 0, 8, 0.87273], "texture": "#texture"}, + "east": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "south": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "west": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "up": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"}, + "down": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"} + } + }, + { + "name": "frame", + "from": [1, 4, 1], + "to": [3, 7, 3], + "faces": { + "north": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "east": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "south": {"uv": [0, 0, 1, 0.87273], "texture": "#texture"}, + "west": {"uv": [7, 0, 8, 0.87273], "texture": "#texture"}, + "up": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"}, + "down": {"uv": [0, 0, 1, 0.58182], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/overdrive_that_matters/textures/block/android_station.png b/src/main/resources/assets/overdrive_that_matters/textures/block/android_station.png new file mode 100644 index 0000000000000000000000000000000000000000..0fa445b91de57a83b564c492597fa663dca32cb3 GIT binary patch literal 431 zcmeAS@N?(olHy`uVBq!ia0vp^3P5bm!3-p$%6B{kQjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`bpw1tToV!!>g(&p#KcTZP5<9uP*YQrlarg*%<%t#=L!RZJ!WPJZS!0c zi}Ge}1?qV8;FTAU;x7sE3;vG+7_Quzu@ET5S>O>_%)r2R2!t6$HM|;tf*(9x978<3 zpH6uz)~vwcV7R4!>(_t%)((A{Ss}l7?k<*k8Oo{4VE*6%`=Q_m3=D!Rrz&x}aCC7< zX$PK2Kk(pq3qQwgMjqwc6E`aRY^=`W3OL8`omITGvae~k{-1fxKWB(@rB2y(ODESq zc=jW;DFx_$zSwxj7Z`6-pVrE!z%Ax>q&vEnlF0;)Af`vj_Wy z8}-whwECwTOb*%Qv`9I{q*W;ThlEUjAS-9h1`*EF)zKI32)<GJU}YRTf?0+P_jv zdws3uJP7x`E&P*fkDG3aWzn>H?TFS*-nqGA{zopr0D|qOIRF3v literal 0 HcmV?d00001