Changelog
Additons
- Added new predicate: pommel:item_use.
- Starts from value 0 when player starts to use/consume an item and ends at value 1 when player finishes using the item.
- apple.json eating food example:
{ "parent": "minecraft:item/generated", "textures": { "layer0": "minecraft:item/apple" }, "overrides": [ { "predicate": { "pommel:item_use": 0.25 }, "model": "minecraft:item/apple_eat_0" }, { "predicate": { "pommel:item_use": 0.50 }, "model": "minecraft:item/apple_eat_1" }, { "predicate": { "pommel:item_use": 0.75 }, "model": "minecraft:item/apple_eat_2" } ] }
- The time it takes to go from 0 to 1 is based on the item's use ticks.
Fixes
- Fixed an issue where it would output to the console/log every time you used an item. Uhhh.. oops.
Files
pommel-held-items-1.3.0+1.20.1.jar(41.81 KiB) Primary Download
Links
Details
Licensed MIT
Published a year ago
Updated 2 days ago