mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-13 03:05:09 +01:00
compat: Improve Forbidden&Arcanus Nuggety Aurum Leaves
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 1.1 KiB |
@@ -153,7 +153,9 @@ def autoGen(jsonData, args):
|
||||
|
||||
# Check for blockstate data
|
||||
if infile.replace(".png", ".betterleaves.json") in files:
|
||||
leaf.blockstate_data = BlockStateData.fromFile(leaf, root, infile.replace(".png", ".betterleaves.json"))
|
||||
with open(os.path.join(root, infile.replace(".png", ".betterleaves.json")), "r") as f:
|
||||
if "blockStateData" in json.load(f):
|
||||
leaf.blockstate_data = BlockStateData.fromFile(leaf, root, infile.replace(".png", ".betterleaves.json"))
|
||||
|
||||
# Generate blockstates & models
|
||||
generateBlockstate(leaf, block_state_copies)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"textureStitching": {
|
||||
"1-4": "forbidden_arcanus:block/aurum_leaves",
|
||||
"6-9": "forbidden_arcanus:block/aurum_leaves"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user