#how to make it so if an item is in offhand it gives extra health and speed
26 messages · Page 1 of 1 (latest)
For those reading this, I think he's saying he wants it so you may enjoy the effects of enchantments on an offhand held item regardless of what's held in your main hand. Like if you have an enchanted Silk Touch item in your off hand, you can enjoy that Silk Touch effect on a tool or item held in the main hand without having to get Silk Touch on that one too.
@brisk ore Is that correct?
I meant that I want it so like if I put a blaze rod In offhand it gives u extra 2 hearts or smth like that
use attributes
either with a plugin like itemeditor, which can add it, or with vanilla commands, which is more complex but can also add it
you can use mcstacker.net 's give command generator
/give @p blaze_rod{AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:2,Operation:0,UUID:[I;226425213,-1107669601,-1589309811,-705930915],Slot:"offhand"}]} 1
your chat settings are terrible
do you have essentials?
in the /give, try adding minecraft:
so like,
/minecraft:give @p.........
ok
what if i wanna add armor toughness and stuff
i want
it to be like a max netherite helmet
but
with 2 more hearts
i already figured out the 2 hearts part
you can change the other attributes as well, ok there's some armor-related ones