diamonddevv / luafy

lua scripting language in minecraft datapacks
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

`stat_changed` callback script #12

Closed MulverineX closed 1 month ago

MulverineX commented 1 month ago

When a player stat has changed, receive a callback with the PlayerEntityObject, the old stat value, and the new value. This provides a free event system for many player actions, without a lot of work.

diamonddevv commented 1 month ago

implemented!