The bug
Attribute Modifiers not being removed correctly.
How to reproduce
Go to y=150
Place a block under you using:
/setblock ~ ~-1 ~ stone
Get an item that applies an extremely high speed boost. For example:
/give @p golden_boots 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"speed",Amount:100,Operation:0,UUIDLeast:734432,UUIDMost:4374733,Slot:"feet"}]}
Equip the item
Stand on the block and hold down the move forward key for about 5 seconds.
Remove the item. The speed boost will remain.
Related issues
Comments


Relates to MC-92916

Cannot reproduce in 1.12.2.
Is this still an issue in the most recent versions (currently that is 1.12.2) of Minecraft?

I could reproduce it in 1.12.2 release with the method I mentioned in my comment from 10th October 2016, but it's gotten quasi worse than before: Whereas in 16w40 this bug did not occur anymore as soon as I died, it now is also persistent after I killed myself.
Quick proof video: https://youtu.be/9gsFEnDbnGY

Confirmed for 18w11a

Confirmed for 18w21b.
Command changed to:
/give @s golden_boots{AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"speed",Amount:100,Operation:0,UUIDLeast:734432,UUIDMost:4374733,Slot:"feet"}]}

Confirmed for 1.13.1.
Cannot reproduce in 1.14 prerelease 5. Please comment if this is still an issue
Confirmed, with an exception.
Demonstration in this video here: https://www.youtube.com/watch?v=eJHoUBWNZL4
Steps to reproduce
Make a flatworld, e.g. the default grassy one
Get an item with high speed boost; I simply used the one the OP provided:
Equip the item
Hold down your forward key for a couple of seconds, I personally just ran a bit more than 16.000 blocks just to make sure the effect sets in
Remove the item
Walk forward again and notice that, although you have not the item equipped anymore at your feet, you still have the speed boost.. BUT:
As you can see in the video, apparently as soon as you died this does not happen anymore, for some reason.
I killed myself, equipped the item again, and even though I ran the same amount of blocks like before, it got rid of the speed boost as soon as I removed the item from my feet.