net.minecraft.server.level

public record ChunkResult$Fail<T>

implements ChunkResult<T>

arn$a
net.minecraft.server.level.ChunkResult$Fail
net.minecraft.class_9259$class_9260
net.minecraft.server.world.OptionalChunk$LoadFailure
net.minecraft.server.level.ChunkResult$a

Field summary

Modifier and TypeField
private final Supplier<String>
a
error
comp_2367
error

Constructor summary

ModifierConstructor
public (Supplier<String> arg0)

Method summary

Modifier and TypeMethod
public boolean
a()
isSuccess()
method_57122()
isPresent()
public T
b(T arg0)
orElse(T arg0)
method_57130(T arg0)
orElse(T arg0)
public String
b()
getError()
method_57129()
getError()
public ChunkResult<T>
a(Consumer<T> arg0)
ifSuccess(Consumer<T> arg0)
method_57126(Consumer<T> arg0)
ifPresent(Consumer<T> arg0)
public <R> ChunkResult<R>
a(Function<T, R> arg0)
map(Function<T, R> arg0)
method_57127(Function<T, R> arg0)
map(Function<T, R> arg0)
public <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> arg0) throws E
public Supplier<String>
c()
error()
comp_2367()
error()