Package net.minecraft.server.world
Interface OptionalChunk<T>
- All Known Implementing Classes:
OptionalChunk.ActualChunk
,OptionalChunk.LoadFailure
public interface OptionalChunk<T>
- Mappings:
Namespace Name named net/minecraft/server/world/OptionalChunk
intermediary net/minecraft/class_9259
official aqp
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
boolean
<R> OptionalChunk
<R> static <T> OptionalChunk
<T> static <T> OptionalChunk
<T> static <T> OptionalChunk
<T> of
(T chunk) static <R> R
orElse
(OptionalChunk<? extends R> optionalChunk, R other) orElseThrow
(Supplier<E> exceptionSupplier)
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/server/world/OptionalChunk;of(Ljava/lang/Object;)Lnet/minecraft/server/world/OptionalChunk;
intermediary method_57124
Lnet/minecraft/class_9259;method_57124(Ljava/lang/Object;)Lnet/minecraft/class_9259;
official a
Laqp;a(Ljava/lang/Object;)Laqp;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/server/world/OptionalChunk;of(Ljava/lang/String;)Lnet/minecraft/server/world/OptionalChunk;
intermediary method_57125
Lnet/minecraft/class_9259;method_57125(Ljava/lang/String;)Lnet/minecraft/class_9259;
official a
Laqp;a(Ljava/lang/String;)Laqp;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/server/world/OptionalChunk;of(Ljava/util/function/Supplier;)Lnet/minecraft/server/world/OptionalChunk;
intermediary method_57128
Lnet/minecraft/class_9259;method_57128(Ljava/util/function/Supplier;)Lnet/minecraft/class_9259;
official a
Laqp;a(Ljava/util/function/Supplier;)Laqp;
-
isPresent
boolean isPresent()- Mappings:
Namespace Name Mixin selector named isPresent
Lnet/minecraft/server/world/OptionalChunk;isPresent()Z
intermediary method_57122
Lnet/minecraft/class_9259;method_57122()Z
official a
Laqp;a()Z
-
orElse
- Mappings:
Namespace Name Mixin selector named orElse
Lnet/minecraft/server/world/OptionalChunk;orElse(Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_57130
Lnet/minecraft/class_9259;method_57130(Ljava/lang/Object;)Ljava/lang/Object;
official b
Laqp;b(Ljava/lang/Object;)Ljava/lang/Object;
-
orElse
- Mappings:
Namespace Name Mixin selector named orElse
Lnet/minecraft/server/world/OptionalChunk;orElse(Lnet/minecraft/server/world/OptionalChunk;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_57123
Lnet/minecraft/class_9259;method_57123(Lnet/minecraft/class_9259;Ljava/lang/Object;)Ljava/lang/Object;
official a
Laqp;a(Laqp;Ljava/lang/Object;)Ljava/lang/Object;
-
getError
- Mappings:
Namespace Name Mixin selector named getError
Lnet/minecraft/server/world/OptionalChunk;getError()Ljava/lang/String;
intermediary method_57129
Lnet/minecraft/class_9259;method_57129()Ljava/lang/String;
official b
Laqp;b()Ljava/lang/String;
-
ifPresent
- Mappings:
Namespace Name Mixin selector named ifPresent
Lnet/minecraft/server/world/OptionalChunk;ifPresent(Ljava/util/function/Consumer;)Lnet/minecraft/server/world/OptionalChunk;
intermediary method_57126
Lnet/minecraft/class_9259;method_57126(Ljava/util/function/Consumer;)Lnet/minecraft/class_9259;
official a
Laqp;a(Ljava/util/function/Consumer;)Laqp;
-
map
- Mappings:
Namespace Name Mixin selector named map
Lnet/minecraft/server/world/OptionalChunk;map(Ljava/util/function/Function;)Lnet/minecraft/server/world/OptionalChunk;
intermediary method_57127
Lnet/minecraft/class_9259;method_57127(Ljava/util/function/Function;)Lnet/minecraft/class_9259;
official a
Laqp;a(Ljava/util/function/Function;)Laqp;
-
orElseThrow
- Throws:
E
- Mappings:
Namespace Name Mixin selector named orElseThrow
Lnet/minecraft/server/world/OptionalChunk;orElseThrow(Ljava/util/function/Supplier;)Ljava/lang/Object;
intermediary method_57132
Lnet/minecraft/class_9259;method_57132(Ljava/util/function/Supplier;)Ljava/lang/Object;
official b
Laqp;b(Ljava/util/function/Supplier;)Ljava/lang/Object;
-