Class CommandFunction.LazyContainer

java.lang.Object
net.minecraft.server.function.CommandFunction.LazyContainer
Enclosing class:
CommandFunction

public static class CommandFunction.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 dm$a
intermediary net/minecraft/class_2158$class_2159
named net/minecraft/server/function/CommandFunction$LazyContainer
  • Field Details

    • EMPTY

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

      @Nullable private final @Nullable Identifier id
      Mappings:
      Namespace Name Mixin selector
      official b Ldm$a;b:Ladd;
      intermediary field_9807 Lnet/minecraft/class_2158$class_2159;field_9807:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/server/function/CommandFunction$LazyContainer;id:Lnet/minecraft/util/Identifier;
    • initialized

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

      private Optional<CommandFunction> function
      Mappings:
      Namespace Name Mixin selector
      official d Ldm$a;d:Ljava/util/Optional;
      intermediary field_9808 Lnet/minecraft/class_2158$class_2159;field_9808:Ljava/util/Optional;
      named function Lnet/minecraft/server/function/CommandFunction$LazyContainer;function:Ljava/util/Optional;
  • Constructor Details

    • LazyContainer

      public LazyContainer(@Nullable @Nullable Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldm$a;<init>(Ladd;)V
      intermediary <init> Lnet/minecraft/class_2158$class_2159;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/server/function/CommandFunction$LazyContainer;<init>(Lnet/minecraft/util/Identifier;)V
    • LazyContainer

      public LazyContainer(CommandFunction function)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldm$a;<init>(Ldm;)V
      intermediary <init> Lnet/minecraft/class_2158$class_2159;<init>(Lnet/minecraft/class_2158;)V
      named <init> Lnet/minecraft/server/function/CommandFunction$LazyContainer;<init>(Lnet/minecraft/server/function/CommandFunction;)V
  • Method Details

    • get

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

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