#how to make when i hold item it gives a effect, and when i wear full custom armor

1 messages · Page 1 of 1 (latest)

pliant nimbus
#

You can use q.is_item_name_any to play an animation, or use the hasitem selector if it's from a function

viral goblet
#

i still never worked with animation and condition

#

like is it possible to make when i right click with a sword

#

it' gives me extra heart

pliant nimbus
#

That would take scripting

#

Holding vs using items is a different thing

viral goblet
#

uh

#

nah it's fine i fixed it thanks

devout swallow
#

@viral goblet maybe you can use function

#

For exemple

#
effect @a[hasitem={item=mc:red_fire_dragon_helmet,location=slot.armor.head,item=mc:red_fire_dragon_chestplate,location=slot.armor.chest,item=mc:red_fire_dragon_leggings,location=slot.armor.legs,item=mc:red_fire_dragon_boots,location=slot.armor.feet}] fire_resistance 13 1 true
viral goblet
near wedge
# viral goblet that's what i did

try this:

effect @a[hasitem=[{item=mc:red_fire_dragon_helmet,location=slot.armor.head},{item=mc:red_fire_dragon_chestplate,location=slot.armor.chest},{item=mc:red_fire_dragon_leggings,location=slot.armor.legs},{item=mc:red_fire_dragon_boots,location=slot.armor.feet}]] fire_resistance 13 1 true
viral goblet
#

i fix it it dw