net.minecraft.server.level

public interface ChunkResult<T>

arn
net.minecraft.server.level.ChunkResult
net.minecraft.class_9259
net.minecraft.unmapped.C_byseqigh
net.minecraft.server.world.OptionalChunk
net.minecraft.unmapped.C_byseqigh
net.minecraft.src.C_313292_
net.minecraft.server.level.ChunkResult

Method summary

Modifier and TypeMethod
static <T> ChunkResult<T>
a(T arg0)
of(T arg0)
method_57124(T arg0)
m_pcmiphzo(T arg0)
of(T chunk)
m_pcmiphzo(T value)
m_323605_(T p_333970_)
static <T> ChunkResult<T>
a(String arg0)
error(String arg0)
method_57125(String arg0)
m_fhpzcsic(String arg0)
of(String error)
m_322259_(String p_331314_)
static <T> ChunkResult<T>
a(Supplier<String> arg0)
error(Supplier<String> arg0)
method_57128(Supplier<String> arg0)
m_vtxvwpec(Supplier<String> arg0)
of(Supplier<String> error)
m_vtxvwpec(Supplier<String> error)
m_324523_(Supplier<String> p_331628_)
boolean
a()
isSuccess()
method_57122()
m_esaaoxke()
isPresent()
m_321137_()
T
b(T arg0)
orElse(T arg0)
method_57130(T arg0)
m_ofnflttf(T arg0)
orElse(T other)
m_318814_(T arg0)
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)
m_rvleahub(C_byseqigh<? extends R> arg0, R arg1)
orElse(OptionalChunk<? extends R> optionalChunk, R other)
m_319813_(C_313292_<? extends R> p_331028_, R p_331551_)
String
b()
getError()
method_57129()
m_punqplxx()
getError()
m_321629_()
ChunkResult<T>
a(Consumer<T> arg0)
ifSuccess(Consumer<T> arg0)
method_57126(Consumer<T> arg0)
m_ziizwptf(Consumer<T> arg0)
ifPresent(Consumer<T> callback)
m_320477_(Consumer<T> arg0)
<R> ChunkResult<R>
a(Function<T, R> arg0)
map(Function<T, R> arg0)
method_57127(Function<T, R> arg0)
m_spfkcwkc(Function<T, R> arg0)
map(Function<T, R> mapper)
m_320014_(Function<T, R> arg0)
<E extends Throwable> T
b(Supplier<E> arg0) throws E
orElseThrow(Supplier<E> arg0) throws E
method_57132(Supplier<E> arg0) throws E
m_ehmryhmp(Supplier<E> arg0) throws E
orElseThrow(Supplier<E> exceptionSupplier) throws E
m_319590_(Supplier<E> arg0) throws E