net.minecraft.server.command

public class DatapackCommand

qe
net.minecraft.class_4412
net.minecraft.server.command.DatapackCommand
net.minecraft.command.impl.DataPackCommand
net.minecraft.command.impl.DataPackCommand

Field summary

Modifier and TypeField
private static final DynamicCommandExceptionType
a
field_21715
UNKNOWN_DATAPACK_EXCEPTION
field_198316_a
UNKNOWN_DATA_PACK_EXCEPTION
private static final DynamicCommandExceptionType
b
field_21716
FAILED_TO_ENABLE_DATAPACK_EXCEPTION
field_198317_b
ENABLE_FAILED_EXCEPTION
private static final DynamicCommandExceptionType
c
field_21717
FAILED_TO_DISABLE_DATAPACK_EXCEPTION
field_198318_c
DISABLE_FAILED_EXCEPTION
private static final SuggestionProvider<CommandSourceStack>
d
field_21718
SELECTED_DATAPACK_SUGGESTIONS
field_198319_d
SUGGEST_ENABLED_PACK
private static final SuggestionProvider<CommandSourceStack>
e
field_21719
AVAILABLE_DATAPACK_SUGGESTIONS
field_198320_e
SUGGEST_AVAILABLE_PACK

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
method_20612(com.mojang.brigadier.CommandDispatcher<class_3915> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198299_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int
a(bu arg0, va arg1, qe$a arg2)
method_20610(class_3915 arg0, class_4465 arg1, class_4412$class_4413 arg2)
executeEnable(CommandSourceStack source, UnopenedPack pack, DatapackCommand$Inserter packAdder)
func_198297_a(CommandSource arg0, ResourcePackInfo arg1, DataPackCommand$IHandler arg2)
enablePack(CommandSource source, ResourcePackInfo pack, DataPackCommand$IHandler priorityCallback)
private static int
a(bu arg0, va arg1)
method_20609(class_3915 arg0, class_4465 arg1)
executeDisable(CommandSourceStack source, UnopenedPack pack)
func_198312_a(CommandSource arg0, ResourcePackInfo arg1)
disablePack(CommandSource source, ResourcePackInfo pack)
private static int
a(bu arg0)
method_20608(class_3915 arg0)
executeList(CommandSourceStack source)
func_198313_a(CommandSource arg0)
listAllPacks(CommandSource source)
private static int
b(bu arg0)
method_20620(class_3915 arg0)
executeListAvailable(CommandSourceStack source)
func_198314_b(CommandSource arg0)
listAvailablePacks(CommandSource source)
private static int
c(bu arg0)
method_20628(class_3915 arg0)
executeListEnabled(CommandSourceStack source)
func_198315_c(CommandSource arg0)
listEnabledPacks(CommandSource source)
private static UnopenedPack
a(CommandContext<bu> arg0, String arg1, boolean arg2)
method_20615(com.mojang.brigadier.context.CommandContext<class_3915> arg0, String arg1, boolean arg2)
getPackContainer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, boolean enable)
func_198303_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1, boolean arg2)
parsePackInfo(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name, boolean enabling)