2020-06-04 11:49:10 -04:00
|
|
|
CLASS net/minecraft/class_5349 net/minecraft/server/function/FunctionLoader
|
2021-06-02 10:42:32 -04:00
|
|
|
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
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_25326 LOGGER Lorg/slf4j/Logger;
|
2020-06-04 11:49:10 -04:00
|
|
|
FIELD field_25329 functions Ljava/util/Map;
|
2020-07-27 14:44:57 -04:00
|
|
|
FIELD field_25330 tagLoader Lnet/minecraft/class_3503;
|
2020-06-04 11:49:10 -04:00
|
|
|
FIELD field_25331 level I
|
|
|
|
FIELD field_25332 commandDispatcher Lcom/mojang/brigadier/CommandDispatcher;
|
2022-02-09 13:58:35 -05:00
|
|
|
FIELD field_25801 tags Ljava/util/Map;
|
2022-10-20 11:56:05 -04:00
|
|
|
FIELD field_39978 FINDER Lnet/minecraft/class_7654;
|
2020-06-04 11:49:10 -04:00
|
|
|
METHOD <init> (ILcom/mojang/brigadier/CommandDispatcher;)V
|
|
|
|
ARG 1 level
|
|
|
|
ARG 2 commandDispatcher
|
|
|
|
METHOD method_29447 getFunctions ()Ljava/util/Map;
|
2022-08-20 10:03:33 -04:00
|
|
|
METHOD method_29449 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage;
|
|
|
|
ARG 2 functions
|
2022-04-06 15:01:01 -04:00
|
|
|
METHOD method_29450 readLines (Lnet/minecraft/class_3298;)Ljava/util/List;
|
2022-08-20 10:03:33 -04:00
|
|
|
ARG 0 resource
|
2021-06-02 10:42:32 -04:00
|
|
|
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_29455 (Ljava/util/Map;Ljava/lang/Void;Ljava/lang/Throwable;)Ljava/util/Map;
|
|
|
|
ARG 1 unused
|
|
|
|
ARG 2 ex
|
2020-06-04 11:49:10 -04:00
|
|
|
METHOD method_29456 get (Lnet/minecraft/class_2960;)Ljava/util/Optional;
|
|
|
|
ARG 1 id
|
2021-06-02 10:42:32 -04:00
|
|
|
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
|
2022-02-09 13:58:35 -05:00
|
|
|
METHOD method_29458 getTags ()Ljava/lang/Iterable;
|
2022-05-12 14:28:43 -04:00
|
|
|
METHOD method_29459 getTagOrEmpty (Lnet/minecraft/class_2960;)Ljava/util/Collection;
|
2020-06-04 11:49:10 -04:00
|
|
|
ARG 1 id
|