net.minecraft.server.level

public record ChunkResult$Fail<T>

implements ChunkResult<T>

aqc$a
net.minecraft.server.level.ChunkResult$Fail
net.minecraft.class_9259$class_9260
net.minecraft.server.world.OptionalChunk$LoadFailure
net.minecraft.src.C_313292_$C_313601_
net.minecraft.server.level.ChunkResult$a

Field summary

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

Constructor summary

ModifierConstructor
public (Supplier<String> arg0)

Method summary

Modifier and TypeMethod
public boolean
a()
isSuccess()
method_57122()
isPresent()
m_321137_()
public T
b(T arg0)
orElse(T arg0)
method_57130(T arg0)
orElse(T arg0)
m_318814_(T arg0)
public String
b()
getError()
method_57129()
getError()
m_321629_()
public ChunkResult<T>
a(Consumer<T> arg0)
ifSuccess(Consumer<T> arg0)
method_57126(Consumer<T> arg0)
ifPresent(Consumer<T> arg0)
m_320477_(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)
m_320014_(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
m_319590_(Supplier<E> arg0) throws E
public Supplier<String>
c()
error()
comp_2367()
error()
f_314236_()