Uses of Record Class
com.mojang.serialization.DataResult.Error
Packages that use DataResult.Error
-
Uses of DataResult.Error in com.mojang.serialization
Methods in com.mojang.serialization that return DataResult.ErrorModifier and TypeMethodDescription<R2> DataResult.Error<R2> DataResult.Error.ap(DataResult<Function<R, R2>> functionResult) <R2> DataResult.Error<R2> DataResult.Error.flatMap(Function<? super R, ? extends DataResult<R2>> function) <T> DataResult.Error<T> DataResult.Error.mapError(UnaryOperator<String> function) DataResult.Error.setLifecycle(Lifecycle lifecycle) DataResult.Error.setPartial(Supplier<R> partial) DataResult.Error.setPartial(R partial) Methods in com.mojang.serialization that return types with arguments of type DataResult.ErrorModifier and TypeMethodDescriptionDataResult.error()DataResult.Error.error()DataResult.Success.error()Method parameters in com.mojang.serialization with type arguments of type DataResult.ErrorModifier and TypeMethodDescriptionDataResult.Error.ifError(Consumer<? super DataResult.Error<R>> ifError) DataResult.ifError(Consumer<? super DataResult.Error<R>> ifError) DataResult.Success.ifError(Consumer<? super DataResult.Error<R>> ifError) -
Uses of DataResult.Error in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as DataResult.ErrorModifier and TypeFieldDescriptionprivate final DataResult.Error<?> TagValueInput.DecodeFromFieldFailedProblem.errorThe field for theerrorrecord component.private final DataResult.Error<?> TagValueInput.DecodeFromListFailedProblem.errorThe field for theerrorrecord component.private final DataResult.Error<?> TagValueInput.DecodeFromMapFailedProblem.errorThe field for theerrorrecord component.private final DataResult.Error<?> TagValueOutput.EncodeToFieldFailedProblem.errorThe field for theerrorrecord component.private final DataResult.Error<?> TagValueOutput.EncodeToListFailedProblem.errorThe field for theerrorrecord component.private final DataResult.Error<?> TagValueOutput.EncodeToMapFailedProblem.errorThe field for theerrorrecord component.Methods in net.minecraft.world.level.storage that return DataResult.ErrorModifier and TypeMethodDescriptionTagValueInput.DecodeFromFieldFailedProblem.error()Returns the value of theerrorrecord component.TagValueInput.DecodeFromListFailedProblem.error()Returns the value of theerrorrecord component.TagValueInput.DecodeFromMapFailedProblem.error()Returns the value of theerrorrecord component.TagValueOutput.EncodeToFieldFailedProblem.error()Returns the value of theerrorrecord component.TagValueOutput.EncodeToListFailedProblem.error()Returns the value of theerrorrecord component.TagValueOutput.EncodeToMapFailedProblem.error()Returns the value of theerrorrecord component.Methods in net.minecraft.world.level.storage with parameters of type DataResult.ErrorModifier and TypeMethodDescriptionprivate voidTagValueInput.TypedListWrapper.reportIndexUnwrapProblem(int index, Tag value, DataResult.Error<?> error) Constructors in net.minecraft.world.level.storage with parameters of type DataResult.ErrorModifierConstructorDescriptionDecodeFromFieldFailedProblem(String name, Tag tag, DataResult.Error<?> error) Creates an instance of aDecodeFromFieldFailedProblemrecord class.DecodeFromListFailedProblem(String name, int index, Tag tag, DataResult.Error<?> error) Creates an instance of aDecodeFromListFailedProblemrecord class.DecodeFromMapFailedProblem(DataResult.Error<?> error) Creates an instance of aDecodeFromMapFailedProblemrecord class.EncodeToFieldFailedProblem(String name, Object value, DataResult.Error<?> error) Creates an instance of aEncodeToFieldFailedProblemrecord class.EncodeToListFailedProblem(String name, Object value, DataResult.Error<?> error) Creates an instance of aEncodeToListFailedProblemrecord class.EncodeToMapFailedProblem(Object value, DataResult.Error<?> error) Creates an instance of aEncodeToMapFailedProblemrecord class.