From be55bd4e754535844360acedbbd02dbb339b0378 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 19 Sep 2018 11:02:01 +0200 Subject: [PATCH] Removed internal faces from the cloud stairs --- .../models/block/cloud_inner_stairs.json | 43 +++++++++++++- .../models/block/cloud_outer_stairs.json | 44 ++++++++++++-- .../unicopia/models/block/cloud_stairs.json | 57 +++++++++++++++++-- 3 files changed, 130 insertions(+), 14 deletions(-) diff --git a/src/main/resources/assets/unicopia/models/block/cloud_inner_stairs.json b/src/main/resources/assets/unicopia/models/block/cloud_inner_stairs.json index 80bb90f8..c53acf6c 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_inner_stairs.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_inner_stairs.json @@ -1,8 +1,45 @@ { - "parent": "block/inner_stairs", "textures": { "bottom": "unicopia:blocks/cloud_normal", "top": "unicopia:blocks/cloud_normal", - "side": "unicopia:blocks/cloud_normal" - } + "side": "unicopia:blocks/cloud_normal", + "particle": "unicopia:blocks/cloud_normal" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 8, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" }, + "north": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "north" }, + "south": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "west" }, + "east": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "east" } + } + }, + { "from": [ 8, 8, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "up": { "uv": [ 8, 0, 16, 16 ], "texture": "#top", "cullface": "up" }, + "north": { "uv": [ 0, 0, 8, 8 ], "texture": "#side", "cullface": "north" }, + "south": { "uv": [ 8, 0, 16, 8 ], "texture": "#side", "cullface": "south" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#side", "cullface": "east" } + } + }, + { "from": [ 0, 8, 8 ], + "to": [ 8, 16, 16 ], + "faces": { + "up": { "uv": [ 0, 8, 8, 16 ], "texture": "#top", "cullface": "up" }, + "south": { "uv": [ 0, 0, 8, 8 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 8, 0, 16, 8 ], "texture": "#side", "cullface": "west" } + } + }, + { "from": [ 8, 16, 8 ], + "to": [ 0, 8, 0 ], + "faces": { + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" }, + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#side" }, + "north": { "uv": [ 8, 0, 16, 8 ], "texture": "#side" } + } + } + ] } diff --git a/src/main/resources/assets/unicopia/models/block/cloud_outer_stairs.json b/src/main/resources/assets/unicopia/models/block/cloud_outer_stairs.json index 2922183b..f54a1ecd 100644 --- a/src/main/resources/assets/unicopia/models/block/cloud_outer_stairs.json +++ b/src/main/resources/assets/unicopia/models/block/cloud_outer_stairs.json @@ -1,8 +1,42 @@ { - "parent": "block/outer_stairs", "textures": { - "bottom": "unicopia:blocks/cloud_normal", - "top": "unicopia:blocks/cloud_normal", - "side": "unicopia:blocks/cloud_normal" - } + "bottom": "unicopia:blocks/cloud_normal", + "top": "unicopia:blocks/cloud_normal", + "side": "unicopia:blocks/cloud_normal", + "particle": "unicopia:blocks/cloud_normal" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 8, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" }, + "north": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "north" }, + "south": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "west" }, + "east": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "east" } + } + }, + { "from": [ 8, 8, 8 ], + "to": [ 16, 16, 16 ], + "faces": { + "up": { "uv": [ 8, 8, 16, 16 ], "texture": "#top", "cullface": "up" }, + "north": { "uv": [ 0, 0, 8, 8 ], "texture": "#side" }, + "south": { "uv": [ 8, 0, 16, 8 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 8, 0, 16, 8 ], "texture": "#side" }, + "east": { "uv": [ 0, 0, 8, 8 ], "texture": "#side", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 8, 8, 16 ], + "faces": { + "up": { "uv": [ 0, 0, 8, 16 ], "texture": "#top" } + } + }, + { "from": [ 8, 0, 0 ], + "to": [ 16, 8, 8 ], + "faces": { + "up": { "uv": [ 8, 0, 16, 8 ], "texture": "#top" } + } + } + ] } 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 7d616a63..2b5edd5a 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,53 @@ -{ - "parent": "block/stairs", +{ "parent": "block/block", + "display": { + "gui": { + "rotation": [ 30, 135, 0 ], + "translation": [ 0, 0, 0], + "scale":[ 0.625, 0.625, 0.625 ] + }, + "head": { + "rotation": [ 0, -90, 0 ], + "translation": [ 0, 0, 0 ], + "scale": [ 1, 1, 1 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, -135, 0 ], + "translation": [ 0, 2.5, 0], + "scale": [ 0.375, 0.375, 0.375 ] + } + }, "textures": { - "bottom": "unicopia:blocks/cloud_normal", - "top": "unicopia:blocks/cloud_normal", - "side": "unicopia:blocks/cloud_normal" - } + "bottom": "unicopia:blocks/cloud_normal", + "top": "unicopia:blocks/cloud_normal", + "side": "unicopia:blocks/cloud_normal", + "particle": "unicopia:blocks/cloud_normal" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 8, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" }, + "north": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "north" }, + "south": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "west" }, + "east": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 8, 8, 16 ], + "faces": { + "up": { "uv": [ 0, 0, 8, 16 ], "texture": "#top" } + } + }, + { "from": [ 8, 8, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "up": { "uv": [ 8, 0, 16, 16 ], "texture": "#top", "cullface": "up" }, + "north": { "uv": [ 0, 0, 8, 8 ], "texture": "#side", "cullface": "north" }, + "south": { "uv": [ 8, 0, 16, 8 ], "texture": "#side", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#side" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#side", "cullface": "east" } + } + } + ] }