From 8fb22d5641b26c03e421955c4c05bf5d7aa934dc Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 2 Jun 2020 18:08:46 +0200 Subject: [PATCH] Cloud slabs will now connect vertically --- .../assets/unicopia/blockstates/enchanted_cloud_slab.json | 8 ++++++-- .../models/block/enchanted_cloud_slab_top_covered.json | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/assets/unicopia/models/block/enchanted_cloud_slab_top_covered.json diff --git a/src/main/resources/assets/unicopia/blockstates/enchanted_cloud_slab.json b/src/main/resources/assets/unicopia/blockstates/enchanted_cloud_slab.json index b26f9cd0..74b93348 100644 --- a/src/main/resources/assets/unicopia/blockstates/enchanted_cloud_slab.json +++ b/src/main/resources/assets/unicopia/blockstates/enchanted_cloud_slab.json @@ -1,7 +1,11 @@ { "variants": { "type=bottom": { "model": "unicopia:block/enchanted_cloud_slab" }, - "type=top": { "model": "unicopia:block/enchanted_cloud_slab_top" }, - "type=double": { "model": "unicopia:block/enchanted_cloud_block" } + "type=top,covering=uncovered": { "model": "unicopia:block/enchanted_cloud_slab_top" }, + "type=top,covering=covered": { "model": "unicopia:block/enchanted_cloud_slab_top_covered" }, + "type=top,covering=snow_covered": { "model": "unicopia:block/enchanted_cloud_slab_top" }, + "type=double,covering=uncovered": { "model": "unicopia:block/enchanted_cloud_block" }, + "type=double,covering=covered": { "model": "unicopia:block/enchanted_cloud_block_covered" }, + "type=double,covering=snow_covered": { "model": "unicopia:block/enchanted_cloud_block" } } } \ No newline at end of file diff --git a/src/main/resources/assets/unicopia/models/block/enchanted_cloud_slab_top_covered.json b/src/main/resources/assets/unicopia/models/block/enchanted_cloud_slab_top_covered.json new file mode 100644 index 00000000..34305af1 --- /dev/null +++ b/src/main/resources/assets/unicopia/models/block/enchanted_cloud_slab_top_covered.json @@ -0,0 +1,8 @@ +{ + "parent": "block/slab_top", + "textures": { + "bottom": "unicopia:blocks/enchanted_cloud_block_bottom", + "top": "unicopia:blocks/enchanted_cloud_block_top", + "side": "unicopia:blocks/enchanted_cloud_block_bottom" + } +}