#how to make it so if an item is in offhand it gives extra health and speed

26 messages · Page 1 of 1 (latest)

brisk ore
#

how to make it so if an item is in offhand it gives extra health and speed

#

need help

crystal hazel
#

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?

brisk ore
bold ether
#

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

#
/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
brisk ore
#

Tysm

#

why am i getting an error

bold ether
#

your chat settings are terrible

#

do you have essentials?

#

in the /give, try adding minecraft:
so like,
/minecraft:give @p.........

brisk ore
#

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

worn shard
#

lighten the chat up

bold ether
#

you can change the other attributes as well, ok there's some armor-related ones