Added compatibility for Tree Hollows.

This commit is contained in:
TheButterbrotMan
2022-03-30 22:07:15 +02:00
parent 0b9da95bc6
commit f656f2c89c
7 changed files with 243 additions and 6 deletions

View File

@@ -0,0 +1,237 @@
{
"credit": "Made by Motschen",
"parent": "block/block",
"textures": {
"front": "treehollows:block/oak_hollow",
"side": "block/oak_log",
"top": "block/oak_log_top",
"particle": "block/oak_log"
},
"elements": [
{
"name": "Cube",
"from": [1, 0, 1],
"to": [15, 16, 15],
"faces": {
"up": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "up"},
"down": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [0, 0, 2],
"to": [1, 16, 14],
"faces": {
"up": {"uv": [2, 2, 3, 14], "texture": "#top", "cullface": "up"},
"down": {"uv": [2, 2, 3, 14], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [-2, 0, 4],
"to": [0, 16, 12],
"faces": {
"north": {"uv": [9, 0, 8, 16], "texture": "#side", "cullface": "west"},
"south": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "west"},
"west": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [0, 3, 2, 11], "texture": "#top", "cullface": "west"},
"down": {"uv": [0, 3, 2, 11], "texture": "#top", "cullface": "west"}
}
},
{
"name": "Cube",
"from": [-1, 0, 12],
"to": [0, 16, 14],
"faces": {
"south": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "west"},
"west": {"uv": [4, 0, 6, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "west"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "west"}
}
},
{
"name": "Cube",
"from": [-1, 0, 2],
"to": [0, 16, 4],
"faces": {
"north": {"uv": [8, 0, 9, 16], "texture": "#side", "cullface": "west"},
"west": {"uv": [12, 0, 14, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "west"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "west"}
}
},
{
"name": "Cube",
"from": [16, 0, 2],
"to": [17, 16, 4],
"faces": {
"north": {"uv": [9, 0, 8, 16], "texture": "#side", "cullface": "east"},
"east": {"uv": [3, 0, 5, 16], "texture": "#side", "cullface": "east"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "east"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "east"}
}
},
{
"name": "Cube",
"from": [16, 0, 12],
"to": [17, 16, 14],
"faces": {
"east": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "east"},
"south": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "east"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "east"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "east"}
}
},
{
"name": "Cube",
"from": [2, 0, -1],
"to": [4, 16, 0],
"faces": {
"north": {"uv": [12.5, 0, 14.5, 16], "texture": "#front", "cullface": "north"},
"west": {"uv": [14.5, 0, 15.5, 16], "texture": "#front", "cullface": "north"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "north"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "north"}
}
},
{
"name": "Cube",
"from": [12, 0, -1],
"to": [14, 16, 0],
"faces": {
"north": {"uv": [1.5, 0, 3.5, 16], "texture": "#front", "cullface": "north"},
"east": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "north"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "north"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "north"}
}
},
{
"name": "Cube",
"from": [12, 0, 16],
"to": [14, 16, 17],
"faces": {
"east": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "south"},
"south": {"uv": [3, 0, 5, 16], "texture": "#side", "cullface": "south"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "south"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "south"}
}
},
{
"name": "Cube",
"from": [2, 0, 16],
"to": [4, 16, 17],
"faces": {
"south": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "south"},
"west": {"uv": [4, 0, 5, 16], "texture": "#side", "cullface": "south"},
"up": {"uv": [1, 0, 2, 2], "texture": "#side", "cullface": "south"},
"down": {"uv": [0, 0, 1, 2], "texture": "#side", "cullface": "south"}
}
},
{
"name": "Cube",
"from": [15, 0, 2],
"to": [16, 16, 14],
"faces": {
"up": {"uv": [13, 2, 14, 14], "texture": "#top", "cullface": "up"},
"down": {"uv": [13, 1, 14, 13], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [14, -0.1111, 0],
"to": [16, 16.0089, 2],
"faces": {
"north": {"uv": [7, 0, 9, 16], "texture": "#side", "cullface": "north"},
"east": {"uv": [2, 0, 4, 16], "texture": "#side", "cullface": "east"},
"up": {"uv": [0, 0, 2, 2], "rotation": 90, "texture": "#top", "cullface": "up"},
"down": {"uv": [14, 14, 16, 16], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [0, -0.1111, 0],
"to": [2, 16.0089, 2],
"faces": {
"north": {"uv": [7, 0, 9, 16], "texture": "#side", "cullface": "north"},
"west": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [0, 0, 2, 2], "texture": "#top", "cullface": "up"},
"down": {"uv": [0, 14, 2, 16], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [0, -0.1111, 14],
"to": [2, 16.0089, 16],
"faces": {
"south": {"uv": [7, 0, 9, 16], "texture": "#side", "cullface": "south"},
"west": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "west"},
"up": {"uv": [0, 0, 2, 2], "rotation": 270, "texture": "#top", "cullface": "up"},
"down": {"uv": [0, 0, 2, 2], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [14, -0.1111, 14],
"to": [16, 16.0089, 16],
"faces": {
"east": {"uv": [2, 0, 4, 16], "texture": "#side", "cullface": "east"},
"south": {"uv": [6, 0, 8, 16], "texture": "#side", "cullface": "south"},
"up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#top", "cullface": "up"},
"down": {"uv": [14, 0, 16, 2], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [16, 0, 4],
"to": [18, 16, 12],
"faces": {
"north": {"uv": [10, 0, 11, 16], "texture": "#side", "cullface": "east"},
"east": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "east"},
"south": {"uv": [0, 0, 1, 16], "texture": "#side", "cullface": "east"},
"up": {"uv": [14, 4, 16, 12], "texture": "#top", "cullface": "east"},
"down": {"uv": [14, 4, 16, 12], "texture": "#top", "cullface": "east"}
}
},
{
"name": "Cube",
"from": [2, 0, 0],
"to": [14, 16, 1],
"faces": {
"up": {"uv": [2, 2, 14, 3], "texture": "#top", "cullface": "up"},
"down": {"uv": [2, 13, 14, 14], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [4, 0, -2],
"to": [12, 16, 0],
"faces": {
"north": {"uv": [4, 0, 12, 16], "texture": "#front", "cullface": "north"},
"east": {"uv": [3, 0, 4, 16], "texture": "#front", "cullface": "north"},
"west": {"uv": [12, 0, 13, 16], "texture": "#front", "cullface": "north"},
"up": {"uv": [4, 0, 12, 2], "texture": "#top", "cullface": "north"},
"down": {"uv": [5, 14, 13, 16], "texture": "#top", "cullface": "north"}
}
},
{
"name": "Cube",
"from": [2, 0, 15],
"to": [14, 16, 16],
"faces": {
"up": {"uv": [2, 13, 14, 14], "texture": "#top", "cullface": "up"},
"down": {"uv": [2, 2, 14, 3], "texture": "#top", "cullface": "down"}
}
},
{
"name": "Cube",
"from": [4, 0, 16],
"to": [12, 16, 18],
"faces": {
"east": {"uv": [4, 0, 5, 16], "texture": "#side", "cullface": "south"},
"south": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "south"},
"west": {"uv": [9, 0, 10, 16], "texture": "#side", "cullface": "south"},
"up": {"uv": [4, 14, 12, 16], "texture": "#top", "cullface": "south"},
"down": {"uv": [3, 0, 11, 2], "texture": "#top", "cullface": "south"}
}
}
]
}

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/acacia_log_top",
"front": "treehollows:block/acacia_hollow",

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/birch_log_top",
"front": "treehollows:block/birch_hollow",

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/dark_oak_log_top",
"front": "treehollows:block/dark_oak_hollow",

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/jungle_log_top",
"front": "treehollows:block/jungle_hollow",

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/oak_log_top",
"front": "treehollows:block/oak_hollow",

View File

@@ -1,5 +1,5 @@
{
"parent": "minecraft:block/log",
"parent": "minecraft:block/hollow",
"textures": {
"top": "minecraft:block/spruce_log_top",
"front": "treehollows:block/spruce_hollow",