8000 Fix soy bottle duplication by uecasm · Pull Request #10869 · ldtteam/minecolonies · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix soy bottle duplication #10869

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

Merged
merged 5 commits into from
May 19, 2025
Merged

Fix soy bottle duplication #10869

merged 5 commits into from
May 19, 2025

Conversation

uecasm
Copy link
Contributor
@uecasm uecasm commented May 15, 2025

Closes #10863

Changes proposed in this pull request

  • Fixes duplication of empty bottle when crafting soy milk.
  • Adds some simple player recipes to transfer water/milk from buckets to large bottles.
  • Fixes (unrelated) crash in NBT datagen due to spawn eggs.

Testing

  • Yes I tested this before submitting it.
  • I also did a multiplayer test.

Review please (do not port; will need changes)

}

@Override
public void toNetwork(@NotNull final FriendlyByteBuf buf,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That feels like a lot of methods, do we need all of them? I thought this should be more of a straightforward copy of shapeless with only the remainingitems changing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's exactly what it is. Though I lumped the Builder in there too, whereas with Shapeless it's in a separate file.

Pretty sure it will get shorter in 1.21, where a lot of this will be codecs instead, but I haven't looked closely at that yet.

Raycoms
Raycoms previously approved these changes May 16, 2025
someaddons
someaddons previously approved these changes May 18, 2025
@Raycoms Raycoms merged commit 9487505 into version/main May 19, 2025
5 checks passed
@Raycoms Raycoms deleted the fix/soy-bottle branch May 19, 2025 08:47
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.

Making soy milks results in an extra bottle
3 participants
0