-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix wrong block placement distance check #458
Conversation
2f246b8
to
96deb74
Compare
This comment was marked as outdated.
This comment was marked as outdated.
96deb74
to
2918655
Compare
2918655
to
c774f2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I’m not really used to mixin code so I could have missed something.
I did find this
Might want to look at that instead of using a hardcoded value |
Would be an idea to use the eye height, yes. But would need to do in the other method too. Can't today, maybe tomorrow. |
|
or not.... EntityPlayerMP overrides it
|
@Pilzinsel64 can you link the mc bug report since you say it was fixed in modern? |
@Caedis Nah, sorry, didn't found it. I just remember that behavior didn't appear again in later versions. Not even sure when exactly it was fixed.
@Caedis Maybe that is the problem? However, not sure what I should do now. Should I just use |
not merge yet need some more work Pilzinsel told me |
b08a8bc
to
0427a71
Compare
Quick update, can be merged from my side now. Using There could be added a second method in the same mixin here with a future PR to also optimize the @Caedis hope that's also fine for you. |
Tested on both SP and MP? |
@Caedis Only SP yet. Not sure if @Dream-Master put this on Zeta yet. Can't get the obfuscated jar of Hodgepodge to work on client for some reason since the last rebase on |
(cherry picked from commit 61a0245)
Fix block placement distance by players being wrong.
Typical symptom are blocks on the ceiling that disappear shortly after you you placed them. You can't place a block at the ceiling but can remove the block above it. Introduces in the past when Notch splitted of the server. If I'm not wrong, it's fixed in modern Minecraft versions.
Before:
https://github.com/user-attachments/assets/d2c328ec-3442-4a6e-888b-c6792e4b6e09
After:
https://github.com/user-attachments/assets/58d47d67-ea92-4974-904d-a0cfcb93400c