Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions questions/itemclick.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ execute as @e[type=interaction,tag=click_scan] run data remove entity @s interac

When using a datapack, you don't have to run these commands in a tick function, but only once when interacting using advancements:
* Right click - `minecraft:player_interacted_with_entity` advancement trigger
* Left click - `minecraft:entity_hurt_player` advancement trigger
* Left click - `minecraft:player_hurt_entity` advancement trigger

<details markdown="1">
<summary style="color: #e67e22; font-weight: bold;">See example</summary>
Expand Down Expand Up @@ -361,4 +361,4 @@ execute as @a[tag=right_click_bundle] unless items entity @s weapon.mainhand bun
tag @a[tag=right_click_bundle] remove right_click_bundle
```

</details>
</details>