Now that there are those events (20w49a) it has a lot of potential for data packs. If there was a function tag for every event, data packs will become a lot better. For example, there is an event called minecraft:block_place, which triggers whenever a player places a block. I suggest that whenever a player places a block, they also trigger /function #minecraft:block_place. Also, if I understood right, events are always triggered by entities. If the tag will be executed as the entity who triggered the event, we can detect everything a player does and react by adding functions to that tag.
Another idea is to add a target selector argument for that, although I think it's less ideal.
execute as @a[event=minecraft:block_place] run say I am placing a block and everybody should know that cuz it's so important
Please sign in to leave a comment.
3 Comments