The idea here is that we can have commands that trigger on certain events.
This would be more streamlined than current methods for checking events and could be more processor efficient.
Furthermore, we could check specifics such as how the player died.
Examples:
/OnEvent entity death @a fall_damage run say Oof
This would have the server/command block say "Oof" when the player dies by fall damage.
/OnEvent block ~ ~ ~ random_tick_update run....
This would trigger when the select block receives a random tick update (this is what causes plants to grow, water to freeze, ect)
Please sign in to leave a comment.
4 Comments