net.minecraft.server.level

public record ChunkResult$Success<T>

implements ChunkResult<T>

aqc$b
net.minecraft.server.level.ChunkResult$Success
net.minecraft.class_9259$class_9261
net.minecraft.server.world.OptionalChunk$ActualChunk
net.minecraft.src.C_313292_$C_313682_
net.minecraft.server.level.ChunkResult$b

Field summary

Modifier and TypeField
private final T
a
value
comp_2368
value
f_314875_

Constructor summary

ModifierConstructor
public (T 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 T
c()
value()
comp_2368()
value()
f_314875_()