Class LazyContainer

java.lang.Object
net.minecraft.server.function.LazyContainer

public class LazyContainer extends Object
A lazy reference to another command function that may or may not exist.

Notice that such an instance does not refresh upon reloads and may become invalid.

Mappings:
Namespace Name
official dn
intermediary net/minecraft/class_2159
named net/minecraft/server/function/LazyContainer
  • Field Details

    • EMPTY

      public static final LazyContainer EMPTY
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a:Ldn;
      intermediary field_9809 Lnet/minecraft/class_2159;field_9809:Lnet/minecraft/class_2159;
      named EMPTY Lnet/minecraft/server/function/LazyContainer;EMPTY:Lnet/minecraft/server/function/LazyContainer;
    • id

      @Nullable private final @Nullable Identifier id
      Mappings:
      Namespace Name Mixin selector
      official b Ldn;b:Lafw;
      intermediary field_9807 Lnet/minecraft/class_2159;field_9807:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/server/function/LazyContainer;id:Lnet/minecraft/util/Identifier;
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      official c Ldn;c:Z
      intermediary field_9810 Lnet/minecraft/class_2159;field_9810:Z
      named initialized Lnet/minecraft/server/function/LazyContainer;initialized:Z
    • function

      Mappings:
      Namespace Name Mixin selector
      official d Ldn;d:Ljava/util/Optional;
      intermediary field_9808 Lnet/minecraft/class_2159;field_9808:Ljava/util/Optional;
      named function Lnet/minecraft/server/function/LazyContainer;function:Ljava/util/Optional;
  • Constructor Details

  • Method Details

    • get

      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a(Lagk;)Ljava/util/Optional;
      intermediary method_9196 Lnet/minecraft/class_2159;method_9196(Lnet/minecraft/class_2991;)Ljava/util/Optional;
      named get Lnet/minecraft/server/function/LazyContainer;get(Lnet/minecraft/server/function/CommandFunctionManager;)Ljava/util/Optional;
    • getId

      @Nullable public @Nullable Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a()Lafw;
      intermediary method_9197 Lnet/minecraft/class_2159;method_9197()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/server/function/LazyContainer;getId()Lnet/minecraft/util/Identifier;