mirror of
https://github.com/TeamMidnightDust/RoundTreesPack.git
synced 2025-12-15 17:55:08 +01:00
Generate pack assets via Python
- Also features a new, optimized log model
This commit is contained in:
240
base/assets/minecraft/models/block/hollow_log.json
Executable file
240
base/assets/minecraft/models/block/hollow_log.json
Executable file
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"credit": "made by Motschen",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"2": "block/stripped_oak_log",
|
||||
"particle": "block/oak_log",
|
||||
"side": "block/oak_log",
|
||||
"top": "block/oak_log_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Cube",
|
||||
"from": [0, 0, 2],
|
||||
"to": [1, 16, 14],
|
||||
"faces": {
|
||||
"east": {"uv": [4, 0, 16, 16], "texture": "#2"},
|
||||
"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": [8, 0, 10, 16], "texture": "#side", "cullface": "north"},
|
||||
"west": {"uv": [2, 0, 3, 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, -1],
|
||||
"to": [14, 16, 0],
|
||||
"faces": {
|
||||
"north": {"uv": [13, 0, 15, 16], "texture": "#side", "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": {
|
||||
"west": {"uv": [4, 0, 16, 16], "texture": "#2"},
|
||||
"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"},
|
||||
"south": {"uv": [2, 0, 4, 16], "texture": "#2"},
|
||||
"west": {"uv": [0, 0, 2, 16], "texture": "#2"},
|
||||
"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"},
|
||||
"east": {"uv": [2, 0, 4, 16], "texture": "#2"},
|
||||
"south": {"uv": [0, 0, 2, 16], "texture": "#2"},
|
||||
"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": {
|
||||
"north": {"uv": [2, 0, 4, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 2, 16], "texture": "#2"},
|
||||
"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": {
|
||||
"north": {"uv": [0, 0, 2, 16], "texture": "#2"},
|
||||
"east": {"uv": [2, 0, 4, 16], "texture": "#side", "cullface": "east"},
|
||||
"south": {"uv": [6, 0, 8, 16], "texture": "#side", "cullface": "south"},
|
||||
"west": {"uv": [2, 0, 4, 16], "texture": "#2"},
|
||||
"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": {
|
||||
"south": {"uv": [4, 0, 16, 16], "texture": "#2"},
|
||||
"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": "#side", "cullface": "north"},
|
||||
"east": {"uv": [8, 0, 9, 16], "texture": "#side", "cullface": "north"},
|
||||
"west": {"uv": [0, 0, 1, 16], "texture": "#side", "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": {
|
||||
"north": {"uv": [4, 0, 16, 16], "texture": "#2"},
|
||||
"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"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
196
base/assets/minecraft/models/block/log.json
Executable file
196
base/assets/minecraft/models/block/log.json
Executable file
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"credit": "made by Motschen",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "block/oak_log",
|
||||
"side": "block/oak_log",
|
||||
"top": "block/oak_log_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "mainRings",
|
||||
"from": [1, -0.1, 1],
|
||||
"to": [15, 16.1, 15],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"up": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "up"},
|
||||
"down": {"uv": [1, 1, 15, 15], "texture": "#top", "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "north-south",
|
||||
"from": [2, -0.05, 0],
|
||||
"to": [14, 16.05, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"up": {"uv": [2, 2, 14, 14], "texture": "#top", "cullface": "up"},
|
||||
"down": {"uv": [2, 2, 14, 14], "texture": "#top", "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "east-west",
|
||||
"from": [0, -0.05, 2],
|
||||
"to": [16, 16.05, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"up": {"uv": [2, 2, 14, 14], "texture": "#top", "cullface": "up"},
|
||||
"down": {"uv": [13, 1, 14, 13], "texture": "#top", "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "north",
|
||||
"from": [4, -0.05, -2],
|
||||
"to": [12, 16.05, 0],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "north"},
|
||||
"east": {"uv": [3, 0, 4, 16], "texture": "#side"},
|
||||
"west": {"uv": [12, 0, 13, 16], "texture": "#side"},
|
||||
"up": {"uv": [4, 0, 12, 2], "texture": "#top", "cullface": "north"},
|
||||
"down": {"uv": [5, 14, 13, 16], "texture": "#top", "cullface": "north"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "east",
|
||||
"from": [16, -0.05, 4],
|
||||
"to": [18, 16.05, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [12, 0, 13, 16], "texture": "#side"},
|
||||
"east": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "east"},
|
||||
"south": {"uv": [3, 0, 4, 16], "texture": "#side"},
|
||||
"up": {"uv": [14, 4, 16, 12], "texture": "#top", "cullface": "east"},
|
||||
"down": {"uv": [14, 4, 16, 12], "texture": "#top", "cullface": "east"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "south",
|
||||
"from": [4, -0.05, 16],
|
||||
"to": [12, 16.05, 18],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"east": {"uv": [12, 0, 13, 16], "texture": "#side"},
|
||||
"south": {"uv": [4, 0, 12, 16], "texture": "#side", "cullface": "south"},
|
||||
"west": {"uv": [3, 0, 4, 16], "texture": "#side"},
|
||||
"up": {"uv": [4, 14, 12, 16], "texture": "#top", "cullface": "south"},
|
||||
"down": {"uv": [3, 0, 11, 2], "texture": "#top", "cullface": "south"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "west",
|
||||
"from": [-2, -0.05, 4],
|
||||
"to": [0, 16.05, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 0, 3, 16], "texture": "#side"},
|
||||
"south": {"uv": [12, 0, 13, 16], "texture": "#side"},
|
||||
"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": "north-south",
|
||||
"from": [2, 0, -1],
|
||||
"to": [14, 16, 17],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [2, 0, 14, 15.8], "texture": "#side"},
|
||||
"east": {"uv": [1, 0, 2, 16], "texture": "#side"},
|
||||
"south": {"uv": [3, 0, 15, 15.7], "texture": "#side", "cullface": "south"},
|
||||
"west": {"uv": [14, 0, 15, 15.8], "texture": "#side"},
|
||||
"up": {"uv": [2, 0, 14, 16], "texture": "#top"},
|
||||
"down": {"uv": [0, 0, 1, 2], "texture": "#side"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "east-west",
|
||||
"from": [-1, 0, 2],
|
||||
"to": [17, 16, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [14, 0.2, 15, 16], "texture": "#side"},
|
||||
"east": {"uv": [2, 0, 14, 15.8], "texture": "#side"},
|
||||
"south": {"uv": [1, 0, 2, 16], "texture": "#side"},
|
||||
"west": {"uv": [2, 0, 14, 15.6], "texture": "#side"},
|
||||
"up": {"uv": [0, 2, 16, 14], "texture": "#top"},
|
||||
"down": {"uv": [0, 0, 1, 2], "texture": "#side"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "north-west",
|
||||
"from": [0, 0, 0],
|
||||
"to": [2, 16, 2],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [14, 0, 16, 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": "north-east",
|
||||
"from": [14, 0, 0],
|
||||
"to": [16, 16, 2],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "north"},
|
||||
"east": {"uv": [14, 0, 16, 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": "south-east",
|
||||
"from": [14, 0, 14],
|
||||
"to": [16, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"east": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "east"},
|
||||
"south": {"uv": [14, 0, 16, 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": "south-west",
|
||||
"from": [0, 0, 14],
|
||||
"to": [2, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, -0.1, 0]},
|
||||
"faces": {
|
||||
"south": {"uv": [0, 0, 2, 16], "texture": "#side", "cullface": "south"},
|
||||
"west": {"uv": [14, 0, 16, 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"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
0,
|
||||
{
|
||||
"name": "innerRings",
|
||||
"origin": [0, 0, 0],
|
||||
"color": 0,
|
||||
"children": [1, 2]
|
||||
},
|
||||
{
|
||||
"name": "outerMiddle",
|
||||
"origin": [0, 0, 0],
|
||||
"color": 0,
|
||||
"children": [3, 4, 5, 6]
|
||||
},
|
||||
{
|
||||
"name": "outerEdges",
|
||||
"origin": [0, 0, 0],
|
||||
"color": 0,
|
||||
"children": [7, 8]
|
||||
},
|
||||
{
|
||||
"name": "outerCorners",
|
||||
"origin": [8, 8, 8],
|
||||
"color": 0,
|
||||
"children": [9, 10, 11, 12]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user