net.minecraft.server.commands

public class DataPackCommand

wn
net.minecraft.server.commands.DataPackCommand
net.minecraft.class_3027
net.minecraft.server.command.DatapackCommand
net.minecraft.command.impl.DataPackCommand
net.minecraft.server.v1_16_R3.CommandDatapack

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_PACK
field_13503
UNKNOWN_DATAPACK_EXCEPTION
field_198316_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_PACK_ALREADY_ENABLED
field_13504
ALREADY_ENABLED_EXCEPTION
field_198317_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_PACK_ALREADY_DISABLED
field_13505
ALREADY_DISABLED_EXCEPTION
field_198318_c
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
d
SELECTED_PACKS
field_13506
ENABLED_CONTAINERS_SUGGESTION_PROVIDER
field_198319_d
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
e
UNSELECTED_PACKS
field_13502
DISABLED_CONTAINERS_SUGGESTION_PROVIDER
field_241028_e_

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<db> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13125(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198299_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(db arg0, abu arg1, wn$a arg2)
enablePack(CommandSourceStack arg0, Pack arg1, DataPackCommand$Inserter arg2)
method_13114(class_2168 arg0, class_3288 arg1, class_3027$class_3028 arg2)
executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand$PackAdder packAdder)
func_198297_a(CommandSource arg0, ResourcePackInfo arg1, DataPackCommand$IHandler arg2)
private static int
a(db arg0, abu arg1)
disablePack(CommandSourceStack arg0, Pack arg1)
method_13140(class_2168 arg0, class_3288 arg1)
executeDisable(ServerCommandSource source, ResourcePackProfile container)
func_198312_a(CommandSource arg0, ResourcePackInfo arg1)
private static int
a(db arg0)
listPacks(CommandSourceStack arg0)
method_13121(class_2168 arg0)
executeList(ServerCommandSource source)
func_198313_a(CommandSource arg0)
private static int
b(db arg0)
listAvailablePacks(CommandSourceStack arg0)
method_13128(class_2168 arg0)
executeListAvailable(ServerCommandSource source)
func_198314_b(CommandSource arg0)
private static int
c(db arg0)
listEnabledPacks(CommandSourceStack arg0)
method_13126(class_2168 arg0)
executeListEnabled(ServerCommandSource source)
func_198315_c(CommandSource arg0)
private static Pack
a(com.mojang.brigadier.context.CommandContext<db> arg0, String arg1, boolean arg2)
getPack(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, boolean arg2)
method_13127(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, boolean arg2)
getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable)
func_198303_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1, boolean arg2)