-
Notifications
You must be signed in to change notification settings - Fork 140
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
Double Stream utils #37
Conversation
I would expect mojang to add this officially during the 1.17 update. Mojang currently has a utility class that holds these potential additions. |
I recall this implementation is a bit different from what is in the current minecraft snapshot codebase. Be cautious when migrating. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out there doesn't seem to be any discrepancy.
Thanks for checking :) |
We will not be taking this PR in at this time; functionality of the double stream codec should be covered with |
This PR adds a util in
DynamicOps
allowing for aDoubleStream
to be created from an input, and a util for a list to be created from aDoubleStream
. These are direct copies of the existing variants for long and int streams.