Changelog
Additions
- New predicate, pommel:is_enchanted
- Value of 1 if item is enchanted or 0 if not
- Based on if item has enchantment or stored enchantments component(s)
- Example JSON:
{ "parent": "minecraft:item/handheld", "textures": { "layer0": "minecraft:item/diamond_pickaxe" }, "overrides": [ { "predicate": { "pommel:is_held": 1.0 }, "model": "minecraft:item/pommel_held_models/diamond_pickaxe" }, { "predicate": { "pommel:is_enchanted": 1.0 }, "model": "minecraft:item/diamond_pickaxe_enchanted" }, { "predicate": { "pommel:is_held": 1.0, "pommel:is_enchanted": 1.0 }, "model": "minecraft:item/pommel_held_models/diamond_pickaxe_enchanted" } ] }
Files
pommel-held-items-1.3.1+1.21.x.jar(46.53 KiB) Primary Download
External resources
Featured versions
See allProject members

TimmyChips
Owner
Technical information
License
MIT
Client side
required
Server side
optional
Project ID
