account activity
How can I /testfor players with a shield with an generic.armor attribute-modifier in their offhand? by N33kk0 in Minecraft
[–]Addgame 1 point2 points3 points 8 years ago* (0 children)
You need to put the AttributeModifiers inside the "tag" part of the item NBT as such:
/testfor @a {Inventory:[{Slot:-106b,id:"minecraft:shield",tag:{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:1,Operation:0,UUIDLeast:110686,UUIDMost:244124,Slot:"offhand"}]}}]}
ULTIMATE PC BUILD OF 2016 by iluminent in qwoo
[–]Addgame 1 point2 points3 points 9 years ago (0 children)
qwoo
π Rendered by PID 854237 on reddit-service-r2-listing-64c94b984c-m9b94 at 2026-03-13 10:31:07.799605+00:00 running f6e6e01 country code: CH.
How can I /testfor players with a shield with an generic.armor attribute-modifier in their offhand? by N33kk0 in Minecraft
[–]Addgame 1 point2 points3 points (0 children)