Are you sure you want to report this?

A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.


/execute @p ~~~ holding or motion in /bedrock


Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Sub2Xdpro commented
    Comment actions Permalink

    Hi ,I like your idea but I would also like something like wearing

    syntax:execute [target] x y z wearing diamond_boots effect @p speed 30 0 true

    so if you were wearing daimond boots you would get speed

  • 0
    Fisch379755 commented
    Comment actions Permalink

    That is already possible via execute data, as you can check for specific inventory Slots as well as the selected item

    Example: execute as @a if data entity @s {SelectedItem:{id:"minecraft:stone"}} run replaceitem @s weapon.mainhand dirt


    Would replace a stone in your hand with one dirt

  • 0
    Computer12408 commented
    Comment actions Permalink

    I hope this becomes a thing.