Package net.minecraft.server.command
Class DatapackCommand
java.lang.Object
net.minecraft.server.command.DatapackCommand
- Mappings:
Namespace Name named net/minecraft/server/command/DatapackCommand
intermediary net/minecraft/class_3027
official ami
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> private static final com.mojang.brigadier.suggestion.SuggestionProvider
<ServerCommandSource> private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeDisable
(ServerCommandSource source, ResourcePackProfile container) private static int
executeEnable
(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) private static int
executeList
(ServerCommandSource source) private static int
private static int
private static ResourcePackProfile
getPackContainer
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
UNKNOWN_DATAPACK_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_DATAPACK_EXCEPTION- Mappings:
Namespace Name Mixin selector named UNKNOWN_DATAPACK_EXCEPTION
Lnet/minecraft/server/command/DatapackCommand;UNKNOWN_DATAPACK_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13503
Lnet/minecraft/class_3027;field_13503:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official a
Lami;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
ALREADY_ENABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_ENABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_ENABLED_EXCEPTION
Lnet/minecraft/server/command/DatapackCommand;ALREADY_ENABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13504
Lnet/minecraft/class_3027;field_13504:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official b
Lami;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
ALREADY_DISABLED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_DISABLED_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_DISABLED_EXCEPTION
Lnet/minecraft/server/command/DatapackCommand;ALREADY_DISABLED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13505
Lnet/minecraft/class_3027;field_13505:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official c
Lami;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
CANNOT_DISABLE_FEATURE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CANNOT_DISABLE_FEATURE_EXCEPTION- Mappings:
Namespace Name Mixin selector named CANNOT_DISABLE_FEATURE_EXCEPTION
Lnet/minecraft/server/command/DatapackCommand;CANNOT_DISABLE_FEATURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_49775
Lnet/minecraft/class_3027;field_49775:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official d
Lami;d:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
NO_FLAGS_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType NO_FLAGS_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_FLAGS_EXCEPTION
Lnet/minecraft/server/command/DatapackCommand;NO_FLAGS_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_39980
Lnet/minecraft/class_3027;field_39980:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
official e
Lami;e:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
ENABLED_CONTAINERS_SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ENABLED_CONTAINERS_SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector named ENABLED_CONTAINERS_SUGGESTION_PROVIDER
Lnet/minecraft/server/command/DatapackCommand;ENABLED_CONTAINERS_SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_13506
Lnet/minecraft/class_3027;field_13506:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
official f
Lami;f:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
DISABLED_CONTAINERS_SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> DISABLED_CONTAINERS_SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector named DISABLED_CONTAINERS_SUGGESTION_PROVIDER
Lnet/minecraft/server/command/DatapackCommand;DISABLED_CONTAINERS_SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_13502
Lnet/minecraft/class_3027;field_13502:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
official g
Lami;g:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
-
Constructor Details
-
DatapackCommand
public DatapackCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/DatapackCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13125
Lnet/minecraft/class_3027;method_13125(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lami;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeEnable
private static int executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeEnable
Lnet/minecraft/server/command/DatapackCommand;executeEnable(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/resource/ResourcePackProfile;Lnet/minecraft/server/command/DatapackCommand$PackAdder;)I
intermediary method_13114
Lnet/minecraft/class_3027;method_13114(Lnet/minecraft/class_2168;Lnet/minecraft/class_3288;Lnet/minecraft/class_3027$class_3028;)I
official a
Lami;a(Let;Latm;Lami$a;)I
-
executeDisable
- Mappings:
Namespace Name Mixin selector named executeDisable
Lnet/minecraft/server/command/DatapackCommand;executeDisable(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/resource/ResourcePackProfile;)I
intermediary method_13140
Lnet/minecraft/class_3027;method_13140(Lnet/minecraft/class_2168;Lnet/minecraft/class_3288;)I
official a
Lami;a(Let;Latm;)I
-
executeList
- Mappings:
Namespace Name Mixin selector named executeList
Lnet/minecraft/server/command/DatapackCommand;executeList(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_13121
Lnet/minecraft/class_3027;method_13121(Lnet/minecraft/class_2168;)I
official a
Lami;a(Let;)I
-
executeListAvailable
- Mappings:
Namespace Name Mixin selector named executeListAvailable
Lnet/minecraft/server/command/DatapackCommand;executeListAvailable(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_13128
Lnet/minecraft/class_3027;method_13128(Lnet/minecraft/class_2168;)I
official b
Lami;b(Let;)I
-
executeListEnabled
- Mappings:
Namespace Name Mixin selector named executeListEnabled
Lnet/minecraft/server/command/DatapackCommand;executeListEnabled(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_13126
Lnet/minecraft/class_3027;method_13126(Lnet/minecraft/class_2168;)I
official c
Lami;c(Let;)I
-
getPackContainer
private static ResourcePackProfile getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getPackContainer
Lnet/minecraft/server/command/DatapackCommand;getPackContainer(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Z)Lnet/minecraft/resource/ResourcePackProfile;
intermediary method_13127
Lnet/minecraft/class_3027;method_13127(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Z)Lnet/minecraft/class_3288;
official a
Lami;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Z)Latm;
-