Uses of Record Class
com.mojang.datafixers.TypedOptic
Packages that use TypedOptic
Package
Description
-
Uses of TypedOptic in com.mojang.datafixers
Methods in com.mojang.datafixers that return TypedOpticModifier and TypeMethodDescriptionstatic <S,T> TypedOptic <S, T, S, T> TypedOptic<?, ?, A, B> FamilyOptic.apply(int index) private <V> TypedOptic<Pair<FT, V>, ?, FT, FT> TypedOptic<S, T, A, B> <S2,T2> TypedOptic <S2, T2, A, B> TypedOptic.castOuterUnchecked(Type<S2> sType, Type<T2> tType) <A1,B1> TypedOptic <S, T, A1, B1> TypedOptic.compose(TypedOptic<A, B, A1, B1> other) static <K,V, V2> TypedOptic <List<Pair<K, V>>, List<Pair<K, V2>>, V, V2> TypedOptic.compoundListElements(Type<K> keyType, Type<V> aType, Type<V2> bType) static <K,V, K2> TypedOptic <List<Pair<K, V>>, List<Pair<K2, V>>, K, K2> TypedOptic.compoundListKeys(Type<K> aType, Type<K2> bType, Type<V> valueType) static <F,G, F2> TypedOptic <Either<F, G>, Either<F2, G>, F, F2> static <F,G, G2> TypedOptic <Either<F, G>, Either<F, G2>, G, G2> static <A,B> TypedOptic <List<A>, List<B>, A, B> static <F,G, F2> TypedOptic <Pair<F, G>, Pair<F2, G>, F, F2> static <F,G, G2> TypedOptic <Pair<F, G>, Pair<F, G2>, G, G2> static <K,A, B> TypedOptic <Pair<K, ?>, Pair<K, ?>, A, B> TypedOptic.tagged(TaggedChoice.TaggedChoiceType<K> sType, K key, Type<A> aType, Type<B> bType) Methods in com.mojang.datafixers that return types with arguments of type TypedOpticModifier and TypeMethodDescription<A,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> <A,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> default <A> Either<TypedOptic<A, ?, FT, FT>, Type.FieldNotFoundException> <A,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> <S> Either<TypedOptic<S, ?, FT, FR>, Type.FieldNotFoundException> <S> Either<TypedOptic<S, ?, FT, FR>, Type.FieldNotFoundException> Methods in com.mojang.datafixers with parameters of type TypedOpticModifier and TypeMethodDescription<A1,B1> TypedOptic <S, T, A1, B1> TypedOptic.compose(TypedOptic<A, B, A1, B1> other) <FT> List<FT> Typed.getAll(TypedOptic<A, ?, FT, ?> field) private <B,FT, FR> Typed <B> Typed.setCap(TypedOptic<A, B, FT, FR> field, Typed<FR> newValue) private <B,FT, FR> Typed <B> Typed.updateCap(TypedOptic<A, B, FT, FR> field, Function<FT, FR> updater) -
Uses of TypedOptic in com.mojang.datafixers.functions
Fields in com.mojang.datafixers.functions declared as TypedOpticMethods in com.mojang.datafixers.functions with parameters of type TypedOpticModifier and TypeMethodDescriptionprivate <R,A, B, S, T>
PointFree<R> PointFreeRule.LensComp.capApp(TypedOptic<S, T, A, B> optic, PointFree<?> f) Functions.profunctorTransformer(TypedOptic<S, T, A, B> lens) Constructors in com.mojang.datafixers.functions with parameters of type TypedOptic -
Uses of TypedOptic in com.mojang.datafixers.types
Methods in com.mojang.datafixers.types that return types with arguments of type TypedOpticModifier and TypeMethodDescription<FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Type.findType(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Type.findTypeCached(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Type.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <S> Either<TypedOptic<S, ?, FT, FR>, Type.FieldNotFoundException> Methods in com.mojang.datafixers.types with parameters of type TypedOpticModifier and TypeMethodDescriptionstatic <S,T, A, B> RewriteResult <S, T> Type.opticView(Type<S> type, RewriteResult<A, B> view, TypedOptic<S, T, A, B> optic) -
Uses of TypedOptic in com.mojang.datafixers.types.families
Methods in com.mojang.datafixers.types.families that return types with arguments of type TypedOpticModifier and TypeMethodDescription<A,B> Either <TypedOptic<?, ?, A, B>, Type.FieldNotFoundException> RecursiveTypeFamily.findType(int index, Type<A> aType, Type<B> bType, Type.TypeMatcher<A, B> matcher, boolean recurse) private <S,T, A, B> Either <TypedOptic<?, ?, A, B>, Type.FieldNotFoundException> RecursiveTypeFamily.mkSimpleOptic(RecursivePoint.RecursivePointType<S> sType, RecursivePoint.RecursivePointType<T> tType, Type<A> aType, Type<B> bType, Type.TypeMatcher<A, B> matcher) Method parameters in com.mojang.datafixers.types.families with type arguments of type TypedOpticModifier and TypeMethodDescriptionstatic <A,B> FamilyOptic <A, B> TypeFamily.familyOptic(IntFunction<TypedOptic<?, ?, A, B>> optics) -
Uses of TypedOptic in com.mojang.datafixers.types.templates
Methods in com.mojang.datafixers.types.templates that return TypedOpticModifier and TypeMethodDescriptionprivate <S,T, A, B> TypedOptic <?, ?, A, B> CompoundList.cap(TypedOptic<S, T, A, B> concreteOptic) private <S,T, A, B> TypedOptic <?, ?, A, B> List.cap(TypedOptic<S, T, A, B> concreteOptic) private <A,B, LS, RS, LT, RT>
TypedOptic<?, ?, A, B> Product.cap(FamilyOptic<A, B> lo, FamilyOptic<A, B> ro, int index) private <A,B, LS, RS, LT, RT>
TypedOptic<?, ?, A, B> Sum.cap(FamilyOptic<A, B> lo, FamilyOptic<A, B> ro, int index) private <S,T, FT, FR>
TypedOptic<Pair<K, ?>, Pair<K, ?>, FT, FR> TaggedChoice.TaggedChoiceType.cap(TaggedChoice.TaggedChoiceType<K> choiceType, K key, TypedOptic<S, T, FT, FR> optic) private <FT,FR, B> TypedOptic <List<A>, ?, FT, FR> List.ListType.capLeft(TypedOptic<A, B, FT, FR> optic) private <FT,FR, F2> TypedOptic <Either<F, G>, ?, FT, FR> Sum.SumType.capLeft(TypedOptic<F, F2, FT, FR> optic) private <FT,V2, FR> TypedOptic <List<Pair<K, V>>, ?, FT, FR> CompoundList.CompoundListType.capRight(TypedOptic<V, V2, FT, FR> optic) private <FT,G2, FR> TypedOptic <Pair<F, G>, ?, FT, FR> Product.ProductType.capRight(TypedOptic<G, G2, FT, FR> optic) private <FT,FR, G2> TypedOptic <Either<F, G>, ?, FT, FR> Sum.SumType.capRight(TypedOptic<G, G2, FT, FR> optic) private <T,A, B> TypedOptic <T, T, A, B> Const.makeIgnoreOptic(Type<T> type, Type<A> aType, Type<B> bType) private static <A,B, LS, RS, LT, RT>
TypedOptic<Either<LS, RS>, Either<LT, RT>, A, B> Sum.SumType.mergeOptics(TypedOptic<LS, LT, A, B> lo, TypedOptic<RS, RT, A, B> ro) protected static <A,B, FT, FR>
TypedOptic<A, B, FT, FR> Check.CheckType.wrapOptic(Check.CheckType<A> type, TypedOptic<A, B, FT, FR> optic) protected static <A,B, FT, FR>
TypedOptic<A, B, FT, FR> Hook.HookType.wrapOptic(TypedOptic<A, B, FT, FR> optic, Hook.HookFunction preRead, Hook.HookFunction postWrite) protected static <A,B, FT, FR>
TypedOptic<Pair<String, A>, Pair<String, B>, FT, FR> Named.NamedType.wrapOptic(String name, TypedOptic<A, B, FT, FR> optic) private <B,FT, FR> TypedOptic <A, B, FT, FR> Tag.TagType.wrapOptic(TypedOptic<A, B, FT, FR> optic) Methods in com.mojang.datafixers.types.templates that return types with arguments of type TypedOpticModifier and TypeMethodDescriptionprivate <FT,K2, FR> Either <TypedOptic<List<Pair<K, V>>, ?, FT, FR>, Type.FieldNotFoundException> CompoundList.CompoundListType.capLeft(TypedOptic<K, K2, FT, FR> optic) private <FT,F2, FR> Either <TypedOptic<Pair<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Product.ProductType.capLeft(TypedOptic<F, F2, FT, FR> optic) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Check.CheckType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<List<Pair<K, V>>, ?, FT, FR>, Type.FieldNotFoundException> CompoundList.CompoundListType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Hook.HookType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<List<A>, ?, FT, FR>, Type.FieldNotFoundException> List.ListType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<String, A>, ?, FT, FR>, Type.FieldNotFoundException> Named.NamedType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Product.ProductType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> RecursivePoint.RecursivePointType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Either<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Sum.SumType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> Tag.TagType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<K, ?>, ?, FT, FR>, Type.FieldNotFoundException> TaggedChoice.TaggedChoiceType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) Methods in com.mojang.datafixers.types.templates with parameters of type TypedOpticModifier and TypeMethodDescriptionprivate <S,T, A, B> TypedOptic <?, ?, A, B> CompoundList.cap(TypedOptic<S, T, A, B> concreteOptic) private <S,T, A, B> TypedOptic <?, ?, A, B> List.cap(TypedOptic<S, T, A, B> concreteOptic) private <S,T, FT, FR>
TypedOptic<Pair<K, ?>, Pair<K, ?>, FT, FR> TaggedChoice.TaggedChoiceType.cap(TaggedChoice.TaggedChoiceType<K> choiceType, K key, TypedOptic<S, T, FT, FR> optic) private <FT,K2, FR> Either <TypedOptic<List<Pair<K, V>>, ?, FT, FR>, Type.FieldNotFoundException> CompoundList.CompoundListType.capLeft(TypedOptic<K, K2, FT, FR> optic) private <FT,FR, B> TypedOptic <List<A>, ?, FT, FR> List.ListType.capLeft(TypedOptic<A, B, FT, FR> optic) private <FT,F2, FR> Either <TypedOptic<Pair<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Product.ProductType.capLeft(TypedOptic<F, F2, FT, FR> optic) private <FT,FR, F2> TypedOptic <Either<F, G>, ?, FT, FR> Sum.SumType.capLeft(TypedOptic<F, F2, FT, FR> optic) private <FT,V2, FR> TypedOptic <List<Pair<K, V>>, ?, FT, FR> CompoundList.CompoundListType.capRight(TypedOptic<V, V2, FT, FR> optic) private <FT,G2, FR> TypedOptic <Pair<F, G>, ?, FT, FR> Product.ProductType.capRight(TypedOptic<G, G2, FT, FR> optic) private <FT,FR, G2> TypedOptic <Either<F, G>, ?, FT, FR> Sum.SumType.capRight(TypedOptic<G, G2, FT, FR> optic) private static <A,B, LS, RS, LT, RT>
TypedOptic<Either<LS, RS>, Either<LT, RT>, A, B> Sum.SumType.mergeOptics(TypedOptic<LS, LT, A, B> lo, TypedOptic<RS, RT, A, B> ro) protected static <A,B, FT, FR>
TypedOptic<A, B, FT, FR> Check.CheckType.wrapOptic(Check.CheckType<A> type, TypedOptic<A, B, FT, FR> optic) protected static <A,B, FT, FR>
TypedOptic<A, B, FT, FR> Hook.HookType.wrapOptic(TypedOptic<A, B, FT, FR> optic, Hook.HookFunction preRead, Hook.HookFunction postWrite) protected static <A,B, FT, FR>
TypedOptic<Pair<String, A>, Pair<String, B>, FT, FR> Named.NamedType.wrapOptic(String name, TypedOptic<A, B, FT, FR> optic) private <B,FT, FR> TypedOptic <A, B, FT, FR> Tag.TagType.wrapOptic(TypedOptic<A, B, FT, FR> optic)