Skip to content
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

Is there any way to modify the protocol on server side? (maybe using fabric or spigot) #1299

Closed
YXHXianYu opened this issue May 11, 2024 · 1 comment

Comments

@YXHXianYu
Copy link

Is your feature request related to a problem? Please describe.
I want to get the cause of damage in entityHurt event

Describe the solution you'd like
I found that the cause of damage isn't sent to the client. So, this means we need to modify the protocol?
I'm trying to find a method to modify the protocol (maybe using fabric or spigot server)

Describe alternatives you've considered
Using another tool instead of mineflayer toolset? But, it may need lead to large amount of work.

Additional context
The packet of entityHurt:
image

Thanks If anyone has some relative information or solution! 😸 😸

@YXHXianYu
Copy link
Author

I found that this spigot plugin ProtocolLib can modify the protocol. Solved!

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

No branches or pull requests

1 participant