RIGHT CLICK DETECTION in Minecraft 1.19.4+ [Tutorial]
YouTube Viewers YouTube Viewers
3.37K subscribers
6,160 views
0

 Published On Apr 5, 2023

I show you a simple way to detect a right click in Minecraft 1.19.4 - 1.20 by using the new interaction entity, which allows you to create custom hitboxes.

INTERACTION SPAWN COMMAND:
/summon interaction x y z {width:1.01f,height:1.01f,response:1b}
COMMAND BLOCK PILLAR:
/execute as @e[type=interaction] at @s on target run tag @p add right
/execute as @p[tag=right] run tellraw @s "Right click"
/execute as @e[type=interaction] at @s if entity @p[tag=right,distance=..4] run data remove entity @s interaction
/tag @a remove right

#minecraft #howto #tutorial
----------------------------------------------------------------------------------
Song: Fredji - Flying High (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link:    • Fredji - Flying High (Vlog No Copyrig...  

show more

Share/Embed