quilt-standard-libraries
quilt-standard-libraries copied to clipboard
Item Interaction Events
As the name implies, this adds events that fire when using items.
This PR adds the item_events
module.
TODO
- [x] "Used" event
- [x] "Used on block" event
- [x] "Used on entity" event
- [x] "Finished using" event
- Not actually sure what uses this. Bows and crossbows, maybe?
Moved to item_events
!
Hm it all looks good, but what is your opinion on a adding generic UseItem event as well? One that fires when the 'use' method is called? Maybe an 'inventoryTick' event as well, although that's not really an interaction and is therefore not in line with this PR's description.
My point is, this can be expanded. We should look into that.