Class Typed<A>
java.lang.Object
com.mojang.datafixers.Typed<A>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<FT> FTget(OpticFinder<FT> optic) <FT> List<FT> getAll(TypedOptic<A, ?, FT, ?> field) getAllTyped(OpticFinder<FT> optic) DynamicOps<?> getOps()<FT> Optional<FT> getOptional(OpticFinder<FT> optic) getOptionalTyped(OpticFinder<FT> optic) <FT> FTgetOrCreate(OpticFinder<FT> optic) <FT> Typed<FT> getOrCreateTyped(OpticFinder<FT> optic) <FT> FTgetOrDefault(OpticFinder<FT> optic, FT def) getType()<FT> Typed<FT> getTyped(OpticFinder<FT> optic) getValue()out()<FT,FR> Typed <?> set(OpticFinder<FT> optic, Typed<FR> newValue) <FT,FR> Typed <?> set(OpticFinder<FT> optic, Type<FR> newType, FR newValue) <FT> Typed<?> set(OpticFinder<FT> optic, FT newValue) private <B,FT, FR> Typed <B> setCap(TypedOptic<A, B, FT, FR> field, Typed<FR> newValue) toString()<FT,FR> Typed <?> update(OpticFinder<FT> optic, Type<FR> newType, Function<FT, FR> updater) <FT> Typed<?> update(OpticFinder<FT> optic, Function<FT, FT> updater) private <B,FT, FR> Typed <B> updateCap(TypedOptic<A, B, FT, FR> field, Function<FT, FR> updater) <FT,FR> Typed <?> updateRecursive(OpticFinder<FT> optic, Type<FR> newType, Function<FT, FR> updater) <FT> Typed<?> updateRecursive(OpticFinder<FT> optic, Function<FT, FT> updater) <FT,FR> Typed <?> updateRecursiveTyped(OpticFinder<FT> optic, Type<FR> newType, Function<Typed<?>, Typed<?>> updater) <FT> Typed<?> updateRecursiveTyped(OpticFinder<FT> optic, Function<Typed<?>, Typed<?>> updater) <FT,FR> Typed <?> updateTyped(OpticFinder<FT> optic, Type<FR> newType, Function<Typed<?>, Typed<?>> updater) <FT> Typed<?> updateTyped(OpticFinder<FT> optic, Function<Typed<?>, Typed<?>> updater) DataResult<? extends Dynamic<?>> write()
-
Field Details
-
type
-
ops
-
value
-
-
Constructor Details
-
Typed
-
-
Method Details
-
toString
-
get
-
getTyped
-
getOptional
-
getOrCreate
-
getOrDefault
-
getOptionalTyped
-
getOrCreateTyped
-
set
-
set
-
set
-
setCap
-
updateTyped
-
updateTyped
-
update
-
update
-
updateRecursiveTyped
public <FT> Typed<?> updateRecursiveTyped(OpticFinder<FT> optic, Function<Typed<?>, Typed<?>> updater) -
updateRecursiveTyped
-
updateRecursive
-
updateRecursive
public <FT,FR> Typed<?> updateRecursive(OpticFinder<FT> optic, Type<FR> newType, Function<FT, FR> updater) -
updateCap
-
getAllTyped
-
getAll
-
out
-
inj1
-
inj2
-
pair
-
getType
-
getOps
-
getValue
-
write
-