#left click detection

1 messages · Page 1 of 1 (latest)

night iron
#

im new in datapacks and i want to know how to detect left click the problem is that i just want it to detect the left click when im shifting

jagged warren
night iron
#

Bro im new i dont anything about what is he talking

jagged warren
#

That doesn't really help us help you. What are you confused about? What do you have so far, and what do you need help implementing?

night iron
#

i just have the custom sword

#

it has custom id and when im holding it i shows particles

#

im confused about like the mode he make that

#

like vertical

#

uknow

#

give @s netherite_sword[minecraft:custom_data={id:"katanazyron"},custom_name=["",{"text":"🗡","bold":true,"italic":false,"color":"#ff0000"},{"text":" ","bold":true,"italic":false},{"text":"K","bold":true,"italic":false,"color":"#ff0000"},{"text":"a","bold":true,"italic":false,"color":"#ed0e0e"},{"text":"ta","bold":true,"italic":false,"color":"#da1b1b"},{"text":"n","bold":true,"italic":false,"color":"#ca2121"},{"text":"a","bold":true,"italic":false,"color":"#b92727"},{"text":" ","bold":true,"italic":false},{"text":"Z","bold":true,"italic":false,"color":"#ff4d00"},{"text":"y","bold":true,"italic":false,"color":"#ec4f0c"},{"text":"ro","bold":true,"italic":false,"color":"#d95117"},{"text":"n","bold":true,"italic":false,"color":"#c14c1a"},{"text":" ","bold":true,"italic":false},{"text":"¥","bold":true,"italic":false,"color":"#ff4d00"}],enchantments={fire_aspect:2,looting:10,sharpness:70,smite:70,sweeping_edge:10,bane_of_arthropods:70},attribute_modifiers=[{type:attack_speed,amount:1024,slot:mainhand,operation:add_value,id:"1777835848414"}],unbreakable={},max_damage=100,tooltip_display={hidden_components:[attribute_modifiers,enchantments,unbreakable]}]

#

thats the function of the sword

#

to get it

#

that when im holding it