X

NOTICE

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.

9

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

2 Comments

Post a new comment:

Please sign in to leave a comment.

  • 0
    Xdpro2818 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
    Seracin1 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