-
-
Notifications
You must be signed in to change notification settings - Fork 86
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 display entities for pre 1.19.4 clients #538
base: master
Are you sure you want to change the base?
Conversation
If you have any idea how can i set block for a falling block using metadata, please let me know |
When I change rewriting block display from falling block to armor stand, it shows, any idea why??? |
The falling block entity doesn't use the metadata system to define its blockstate. |
Okay, but how can I send a falling block spawn |
You have to build the packet from scratch using PacketWrapper. I think you can find some examples in other places of the source-code. |
Unfortunately i still don't know how to do this. If I won't find solution, I'll just leave it without block display fix |
Finally, I almost fixed block display, but I don't know how can I set and read metadata in spawn entity packet handler |
Also, display entities have wrapper.set(Type.DOUBLE, 0, wrapper.get(Type.DOUBLE, 0) + 0.5);
wrapper.set(Type.DOUBLE, 2, wrapper.get(Type.DOUBLE, 2) + 0.5); |
As I see, entity meta is sent after spawn entity, so idk how can I finish fixing block display entity |
Are you still working on this PR / planning on updating it? |
I totally forgot about this PR because of problems I had, I can try to finish it |
cad1ee8
to
e3ee340
Compare
e3ee340
to
503e8bd
Compare
TODO: