mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-14 19:55:08 +01:00
Support animated textures
- Just uses the legacy model in these cases - Add automatic resource extraction from mods
This commit is contained in:
196
base/assets/betterleaves/models/block/leaves_legacy4.json
Normal file
196
base/assets/betterleaves/models/block/leaves_legacy4.json
Normal file
@@ -0,0 +1,196 @@
|
||||
{
|
||||
"credit": "made by Motschen",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"0": "block/oak_leaves",
|
||||
"particle": "#0"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "normal_block",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 16, 16],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "north", "tintindex": 0},
|
||||
"east": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "east", "tintindex": 0},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "south", "tintindex": 0},
|
||||
"west": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "west", "tintindex": 0},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "up", "tintindex": 0},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2.4, -6, 2.2],
|
||||
"to": [20.4, -3, 2.21],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [2, 3, -2]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 8, 16, 11], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [0, 1, 16, 4], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2.4, 20, 2.4],
|
||||
"to": [20.4, 23, 2.41],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [2, 25, -2]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 3.05, 16, 5.95], "texture": "#0", "tintindex": 0, "cullface": "up"},
|
||||
"south": {"uv": [0, 3.05, 16, 5.95], "texture": "#0", "tintindex": 0, "cullface": "up"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [22.4, -1, 10.7],
|
||||
"to": [25.4, 18, 10.71],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [12, 7, 2]},
|
||||
"faces": {
|
||||
"north": {"uv": [13, 0, 16, 16], "texture": "#0", "tintindex": 0, "cullface": "south"},
|
||||
"south": {"uv": [0.05, 0, 2.95, 16], "texture": "#0", "tintindex": 0, "cullface": "south"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3.7, -1, -5.8],
|
||||
"to": [-0.7, 18, -5.79],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [-8, 7, -7]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.05, 0, 2.95, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [0, 0, 3, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 4, 7.99],
|
||||
"to": [23, 20, 8],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 7, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, -3, 7.99],
|
||||
"to": [23, 4, 8],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 0, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 7], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [0, 0, 16, 7], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, -3, 7.99],
|
||||
"to": [7, 4, 8],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 0, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 8, 7], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [0, 0, 8, 7], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-1, 4, 7.99],
|
||||
"to": [7, 20, 8],
|
||||
"shade": false,
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 7, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.05, 0, 7.95, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [0, 0, 8, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3, -7, 19.6],
|
||||
"to": [16, -4, 19.61],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-3, 4, 11]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 12, 16, 15], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [0, 7, 16, 10], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3.6, 21, 20],
|
||||
"to": [15.4, 23, 20.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-4, 9, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 14.05, 16, 15.95], "texture": "#0", "tintindex": 0, "cullface": "up"},
|
||||
"south": {"uv": [0, 14.05, 16, 15.95], "texture": "#0", "tintindex": 0, "cullface": "up"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [18, -2, 20],
|
||||
"to": [22, 19, 20.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-4, 4, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 4, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [9.05, 0, 12.95, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3.85, -2, 19.25],
|
||||
"to": [-0.85, 19, 19.26],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [0, 4, 17]},
|
||||
"faces": {
|
||||
"north": {"uv": [0.05, 0, 2.95, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [13, 0, 16, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 5, 20],
|
||||
"to": [18, 21, 20.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-4, 4, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, -4, 20],
|
||||
"to": [18, 5, 20.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-4, -5, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 9], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [0, 0, 16, 9], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3.675, -4, 28],
|
||||
"to": [5.325, 5, 28.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-12, -5, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [7, 7, 16, 16], "texture": "#0", "tintindex": 0, "cullface": "down"},
|
||||
"south": {"uv": [7, 7, 16, 16], "texture": "#0", "tintindex": 0, "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [-3.675, 5, 28],
|
||||
"to": [5.325, 21, 28.01],
|
||||
"shade": false,
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [-12, 4, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 10, 16], "texture": "#0", "tintindex": 0},
|
||||
"south": {"uv": [7, 0, 16, 16], "texture": "#0", "tintindex": 0}
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [0,
|
||||
{
|
||||
"name": "bushy_leaves",
|
||||
"origin": [8, 8, 8],
|
||||
"children": [1, 2, 3, 4, 5, 6, 7, 8]
|
||||
},
|
||||
{
|
||||
"name": "bushy_leaves2",
|
||||
"origin": [8, 8, 8],
|
||||
"children": [9, 10, 11, 12, 13, 14, 15, 16]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user