im making an adventure map and i want to give a potion effect (fire resistance) while holding a blaze rod in right hand only
eglaios helped me before but it didnt work (or i didnt understand it :p)
thanks in advance
/effect give @a[nbt={SelectedItem:{id:"minecraft:blaze_rod"}}] fire_resistance 1 0 true
So if you need a slight explanation, this is simply the /effectcommand. But it targets players who holds a blaze rod on their main hand. The blaze rod can have all sorts of custom tags, as long as it is a blaze rod.
im making an adventure map and i want to give a potion effect (fire resistance) while holding a blaze rod in right hand only
eglaios helped me before but it didnt work (or i didnt understand it :p)
thanks in advance
HI
/effect give @a[nbt={SelectedItem:{id:"minecraft:blaze_rod"}}] fire_resistance 1 0 true
So if you need a slight explanation, this is simply the /effect command. But it targets players who holds a blaze rod on their main hand. The blaze rod can have all sorts of custom tags, as long as it is a blaze rod.
Btw, if I made a typo, tell me.
thanks alot
HI