yarn/mappings/net/minecraft/server/function/FunctionLoader.mapping

52 lines
2.6 KiB
Plaintext

CLASS net/minecraft/class_5349 net/minecraft/server/function/FunctionLoader
COMMENT The function loader holds the functions and function tags for a {@link
COMMENT CommandFunctionManager} to use. In the reloads, it loads the tags in one
COMMENT completable future and each function in a completable future for all functions.
COMMENT
COMMENT <p>The functions are stored in {@code .mcfunction} files; each line is one
COMMENT Minecraft command, with blank lines and contents starting with a trailing hash
COMMENT {@code #} sign ignored.
COMMENT
COMMENT <p>The function tags are ordered, unlike other tags. Each function's order in
COMMENT the collection of functions from the tag is determined by the order it is listed
COMMENT in the JSON files; if it appears multiple times through tag nesting, only its
COMMENT first appearance will be considered.
COMMENT
COMMENT @see CommandFunctionManager
FIELD field_25326 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_25327 PATH_PREFIX_LENGTH I
FIELD field_25328 EXTENSION_LENGTH I
FIELD field_25329 functions Ljava/util/Map;
FIELD field_25330 tagLoader Lnet/minecraft/class_3503;
FIELD field_25331 level I
FIELD field_25332 commandDispatcher Lcom/mojang/brigadier/CommandDispatcher;
FIELD field_25801 tags Lnet/minecraft/class_5414;
FIELD field_33385 EXTENSION Ljava/lang/String;
METHOD <init> (ILcom/mojang/brigadier/CommandDispatcher;)V
ARG 1 level
ARG 2 commandDispatcher
METHOD method_29447 getFunctions ()Ljava/util/Map;
METHOD method_29449 (Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;Ljava/util/Collection;)Ljava/util/concurrent/CompletionStage;
ARG 3 ids
METHOD method_29450 readLines (Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)Ljava/util/List;
ARG 0 resourceManager
ARG 1 id
METHOD method_29452 (Lcom/google/common/collect/ImmutableMap$Builder;Lnet/minecraft/class_2960;Ljava/util/concurrent/CompletableFuture;)V
ARG 1 id
ARG 2 functionFuture
METHOD method_29453 (Lcom/mojang/datafixers/util/Pair;)V
ARG 1 intermediate
METHOD method_29454 (Ljava/lang/String;)Z
ARG 0 path
METHOD method_29455 (Ljava/util/Map;Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/Map;
ARG 1 unused
ARG 2 ex
METHOD method_29456 get (Lnet/minecraft/class_2960;)Ljava/util/Optional;
ARG 1 id
METHOD method_29457 (Lnet/minecraft/class_2960;Lcom/google/common/collect/ImmutableMap$Builder;Lnet/minecraft/class_2158;Ljava/lang/Throwable;)Ljava/lang/Object;
ARG 2 function
ARG 3 ex
METHOD method_29458 getTags ()Lnet/minecraft/class_5414;
METHOD method_29459 getTagOrEmpty (Lnet/minecraft/class_2960;)Lnet/minecraft/class_3494;
ARG 1 id