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

Implement crafting #470

Open
Tides opened this issue Jan 2, 2025 · 0 comments
Open

Implement crafting #470

Tides opened this issue Jan 2, 2025 · 0 comments

Comments

@Tides
Copy link
Member

Tides commented Jan 2, 2025

With 1.21.4, the way recipes are sent/handled has changed, instead of being sent to the client. its now only handled on the server and not sent to the client, with the UpdateRecipesPacket only being used to define which items can go in which crafting inputs. You'll have to read the slots sent from the ContainerClick event and return a result if its a valid recipe

We probably won't need to use UpdateRecipes for now, but if you want more info, Update Recipes Packet is not fully complete yet, so you'll have to look at the source to understand the packet more.

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