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

Add Shaped and Unshaped crafting support, as well as deserializing the entire recipe format #165

Merged
merged 22 commits into from
Nov 12, 2024

Conversation

Bryntet
Copy link
Contributor

@Bryntet Bryntet commented Oct 21, 2024

This PR aims to add deserialization of the minecraft Recipe format. It also adds support for the Shaped and Unshaped crafting forms, accessible from a craftingtable (/craft)

@Bryntet Bryntet force-pushed the registry-updates branch 2 times, most recently from ff638cf to 4fe7e17 Compare October 21, 2024 12:25
@Bryntet Bryntet marked this pull request as ready for review October 21, 2024 12:38
@Snowiiii
Copy link
Owner

Please port the recipies to 1.21.2

@Snowiiii
Copy link
Owner

Hi @Bryntet. Just wanted to say that 1. I really don't like the approche of having 1000 recipie files. 2. Im currently making an own extractor (see branch), Which can produce all recipes in one json file, With everything we need

@Bryntet
Copy link
Contributor Author

Bryntet commented Oct 26, 2024

Yes sounds good! I will use the extractor :)

@Bryntet Bryntet force-pushed the registry-updates branch 4 times, most recently from d429bd5 to 86f62dd Compare October 29, 2024 18:52
@Bryntet Bryntet force-pushed the registry-updates branch 2 times, most recently from 332de47 to 134830c Compare November 9, 2024 13:05
@Bryntet Bryntet changed the title Add some missing registries, and preliminary crafting support Add Shaped and Unshaped crafting support, as well as deserializing the entire recipe format Nov 9, 2024
@Bryntet Bryntet force-pushed the registry-updates branch 2 times, most recently from 69128a8 to f60bee9 Compare November 11, 2024 15:01
@Bryntet
Copy link
Contributor Author

Bryntet commented Nov 11, 2024

Ready for review.

Couple of issues left:

Dragging/shift-clicking is currently disabled in all crafting input/output slots

items are kept currently in container even when closing it.

Cargo.toml Outdated Show resolved Hide resolved
@Snowiiii
Copy link
Owner

LGTM.
Thanks @Bryntet

@Snowiiii Snowiiii merged commit 8cde02e into Snowiiii:master Nov 12, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants