mojira.dev
MC-85622

Item's AttributeModifier Speed does not work correctly

I gave a bow the Attribute Modifier Speed with a negativ/positiv value.

What I expected to happen was...:
Become faster or slower while holding it

What actually happened was...:
I got the slowness/speed only for a moment when I selected the item

Steps to Reproduce:
1. Give yourselfe a Bow with a Speed AttrivuteModifier tag via commandblock
2. Hold the Bow in your hotbar or off-hand
3. You will only get the Attribute effect for a very short moment

Comments 5

Please attach the command used to create the item or the level.dat file with the item in the player's inventory.

/replaceitem entity @a[team=Pit] slot.hotbar.2 bow 1 0 {ench:[{id:48,lvl:6}],display:{Name:"Flaming Arrows",Lore:["Hit multiply enemies","near the landing spot"]},HideFlags:1,AttributeModifiers:[{Operation:1,UUIDLeast:1,UUIDMost:1,Amount:0.2,AttributeName:generic.movementSpeed,Name:whee}],display:{Name:"Flaming Arrows"}}

Unable to reproduce. Works fine for me.

Still does not work for me. Neither in a new created world...
Anyone else having this problem too?

---EDIT---
It works properly in snapshot 15w36c again!

Hego Damazk

(Unassigned)

Unconfirmed

Minecraft 15w32c

Retrieved