net.minecraft.server.level

public interface ChunkResult<T>

arn
net.minecraft.server.level.ChunkResult
net.minecraft.class_9259
net.minecraft.server.world.OptionalChunk
net.minecraft.server.level.ChunkResult

Method summary

Modifier and TypeMethod
static <T> ChunkResult<T>
a(T arg0)
of(T arg0)
method_57124(T arg0)
of(T chunk)
static <T> ChunkResult<T>
a(String arg0)
error(String arg0)
method_57125(String arg0)
of(String error)
static <T> ChunkResult<T>
a(Supplier<String> arg0)
error(Supplier<String> arg0)
method_57128(Supplier<String> arg0)
of(Supplier<String> error)
boolean
a()
isSuccess()
method_57122()
isPresent()
T
b(T arg0)
orElse(T arg0)
method_57130(T arg0)
orElse(T other)
static <R> R
a(arn<? extends R> arg0, R arg1)
orElse(ChunkResult<? extends R> arg0, R arg1)
method_57123(class_9259<? extends R> arg0, R arg1)
orElse(OptionalChunk<? extends R> optionalChunk, R other)
String
b()
getError()
method_57129()
getError()
ChunkResult<T>
a(Consumer<T> arg0)
ifSuccess(Consumer<T> arg0)
method_57126(Consumer<T> arg0)
ifPresent(Consumer<T> callback)
<R> ChunkResult<R>
a(Function<T, R> arg0)
map(Function<T, R> arg0)
method_57127(Function<T, R> arg0)
map(Function<T, R> mapper)
<E extends Throwable> T
b(Supplier<E> arg0) throws E
orElseThrow(Supplier<E> arg0) throws E
method_57132(Supplier<E> arg0) throws E
orElseThrow(Supplier<E> exceptionSupplier) throws E