#Shifting pain :(
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D
Open question: #1258315020090085457
Do you want them to right click the item?
You will have to tick, but it is possible
{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "flags": { "is_sneaking": true }, "equipment": { "mainhand": { "items": [ "minecraft:heart_of_the_sea" ], "nbt": "{amazing:1b}" } } } }
what do you mean?
You will have to run a command every tick
It shouldn't be too expensive in resources
what would I do?
I don't know predicates well, so I can't help you for that
What would the command be?
You would run something like
ticking function
[35mexecute [34mas [36m@a[33m[[37mpredicate[34m=[33mnamespace:sneaking_with_item] [34mat [36m@s [34mrun [35mfunction [33mnamespace:apply_wither
apply_wither
[35meffect [34mgive [36m@e[33m[[37mdistance[34m=[35m..[32m10[33m] minecraft:wither [32m1 0
How would I make it that it doesnt effect the user?
Probably with
ticking function
[35mexecute [34mas [36m@a[33m[[37mpredicate[34m=[33mnamespace:sneaking_with_item] [34mat [36m@s [34mrun [35mfunction [33mnamespace:apply_wither
apply_wither
[35meffect [34mgive [36m@e[33m[[37mdistance[34m=[32m0.001[35m..[32m10[33m] minecraft:wither [32m1 0
This puts one second of wither level one