Created
November 19, 2016 08:57
-
-
Save nikita488/99ff741a87abe809cb7206e88b068fdd to your computer and use it in GitHub Desktop.
TwoLayered block model that has two layers and first layer use custom "brightness" tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "parent": "block/block", | |
"elements": [ | |
{ "from": [ 0, 0, 0 ], | |
"to": [ 16, 16, 16 ], | |
"faces": { | |
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "down", "tintindex": 0, "brightness": 220 }, | |
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "up", "tintindex": 0, "brightness": 220 }, | |
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "north", "tintindex": 0, "brightness": 220 }, | |
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "south", "tintindex": 0, "brightness": 220 }, | |
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "west", "tintindex": 0, "brightness": 220 }, | |
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#firstLayer", "cullface": "east", "tintindex": 0, "brightness": 220 } | |
} | |
}, | |
{ "from": [ 0, 0, 0 ], | |
"to": [ 16, 16, 16 ], | |
"faces": { | |
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "down" }, | |
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "up" }, | |
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "north" }, | |
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "south" }, | |
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "west" }, | |
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#secondLayer", "cullface": "east" } | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment