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 aqb
-
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
Laqb;a(Ljava/lang/Object;)Laqb;
-
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
Laqb;a(Ljava/lang/String;)Laqb;
-
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
Laqb;a(Ljava/util/function/Supplier;)Laqb;
-
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
Laqb;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
Laqb;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
Laqb;a(Laqb;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
Laqb;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
Laqb;a(Ljava/util/function/Consumer;)Laqb;
-
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
Laqb;a(Ljava/util/function/Function;)Laqb;
-
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
Laqb;b(Ljava/util/function/Supplier;)Ljava/lang/Object;
-