The execute on subcommand is incredibly helpful for datapack making. However, it is missing functionality that would allow for a new level of control over the player. I propose an expansion of the subcommand, adding a "block|entity" argument for some selectors. Using this new argument, I propose a few new selectors that go as follows:
execute on target block
Execute on the block a player is targeting (The block with a black outline). This does not work for entities.
execute on target entity
Execute on the entity a player is looking at. For entities, retains original functionality.
execute on used block
Execute on the last block right clicked by a player. This does not work for entities.
execute on used entity
Execute on the last entity right clicked by a player. This does not work for entities.
execute on enemy block
Execute on the last block left clicked by a player, not counting breaking. This does not work for entities.
execute on enemy entity
Execute on the last entity left clicked (attacked) by a player. This does not work for entities.
execute on destroyed block
Execute on the last block destroyed by a player. This does not work for entities.
Please sign in to leave a comment.
1 Comments