Skip to content

Commit

Permalink
feat: rework resoruce models for v46 pack format
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Dec 22, 2024
1 parent 3a4cb3f commit 75b4351
Show file tree
Hide file tree
Showing 36 changed files with 1,401 additions and 763 deletions.
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"
}
}
]
}
}
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"
}
}
]
}
}

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions vane-enchantments/src/main/resources/resource_pack/index
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
assets/minecraft/models/item/book.json
assets/minecraft/models/item/enchanted_book.json
assets/minecraft/items/book.json
assets/minecraft/items/enchanted_book.json
assets/vane_enchantments/models/item/ancient_tome.json
assets/vane_enchantments/models/item/ancient_tome_of_knowledge.json
assets/vane_enchantments/models/item/ancient_tome_of_the_gods.json
Expand Down
Loading

0 comments on commit 75b4351

Please sign in to comment.