-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rework resoruce models for v46 pack format
- Loading branch information
Showing
36 changed files
with
1,401 additions
and
763 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
vane-enchantments/src/main/resources/resource_pack/assets/minecraft/items/book.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"model": { | ||
"type": "range_dispatch", | ||
"property": "minecraft:custom_model_data", | ||
"fallback": { | ||
"type": "model", | ||
"model": "minecraft:item/book" | ||
}, | ||
"entries": [ | ||
{ | ||
"threshold": 7798784, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/ancient_tome" | ||
} | ||
}, | ||
{ | ||
"threshold": 7798786, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/ancient_tome_of_knowledge" | ||
} | ||
}, | ||
{ | ||
"threshold": 7798788, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/ancient_tome_of_the_gods" | ||
} | ||
} | ||
] | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...-enchantments/src/main/resources/resource_pack/assets/minecraft/items/enchanted_book.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"model": { | ||
"type": "range_dispatch", | ||
"property": "minecraft:custom_model_data", | ||
"fallback": { | ||
"type": "model", | ||
"model": "minecraft:item/enchanted_book" | ||
}, | ||
"entries": [ | ||
{ | ||
"threshold": 7798785, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/enchanted_ancient_tome" | ||
} | ||
}, | ||
{ | ||
"threshold": 7798787, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/enchanted_ancient_tome_of_knowledge" | ||
} | ||
}, | ||
{ | ||
"threshold": 7798789, | ||
"model": { | ||
"type": "model", | ||
"model": "vane_enchantments:item/enchanted_ancient_tome_of_the_gods" | ||
} | ||
} | ||
] | ||
} | ||
} |
26 changes: 0 additions & 26 deletions
26
vane-enchantments/src/main/resources/resource_pack/assets/minecraft/models/item/book.json
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...ntments/src/main/resources/resource_pack/assets/minecraft/models/item/enchanted_book.json
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.