The Bug
If you stand on a soul block with soul speed activated and replace the block beneath you with a non-soul block, you will keep the soul speed until you step off the block.
Steps to Reproduce
Replace the ground beneath you with soul soil and equip some boots enchanted with soul speed.
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:soul_soil /item replace entity @s armor.feet with minecraft:golden_boots{Enchantments:[{id:"soul_speed",lvl:3}]}
Begin walking around on the soul soil to active the soul speed enchantment.
Replace all soul soil blocks with dirt.
/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 minecraft:dirt replace minecraft:soul_soil
Take note as to whether or not the soul speed effect is still active.
Observed Behavior
You can retain the soul speed enchantment effect by replacing blocks beneath your feet with non-soul blocks whilst the enchantment is still active.
Expected Behavior
You would not be able to retain the soul speed enchantment effect by replacing blocks beneath your feet with non-soul blocks whilst the enchantment is still active.
Linked issues
Attachments
Comments
Can reproduce.
Can confirm in 20w48a.
Can confirm in 1.16.5 and 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 21w13a.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in 21w42a. Here are some extra details regarding this problem.
The Bug:
You can retain the soul speed enchantment effect by replacing blocks beneath your feet with non-soul blocks whilst the enchantment is still active.
Steps to Reproduce:
Replace the ground beneath you with soul soil and equip some boots enchanted with soul speed.
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:soul_soil
/item replace entity @s armor.feet with minecraft:golden_boots{Enchantments:[{id:"soul_speed",lvl:3}]}
Begin walking around on the soul soil to active the soul speed enchantment.
Replace all soul soil blocks with dirt.
/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 minecraft:dirt replace minecraft:soul_soil
Take note as to whether or not the soul speed effect is still active.
Observed Behavior:
You can retain the soul speed enchantment effect by replacing blocks beneath your feet with non-soul blocks whilst the enchantment is still active.
Expected Behavior:
You would not be able to retain the soul speed enchantment effect by replacing blocks beneath your feet with non-soul blocks whilst the enchantment is still active.

Affects 1.18.1
Can confirm in 1.18.2 and 22w11a.

does it in 1.19.0 as well. It flips randomly between soul speed effect staying on about a few seconds after player is no longer on soul sand to soul sand having regular speed like it was another block type
Can confirm in 1.19.
Can confirm in 1.19.2.

Can confirm in 23w45a
Relates to MC-177965 and MC-175911