From 68074cbca83ac2ecd772203e834c134d08f238c7 Mon Sep 17 00:00:00 2001 From: CodenameRevy Date: Fri, 9 Oct 2020 16:57:38 +0200 Subject: [PATCH] 1.0.3 - Add culling --- build.gradle | 2 +- .../models/block/horizontal_pane_block.json | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index b6a074a..bf02ec0 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'idea' apply plugin: 'maven-publish' -version = '1.0.2' +version = '1.0.3' group = 'com.codenamerevy.horizontalpanes' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'horizontalpanes' diff --git a/src/main/resources/assets/horizontalpanes/models/block/horizontal_pane_block.json b/src/main/resources/assets/horizontalpanes/models/block/horizontal_pane_block.json index 688c76e..d884d2f 100644 --- a/src/main/resources/assets/horizontalpanes/models/block/horizontal_pane_block.json +++ b/src/main/resources/assets/horizontalpanes/models/block/horizontal_pane_block.json @@ -31,8 +31,8 @@ "to": [0.001, 8, 16], "rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 8]}, "faces": { - "east": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"}, - "west": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"} + "east": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "west"}, + "west": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "west"} } }, { @@ -40,8 +40,8 @@ "from": [15.999, 6, 0], "to": [15.999, 8, 16], "faces": { - "east": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"}, - "west": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"} + "east": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "east"}, + "west": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "east"} } }, { @@ -50,8 +50,8 @@ "to": [16, 8, 0.001], "rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 8]}, "faces": { - "north": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"}, - "south": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"} + "north": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "north"}, + "south": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "north"} } }, { @@ -60,8 +60,8 @@ "to": [16, 8, 15.999], "rotation": {"angle": 0, "axis": "y", "origin": [8, 14, 24]}, "faces": { - "north": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"}, - "south": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge"} + "north": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "south"}, + "south": {"uv": [7, 0, 9, 16], "rotation": 90, "texture": "#edge", "cullface": "south"} } } ],