Sign in
Skip to main content

Discuss Minecraft's scripting and modding capabilities, including APIs, tools, customization, automation, and creator workflows. Share ideas and feedback on how players and creators can extend and customize Minecraft.

11

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

3 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User 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
    Registered User 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
    Registered User commented
    Comment actions Permalink

    I hope this becomes a thing.