How to use Interaction Entities in Minecraft
A quick tutorial on how to use interaction entities using both command blocks and datapacks.
Command Blocks:
execute as @e[type=interaction] on attacker run say left
execute as @e[type=interaction] on target run say right
*bonus*
execute as @e[type=interaction] if data entity @s attack run say I was left clicked
execute as @e[type=interaction] if data entity @s interaction run say I was right clicked
execute as @e[type=interaction] run data remove entity @s attack
execute as @e[type=interaction] run data remove entity @s interaction
Latest Version (1.19.4)
π¦ Download: https://www.dropbox.com/s/9xx1t6pt8pg0vdz/interaction.zip?dl=1
π΅ Discord & Other Links: https://linktr.ee/CloudWolfMC
π» Website: https://cloudwolfyt.github.io
Other Videos By Cloud Wolf
Other Statistics
Minecraft Statistics For Cloud Wolf
Currently, Cloud Wolf has 8,312,436 views for Minecraft across 523 videos. There's over 3 days worth of watchable video for Minecraft published on his channel, or 95.89% of the total watchable video on Cloud Wolf's YouTube channel.