#(yaskyay) It is necessary to make in denizen so that in the left hand it was impossible to spill w
26 messages · Page 1 of 1 (latest)
(yaskyay) It is necessary to make in denizen so that in the left hand it was impossible to spill w
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!e right|left clicks block
Player
this event may in some cases double-fire, requiring usage of the 'ratelimit' command (like 'ratelimit <player> 1t') to prevent doubling actions.
player (right|left) clicks <block>
with:<item> to only process the event if a specified item was held.
using:hand/off_hand/either_hand to only process the event if the specified hand was used to click.
type:<material> to only run if the block clicked matches the material input.
when a player clicks on a block or in the air.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.item> returns the ItemTag the player is clicking with.
<context.location> returns the LocationTag the player is clicking on.
<context.relative> returns a LocationTag of the air block in front of the clicked block.
<context.click_type> returns an ElementTag of the Spigot API click type <@link url https://hub.spi...
<context.hand> returns an ElementTag of the used hand.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
^ there is a switcher in that event, using:
we have that switcher in player places block event as well, I'm not sure which one you should use for water bucket but you can try both
on player right clicks block using:water_bucket:
?
I need to be unable to spill water from a bucket
using:hand/off_hand/either_hand to only process the event if the specified hand was used to click.
Check switches info in the event, using is kinda not the same as with
You'll need them both
on player using:either_hand right clicks block with:water_bucket:
Yeah, edited one is correct
I'm not sure about that but using part probably should be after the event line, like
on player right clicks block using:either_hand with:water_bucket:
I might be wrong about that, if your line will work then it's fine :)
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@patent patio