I'm trying to find a way to get this code to work for my offhand slot, and SelectedItems.
execute at @/p[nbt={SelectedItem:{components:{"minecraft:custom_data":{decay:1}}}}] run effect give @/p minecraft:strength 1 0
u/FunnelCakeYam — 8 days ago
I'm trying to find a way to get this code to work for my offhand slot, and SelectedItems.
execute at @/p[nbt={SelectedItem:{components:{"minecraft:custom_data":{decay:1}}}}] run effect give @/p minecraft:strength 1 0
give u/p minecraft:nether_star[minecraft:custom_name={text:"Decaying Star",color:"red", bold:true},minecraft:lore=["It still pulses with faint life, you feel stronger whilst holding it."],minecraft:attribute_modifiers=[{type:"minecraft:movement_speed",slot:"off_hand",id:"Decay",amount:1,operation:"add_multiplied_base"}]
trying to add a 0.5 multiplied base but can't figure out the ]} formatting... anyone know what to do?