Package com.mojang.datafixers
Interface OpticFinder<FT>
- All Known Implementing Classes:
FieldFinder
public interface OpticFinder<FT>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <A> Either<TypedOptic<A,
?, FT, FT>, Type.FieldNotFoundException> <A,
FR> Either<TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> default <GT> OpticFinder<FT>
type()
-
Method Details
-
type
-
findType
<A,FR> Either<TypedOptic<A,?, findTypeFT, FR>, Type.FieldNotFoundException> (Type<A> containerType, Type<FR> resultType, boolean recurse) -
findType
default <A> Either<TypedOptic<A,?, findTypeFT, FT>, Type.FieldNotFoundException> (Type<A> containerType, boolean recurse) -
inField
-