I put the command effect give @a[nbt={Inventory:[{Slot:100b,id:netherite_boots,tag:{Tag:["Custom:26"]}}]}] minecraft:fire_resistance 1 1 true in a always active repeat command block, as well as giving myself /give @s minecraft:netherite_boots{Custom:26}, however when I wear the boots it does not give me the effect.

1 Answer 1


You have the selector NBT syntax wrong. You also need to include minecraft: in the name of the item. It should be @a[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",tag:{Custom:26}}]}] (without the extra Tag: tag)

  • Interesting, I changed it however it didn't work still Jul 22 at 14:08
  • The new one looks somewhat like effect give @a[nbt={Inventory:[{Slot:100b,id:netherite_boots,tag:{Custom:26}}]}] minecraft:fire_resistance 1 1 true Jul 22 at 14:08
  • @MinecraftKity I've edited the answer, does it work now?
    – pppery
    Jul 22 at 14:09
  • Yes! Thank you so much I was trying to make some sort of blazeborn armor and it works now! Jul 22 at 14:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .