Closed Gegy closed 3 years ago
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.
Thanks for checking :)
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)
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.