Interaction

Interaction entities are entities useful for map or data pack creators to see who the last player to click on a certain spot is. They can only be created with the or command.
== Behavior ==
Interaction entities record the UUID of the last player that left-clicked and right-clicked them, and the time at which the interaction happened. If response is set to true, left-clicking an interaction entity plays a punching sound, and right-clicking it makes the player's arm swing.
== Usage ==
You can check information on who last left-clicked and right-clicked on the interaction entity with the /data get entity command. This information can be useful in datapack and map creation. You can also change their size to match the area you want to be checked.
== Data values ==
=== ID ===
=== Entity data ===
Interaction entities have entity data associated with them that contain various properties of the entity.
== History ==
de:Interagierer
ja:操作記録エンティティ