Package com.petrolpark.core.codec
Class RecordDecoderBuilder.Instance<O>
java.lang.Object
com.petrolpark.core.codec.RecordDecoderBuilder.Instance<O>
- All Implemented Interfaces:
com.mojang.datafixers.kinds.App<com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>,,RecordDecoderBuilder.Mu<O>> com.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>> com.mojang.datafixers.kinds.Functor<RecordDecoderBuilder.Mu<O>,,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>> com.mojang.datafixers.kinds.Kind1<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
- Enclosing class:
RecordDecoderBuilder<O,F>
public static final class RecordDecoderBuilder.Instance<O>
extends Object
implements com.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<A,B, R> com.mojang.datafixers.kinds.App <RecordDecoderBuilder.Mu<O>, R> ap2(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, BiFunction<A, B, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> a, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, B> b) <T1,T2, T3, R>
com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, R> ap3(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T1> t1, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T2> t2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T3> t3) <T1,T2, T3, T4, R>
com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, R> ap4(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T1> t1, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T2> t2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T3> t3, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T4> t4) <A> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> deprecated(A a, int since) <A,R> Function <com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A>, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, R>> lift1(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, Function<A, R>> function) <T,R> com.mojang.datafixers.kinds.App <RecordDecoderBuilder.Mu<O>, R> map(Function<? super T, ? extends R> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T> ts) <A> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> point(A a) <A> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> point(A a, com.mojang.serialization.Lifecycle lifecycle) <A> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> stable(A a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.datafixers.kinds.Applicative
ap, ap, ap10, ap11, ap12, ap13, ap14, ap15, ap16, ap5, ap6, ap7, ap8, ap9, apply2, apply3, apply4, apply5, apply6, apply7, apply8, apply9, lift2, lift3, lift4, lift5, lift6, lift7, lift8, lift9Methods inherited from interface com.mojang.datafixers.kinds.Kind1
group, group, group, group, group, group, group, group, group, group, group, group, group, group, group, group
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
stable
-
deprecated
-
point
public <A> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,A> point(A a, com.mojang.serialization.Lifecycle lifecycle) -
point
- Specified by:
pointin interfacecom.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
lift1
public <A,R> Function<com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,A>, lift1com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, R>> (com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, Function<A, R>> function) - Specified by:
lift1in interfacecom.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
ap2
public <A,B, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,R> R> ap2(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, BiFunction<A, B, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, A> a, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, B> b) - Specified by:
ap2in interfacecom.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
ap3
public <T1,T2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,T3, R> R> ap3(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, com.mojang.datafixers.util.Function3<T1, T2, T3, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T1> t1, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T2> t2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T3> t3) - Specified by:
ap3in interfacecom.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
ap4
public <T1,T2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,T3, T4, R> R> ap4(com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, R>> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T1> t1, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T2> t2, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T3> t3, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T4> t4) - Specified by:
ap4in interfacecom.mojang.datafixers.kinds.Applicative<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-
map
public <T,R> com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>,R> map(Function<? super T, ? extends R> func, com.mojang.datafixers.kinds.App<RecordDecoderBuilder.Mu<O>, T> ts) - Specified by:
mapin interfacecom.mojang.datafixers.kinds.Functor<RecordDecoderBuilder.Mu<O>,com.petrolpark.core.codec.RecordDecoderBuilder.Instance.Mu<O>>
-