#Right click 1.21.3

1 messages · Page 1 of 1 (latest)

stuck jacinth
#

Hi, I wnated to ask help for my datapack of right click detection, because I click right click and don't go, this are the function of my datapack:

Give bestia
give @p carrot_on_a_stick[custom_name='["",{"text":"Respi","italic":false,"color":"gray"},{"text":"razione","italic":false,"color":"#333333"},{"text":" del","italic":false,"color":"gray"},{"text":"la bes","italic":false,"color":"#333333"},{"text":"tia","italic":false,"color":"gray"}]',rarity=uncommon,enchantments={levels:{bane_of_arthropods:5,sharpness:5,smite:5,thorns:5},show_in_tooltip:false},attribute_modifiers={modifiers:[{type:attack_damage,amount:8,slot:mainhand,operation:add_value,id:1734691674241},{type:attack_speed,amount:-2,slot:mainhand,operation:add_value,id:1734691674241}],show_in_tooltip:false},unbreakable={show_in_tooltip:false},food={nutrition:0,saturation:0,can_always_eat:true},consumable={consume_seconds:1000000,animation:"none"},max_stack_size=1,custom_model_data=18,custom_data={"bestia":1}]

Tick
nothing

Load
say load

Use bestia

tag @s add bestia

effect give @e[distance=..10,tag=!bestia] instant_damage 1 1
effect give @e[distance=..10,tag=!bestia] slowness 4 2

execute at @e[distance=..10,tag=!bestia] run particle minecraft:angry_villager ~ ~5 ~ 3 5 3 0 50
execute at @e[distance=..10,tag=!bestia] run particle minecraft:campfire_cosy_smoke ~ ~5 ~ 3 5 3 0 50```

tag @s remove bestia

advancament
```{
    "criteria": {
        "requirement": {
            "trigger": "minecraft:using_item",
            "conditions": {
                "item": {
                    "items": "minecraft:carrot_on_a_stick",
                    "components": {
                        "minecraft:custom_data": {"bestia":1}
                    }
                }
            }
        }
    },
    "rewards": {
        "function": "bestia:usebestia"
    }
}```
jolly joltBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1737667686:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

blazing edgeBOT
odd skiff
#

What are we supposed to do now? It doesn't help to just dump your code here and say it doesn't work.

#

We need more info

#

What specifically doesn't work`?

#

Are there any errors in the log?

#

What are you trying to achieve with your code?

#

Although I can tell you one thing already. If you're going the coas route, you don't need an advancement

dreamy forge
shell prawn
#

xD

stuck jacinth
stuck jacinth
small crow
stuck jacinth
#

A ok, how can make datapack for right click detection with carrot on a stick for 1.21.3?

small crow