From d307290ec03153a9d4291025d7e48a4176cbc164 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 20 Oct 2023 16:09:11 +0100 Subject: [PATCH] Remove some internal faces from the cloud blocks --- .../models/block/cloud_pillar_end.json | 15 ++-- .../models/block/cloud_pillar_middle.json | 6 +- .../unicopia/models/block/cloud_stairs.json | 42 +++++++++- .../models/block/cloud_stairs_inner.json | 74 ++++++++++++++++-- .../models/block/cloud_stairs_outer.json | 60 ++++++++++++-- .../textures/block/cloud_pillar_lip.png | Bin 0 -> 7172 bytes 6 files changed, 168 insertions(+), 29 deletions(-) create mode 100644 src/main/resources/assets/unicopia/textures/block/cloud_pillar_lip.png diff --git a/src/main/resources/assets/unicopia/models/block/cloud_pillar_end.json b/src/main/resources/assets/unicopia/models/block/cloud_pillar_end.json index d07524e5..61ddef4d 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_pillar_end.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_pillar_end.json @@ -1,7 +1,8 @@ { "parent": "minecraft:block/cube_bottom_top", "textures": { - "top": "unicopia:block/cloud_pillar_top", + "top": "unicopia:block/cloud_pillar_lip", + "bottom": "unicopia:block/cloud_pillar_top", "side": "unicopia:block/cloud_pillar_side_end" }, "elements": [ @@ -9,13 +10,13 @@ "from": [0, 0, 0], "to": [16, 5, 16], "faces": { - "north": {"uv": [0, 11, 16, 16], "texture": "#side"}, - "east": {"uv": [0, 11, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 11, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 11, 16, 16], "texture": "#side"}, + "north": {"uv": [0, 11, 16, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [0, 11, 16, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [0, 11, 16, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [0, 11, 16, 16], "texture": "#side", "cullface": "west"}, "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#top", "cullface": "down"} + "down": {"uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down"} } } ] -} \ No newline at end of file +} diff --git a/src/main/resources/assets/unicopia/models/block/cloud_pillar_middle.json b/src/main/resources/assets/unicopia/models/block/cloud_pillar_middle.json index a4803ce6..1244868f 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_pillar_middle.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_pillar_middle.json @@ -12,10 +12,8 @@ "north": {"uv": [1, 0, 15, 16], "texture": "#side"}, "east": {"uv": [1, 0, 15, 16], "texture": "#side"}, "south": {"uv": [1, 0, 15, 16], "texture": "#side"}, - "west": {"uv": [1, 0, 15, 16], "texture": "#side"}, - "up": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "up"}, - "down": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "down"} + "west": {"uv": [1, 0, 15, 16], "texture": "#side"} } } ] -} \ No newline at end of file +} diff --git a/src/main/resources/assets/unicopia/models/block/cloud_stairs.json b/src/main/resources/assets/unicopia/models/block/cloud_stairs.json index 9306f833..0f670b42 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_stairs.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_stairs.json @@ -1,8 +1,42 @@ { - "parent": "minecraft:block/stairs", - "textures": { + "parent": "minecraft:block/stairs", + "textures": { "bottom": "unicopia:block/cloud", "side": "unicopia:block/cloud", "top": "unicopia:block/cloud" - } -} \ No newline at end of file + }, + "elements": [ + { + "from": [8, 0, 0], + "to": [16, 8, 16], + "faces": { + "north": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "south"}, + "down": {"uv": [8, 0, 16, 16], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [0, 0, 0], + "to": [8, 8, 16], + "faces": { + "north": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "north"}, + "south": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 8, 16], "texture": "#top"}, + "down": {"uv": [0, 0, 8, 16], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [8, 8, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "north"}, + "east": {"uv": [0, 0, 16, 8], "texture": "#side", "cullface": "east"}, + "south": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "south"}, + "west": {"uv": [0, 0, 16, 8], "texture": "#side"}, + "up": {"uv": [8, 0, 16, 16], "texture": "#top", "cullface": "up"} + } + } + ] +} diff --git a/src/main/resources/assets/unicopia/models/block/cloud_stairs_inner.json b/src/main/resources/assets/unicopia/models/block/cloud_stairs_inner.json index c2bfe82b..4f4122b3 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_stairs_inner.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_stairs_inner.json @@ -1,8 +1,68 @@ { - "parent": "minecraft:block/inner_stairs", - "textures": { - "bottom": "unicopia:block/cloud", - "side": "unicopia:block/cloud", - "top": "unicopia:block/cloud" - } -} \ No newline at end of file + "parent": "minecraft:block/inner_stairs", + "textures": { + "bottom": "unicopia:block/cloud", + "side": "unicopia:block/cloud", + "top": "unicopia:block/cloud" + }, + "elements": [ + { + "from": [0, 0, 8], + "to": [16, 8, 16], + "faces": { + "east": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "west"}, + "down": {"uv": [0, 0, 16, 8], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [8, 0, 0], + "to": [16, 8, 8], + "faces": { + "north": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "east"}, + "down": {"uv": [8, 8, 16, 16], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [0, 0, 0], + "to": [8, 8, 8], + "faces": { + "north": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "north"}, + "west": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 8, 8], "texture": "#top"}, + "down": {"uv": [0, 8, 8, 16], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [8, 8, 0], + "to": [16, 16, 8], + "faces": { + "north": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "north"}, + "east": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "east"}, + "west": {"uv": [0, 0, 8, 8], "texture": "#side"}, + "up": {"uv": [8, 0, 16, 8], "texture": "#top", "cullface": "up"} + } + }, + { + "from": [8, 8, 8], + "to": [16, 16, 16], + "faces": { + "east": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "east"}, + "south": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "south"}, + "up": {"uv": [8, 8, 16, 16], "texture": "#top", "cullface": "up"} + } + }, + { + "from": [0, 8, 8], + "to": [8, 16, 16], + "faces": { + "north": {"uv": [8, 0, 16, 8], "texture": "#side"}, + "south": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "south"}, + "west": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 8, 8, 16], "texture": "#top", "cullface": "up"} + } + } + ] +} diff --git a/src/main/resources/assets/unicopia/models/block/cloud_stairs_outer.json b/src/main/resources/assets/unicopia/models/block/cloud_stairs_outer.json index fe6696a6..0a56fa79 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_stairs_outer.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_stairs_outer.json @@ -1,8 +1,54 @@ { - "parent": "minecraft:block/outer_stairs", - "textures": { - "bottom": "unicopia:block/cloud", - "side": "unicopia:block/cloud", - "top": "unicopia:block/cloud" - } -} \ No newline at end of file + "parent": "minecraft:block/outer_stairs", + "textures": { + "bottom": "unicopia:block/cloud", + "side": "unicopia:block/cloud", + "top": "unicopia:block/cloud" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 8, 8], + "faces": { + "north": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "east"}, + "west": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 16, 8], "texture": "#top"}, + "down": {"uv": [0, 8, 16, 16], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [0, 0, 8], + "to": [8, 8, 16], + "faces": { + "south": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 8, 8, 16], "texture": "#top"}, + "down": {"uv": [0, 0, 8, 8], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [8, 0, 8], + "to": [16, 8, 16], + "faces": { + "north": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [0, 8, 8, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [8, 8, 16, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, + "down": {"uv": [8, 0, 16, 8], "texture": "#bottom", "cullface": "down"} + } + }, + { + "from": [8, 8, 8], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 8, 8], "texture": "#side"}, + "east": {"uv": [0, 0, 8, 8], "texture": "#side", "cullface": "east"}, + "south": {"uv": [8, 0, 16, 8], "texture": "#side", "cullface": "south"}, + "west": {"uv": [8, 0, 16, 8], "texture": "#side"}, + "up": {"uv": [8, 8, 16, 16], "texture": "#top", "cullface": "up"} + } + } + ] +} diff --git a/src/main/resources/assets/unicopia/textures/block/cloud_pillar_lip.png b/src/main/resources/assets/unicopia/textures/block/cloud_pillar_lip.png new file mode 100644 index 0000000000000000000000000000000000000000..7702b9042a13cf94da2da13a9a1574da0ae2505d GIT binary patch literal 7172 zcmeHLcUV)&7EkC+Q3OQ6_Ixn%j$dY``)+Td;9+K-b`lhnR9+K=QrnM?j+7} zll2@G9TgZ1HpkY6<_y*IBt=O9`d;>S7J#Y((9M=*Yr7hz1U)FjU~oAYT%rRN_*ZQi zxGYQ-lI@0y2Go}5NQw?zURp;$?IoYu`=Pe}Cmo3m7A^yu1Jy^Mf`i(cP@Mr4$)zN{ zNis00^mA=(>)?pM8DcSpcmiaD!Qm-b3 zmWrDB#U~ald^S{Ahg^5?=k&XbgKnX()q-_AA5xL6sVh78FB)FB%Sk&W3Dx0=Y_!+P z*=6~D>(aEl081tU88;v^ca3dj4sz9S#fBHOVolgmgW)xYW)H}pT>8_bGq-o~txzug zXhd#x{h739Ex4Z6ll`uT%zZQ~nc0}BfFjS`9tue*s^uN&W*e=%Jd4iXZ)9C>Y_xiP zm*uV1SH}I|5Vz;H&6P;A3AL=Tu>6^1@7+{byt@-8I5fX%Q2sOn4;z^%YbL16APo9E zr^~lZWX5%`v_;&{!($)R))HUy-R^coe#o5d9U_fBortgM{h+V@GCiqWGe@PTqbR@L zaE zlhP)QYf(SO*J_LuYEM+wX`F_`ZDdwE!d9Eh_QSwuIxn|6_F^XGyz)C;iv0G7+znBW zsD7HMk>Rne6-xGz7xHkI=A@OYHOr4jRlG_LL>BARMya+B1ZsJyFN=EKt~wMnNi>l$ zi}jr!F>k(3*1ko{)hg#G)3Orfq7PrPIFM*}R+qiL=*W)FRk%p|6@!k8H03R=7iac6 zwVvlZon_>Xsc$}8c!Mr{B z_wu^)ESh)qdoG=S?g0K?NJrK#6EAqKhDcMSO^Qw{ulYTD$V0p?6p@ioSC!JfWN7;& z{5?551L5#!IeFe4r3cXo(W^J8wrjL6Z`Vq+an)G*-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