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

Crafting #141

Open
Gjum opened this issue May 25, 2023 · 0 comments
Open

Crafting #141

Gjum opened this issue May 25, 2023 · 0 comments

Comments

@Gjum
Copy link
Collaborator

Gjum commented May 25, 2023

  • remember recipes declared by the server: <https://wiki.vg/index.php?title=Protocol&oldid=17499#Declare_Recipes
  • look up recipes matching an output item
  • #craft(recipe, times=1) moves items into the crafting slots and takes out the result
  • fail if the recipe doesn't fit in the crafting grid (3x3 recipe in 2x2 grid in player window), or there is no crafting grid in the current window
  • fail if not enough items available
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