net.minecraft.server.level

public record ChunkResult$Success<T>

implements ChunkResult<T>

aqj$b
net.minecraft.server.level.ChunkResult$Success
net.minecraft.class_9259$class_9261
net.minecraft.server.world.OptionalChunk$ActualChunk
net.minecraft.server.level.ChunkResult$b

Field summary

Modifier and TypeField
private final T
a
value
comp_2368
value

Constructor summary

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