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

Initial code for the server-side enchanting #33

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BlusteryS
Copy link
Contributor

This code will not work due to the following:

  1. ServerAuthInventories is false (StartGamePacket - 298 line):
    image
  2. We do not handle ItemStackRequest, so if we enable ServerAuthInventories the enchantment table won't work (PlayerAuthInputPacket - 73 line):
    image

@BlusteryS
Copy link
Contributor Author

BlusteryS commented Aug 27, 2023

If ServerAuthInventories is false, then enchantments are generated on the client side. So we have to enable ServerAuthInventories and do some processing for item stack request packets.

@lt-name lt-name added the [Type] New Feature | 新特性 New feature or request label Aug 28, 2023
@CoolLoong
Copy link

very cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] New Feature | 新特性 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants