net.minecraft.server.commands

public class DataPackCommand

anr
net.minecraft.server.commands.DataPackCommand
net.minecraft.class_3027
net.minecraft.unmapped.C_vriggyso
net.minecraft.server.command.DatapackCommand
net.minecraft.server.command.DataPackCommand
net.minecraft.src.C_5306_
net.minecraft.server.commands.CommandDatapack

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_PACK
field_13503
f_nnwvksmy
UNKNOWN_DATAPACK_EXCEPTION
UNKNOWN_DATA_PACK_EXCEPTION
f_136800_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_PACK_ALREADY_ENABLED
field_13504
f_fyrwfnkt
ALREADY_ENABLED_EXCEPTION
ALREADY_ENABLED_EXCEPTION
f_136801_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_PACK_ALREADY_DISABLED
field_13505
f_jrqznzts
ALREADY_DISABLED_EXCEPTION
ALREADY_DISABLED_EXCEPTION
f_136802_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_CANNOT_DISABLE_FEATURE
field_49775
f_skaewfcu
CANNOT_DISABLE_FEATURE_EXCEPTION
DISABLE_FAILED_EXCEPTION
f_313980_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
e
ERROR_PACK_FEATURES_NOT_ENABLED
field_39980
f_sqnvgbtd
NO_FLAGS_EXCEPTION
NO_FLAGS_EXCEPTION
f_244087_
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
f
SELECTED_PACKS
field_13506
f_knojwsat
ENABLED_CONTAINERS_SUGGESTION_PROVIDER
ENABLED_CONTAINERS_SUGGESTION_PROVIDER
f_136803_
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
g
UNSELECTED_PACKS
field_13502
f_kpegiicr
DISABLED_CONTAINERS_SUGGESTION_PROVIDER
DISABLED_CONTAINERS_SUGGESTION_PROVIDER
f_136804_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13125(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
m_fpjctysq(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_136808_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_136809_)
private static int
a(ew arg0, avd arg1, anr$a arg2)
enablePack(CommandSourceStack arg0, Pack arg1, DataPackCommand$Inserter arg2)
method_13114(class_2168 arg0, class_3288 arg1, class_3027$class_3028 arg2)
m_ahnrpgsv(C_pennblrk arg0, C_lvnjxuwi arg1, C_vriggyso$C_aljwlzen arg2)
executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand$PackAdder packAdder)
executeEnable(ServerCommandSource source, PackProfile container, DataPackCommand$PackAdder packAdder)
m_136828_(C_2969_ p_136829_, C_58_ p_136830_, C_5306_$C_5307_ p_136831_)
private static int
a(ew arg0, avd arg1)
disablePack(CommandSourceStack arg0, Pack arg1)
method_13140(class_2168 arg0, class_3288 arg1)
m_vunzqzke(C_pennblrk arg0, C_lvnjxuwi arg1)
executeDisable(ServerCommandSource source, ResourcePackProfile container)
executeDisable(ServerCommandSource source, PackProfile container)
m_136825_(C_2969_ p_136826_, C_58_ p_136827_)
private static int
a(ew arg0)
listPacks(CommandSourceStack arg0)
method_13121(class_2168 arg0)
m_ebyzylsl(C_pennblrk arg0)
executeList(ServerCommandSource source)
executeList(ServerCommandSource source)
m_136823_(C_2969_ p_136824_)
private static int
b(ew arg0)
listAvailablePacks(CommandSourceStack arg0)
method_13128(class_2168 arg0)
m_kewtpxcg(C_pennblrk arg0)
executeListAvailable(ServerCommandSource source)
executeListAvailable(ServerCommandSource source)
m_136854_(C_2969_ p_136855_)
private static int
c(ew arg0)
listEnabledPacks(CommandSourceStack arg0)
method_13126(class_2168 arg0)
m_hpptytxj(C_pennblrk arg0)
executeListEnabled(ServerCommandSource source)
executeListEnabled(ServerCommandSource source)
m_136865_(C_2969_ p_136866_)
private static Pack
a(com.mojang.brigadier.context.CommandContext<ew> 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)
m_ssbtppzt(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1, boolean arg2)
getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable)
getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable)
m_136815_(com.mojang.brigadier.context.CommandContext<C_2969_> p_136816_, String p_136817_, boolean p_136818_)