Skip to content

Fix phantom high speed by modifying the speed#1682

Merged
granny merged 3 commits into
PurpurMC:ver/1.21.6from
mxuexe:ver/1.21.6
Jun 30, 2025
Merged

Fix phantom high speed by modifying the speed#1682
granny merged 3 commits into
PurpurMC:ver/1.21.6from
mxuexe:ver/1.21.6

Conversation

@mxuexe

@mxuexe mxuexe commented Jun 29, 2025

Copy link
Copy Markdown
Contributor

As noticed, thanks to Billy !

In older versions, <1.21.6, Minecraft multiplies the vector by 0.02 and now in 1.21.6 they multiply it by 0.2

This might be a Minecraft bug, but the simplest fix (Thank to Billy again) would to multiply the speed by 0.1 to match the older versions.

This pr is working as intended (tested)

mxuexe and others added 3 commits June 29, 2025 18:01

@granny granny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up reverting the 0.1 change since bringing back the friction code made it work as before.

Thanks for the original PR as well as this one!

@granny granny merged commit 04a9045 into PurpurMC:ver/1.21.6 Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants