mojira.dev
MC-89494

Attribute modifiers ignore items in when switched back to main hand

Attribute modifiers ignore items when switched back to main hand
from being in off hand

Linked issues

Comments 7

Cannot reproduce in both 15w39c and 15w40b, can you give the EXACT command you use to give you the item with attribute modifiers, and the EXACT step by step of what you are doing with this item in your inventory.

Not OP, but I have a repro in release 1.9:

1.

/give @p minecraft:iron_axe 1 1 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-.5,Operation:1,UUIDMost:85983,UUIDLeast:109479}]}

2. Switch to the axe. Notice that you are slowed down (FoV decreases).

3. Press F (default bindings) to put the axe in your off hand. No change to speed or FoV.
4. Press F again to put the axe back into your main hand. Notice that FoV and speed go back to normal (not affected by axe).

In 1.9.1-pre2 step 4 still has the decreased FOV for me, can anybody else reproduce this?

Still occurs for me on pre2: https://gfycat.com/AnotherReasonableFlyingsquirrel (I was testing on 1.9 release.)

anybody else

I did the axact same thing as you did, but no result

I was more wondering if the bug was fixed by pre2.

austin galbraith

(Unassigned)

Community Consensus

Minecraft 15w39c, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2

Retrieved