Skip to main content
at >>>>>>>> as, as it can replace as, but as cant replace at, making at superior and therefore the better option
Source Link
Sayne
  • 27
  • 7

You could use something on this lines of /execute <at/as>at @a[nbt={SelectedItem:{id:"minecraft:<id>",name:"<name>"}}] run <command> in order to run the command, replacing anything in <> with the appropriate option. You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute <at/as> @a[nbt={SelectedItem:{id:"minecraft:<id>",name:"<name>"}}] run <command> in order to run the command, replacing anything in <> with the appropriate option. You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute at @a[nbt={SelectedItem:{id:"minecraft:<id>",name:"<name>"}}] run <command> in order to run the command, replacing anything in <> with the appropriate option. You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

Cleared up meaning
Source Link
Sayne
  • 27
  • 7

You could use something on this lines of /execute <at/as> @a[nbt={SelectedItem:{id:"minecraft:id"<id>",name:"<name>"}}] run <command> in order to run the command, replacing the minecraft:id with the id of the item, and replacing command with the command, along with putting a nameanything in <> with the blank ""appropriate option. You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute <at/as> @a[nbt={SelectedItem:{id:"minecraft:id",name:"<name>"}}] run <command> in order to run the command, replacing the minecraft:id with the id of the item, and replacing command with the command, along with putting a name in the blank "". You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute <at/as> @a[nbt={SelectedItem:{id:"minecraft:<id>",name:"<name>"}}] run <command> in order to run the command, replacing anything in <> with the appropriate option. You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

forgot "
Source Link
Sayne
  • 27
  • 7

You could use something on this lines of /execute as<at/as> @a[nbt={SelectedItem:{id:"minecraft:id",name:"""<name>"}}] run command<command> in order to run the command, replacing the minecraft:id with the id of the item, and replacing command with the command, along with putting a name in the blank "". You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute as @a[nbt={SelectedItem:{id:"minecraft:id",name:""}}] run command in order to run the command, replacing the minecraft:id with the id of the item, and replacing command with the command, along with putting a name in the blank "". You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

You could use something on this lines of /execute <at/as> @a[nbt={SelectedItem:{id:"minecraft:id",name:"<name>"}}] run <command> in order to run the command, replacing the minecraft:id with the id of the item, and replacing command with the command, along with putting a name in the blank "". You can run this as many times as you want, changing those 3 selectors, as long as those are in repeating command blocks, either constantly powered or with "always active" enabled.

forgot to add {}
Source Link
Sayne
  • 27
  • 7
Loading
Source Link
Sayne
  • 27
  • 7
Loading