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

Double Stream utils #37

Closed
wants to merge 1 commit into from
Closed

Double Stream utils #37

wants to merge 1 commit into from

Conversation

Gegy
Copy link
Member

@Gegy Gegy commented Dec 15, 2018

This PR adds a util in DynamicOps allowing for a DoubleStream to be created from an input, and a util for a list to be created from a DoubleStream. These are direct copies of the existing variants for long and int streams.

@msftclas
Copy link

msftclas commented Dec 15, 2018

CLA assistant check
All CLA requirements met.

LemmaEOF
LemmaEOF previously approved these changes May 17, 2020
hYdos
hYdos previously approved these changes Jan 13, 2021
@Gegy Gegy dismissed stale reviews from hYdos and LemmaEOF via 4dbb9f2 January 20, 2021 06:14
@liach
Copy link
Contributor

liach commented Mar 12, 2021

I would expect mojang to add this officially during the 1.17 update. Mojang currently has a utility class that holds these potential additions.

@liach
Copy link
Contributor

liach commented Mar 18, 2021

I recall this implementation is a bit different from what is in the current minecraft snapshot codebase. Be cautious when migrating.

Copy link
Contributor

@liach liach left a 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.

@slicedlime
Copy link
Member

Thanks for checking :)

liach referenced this pull request in FabricMC/yarn Mar 31, 2021
@RainWarrior
Copy link
Contributor

We will not be taking this PR in at this time; functionality of the double stream codec should be covered with Codec.Double.listOf() at the moment, and we will figure out the plan for primitives at a later point (#58)

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.

8 participants