Class RecursivePoint.RecursivePointType<A>
java.lang.Object
com.mojang.datafixers.types.Type<A>
com.mojang.datafixers.types.templates.RecursivePoint.RecursivePointType<A>
- Enclosing class:
- RecursivePoint
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mojang.datafixers.types.Type
Type.Continue, Type.FieldNotFoundException, Type.Mu, Type.TypeError, Type.TypeMatcher<FT,
FR> -
Constructor Summary
ConstructorDescriptionRecursivePointType
(RecursiveTypeFamily family, int index, Supplier<Type<A>> delegate) -
Method Summary
Modifier and TypeMethodDescriptionRewriteResult<A,
?> all
(TypeRewriteRule rule, boolean recurse, boolean checkIndex) boolean
Optional<RewriteResult<A,
?>> everywhere
(TypeRewriteRule rule, PointFreeRule optimizationRule, boolean recurse, boolean checkIndex) family()
findCheckedType
(int index) findChoiceType
(String name, int index) findFieldTypeOpt
(String name) <FT,
FR> Either<TypedOptic<A, ?, FT, FR>, Type.FieldNotFoundException> findTypeInChildren
(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) int
hashCode()
in()
int
index()
Optional<RewriteResult<A,
?>> one
(TypeRewriteRule rule) out()
point
(DynamicOps<?> ops) toString()
unfold()
Type<?>
updateMu
(RecursiveTypeFamily newFamily) Methods inherited from class com.mojang.datafixers.types.Type
codec, equals, finder, findField, findFieldType, findType, findTypeCached, getSetType, ifSame, ifSame, ifSame, opticView, pointTyped, read, read, readAndWrite, readTyped, readTyped, rewrite, rewriteOrNop, template, unbox, write, writeDynamic
-
Constructor Details
-
RecursivePointType
-
-
Method Details
-
family
-
index
public int index() -
unfold
-
buildCodec
- Specified by:
buildCodec
in classType<A>
- Mojang-Added Docs:
needs to be lazy
-
all
-
one
-
everywhere
public Optional<RewriteResult<A,?>> everywhere(TypeRewriteRule rule, PointFreeRule optimizationRule, boolean recurse, boolean checkIndex) - Overrides:
everywhere
in classType<A>
-
updateMu
-
buildTemplate
- Specified by:
buildTemplate
in classType<A>
-
findChoiceType
- Overrides:
findChoiceType
in classType<A>
-
findCheckedType
- Overrides:
findCheckedType
in classType<A>
-
findFieldTypeOpt
- Overrides:
findFieldTypeOpt
in classType<A>
-
point
-
findTypeInChildren
public <FT,FR> Either<TypedOptic<A,?, findTypeInChildrenFT, FR>, Type.FieldNotFoundException> (Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) - Overrides:
findTypeInChildren
in classType<A>
-
toString
-
equals
-
hashCode
public int hashCode() -
in
-
out
-