net.minecraft.server.commands.data

public class DataCommands

afb
net.minecraft.server.commands.data.DataCommands
net.minecraft.class_3164
net.minecraft.server.command.DataCommand
net.minecraft.src.C_5398_
net.minecraft.server.commands.data.CommandData

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_MERGE_UNCHANGED
field_13796
MERGE_FAILED_EXCEPTION
f_139352_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_GET_NOT_NUMBER
field_13791
GET_INVALID_EXCEPTION
f_139353_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_GET_NON_EXISTENT
field_13793
GET_UNKNOWN_EXCEPTION
f_139354_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_MULTIPLE_TAGS
field_13794
GET_MULTIPLE_EXCEPTION
f_139355_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
h
ERROR_EXPECTED_LIST
field_13795
MODIFY_EXPECTED_LIST_EXCEPTION
f_139356_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
i
ERROR_EXPECTED_OBJECT
field_13797
MODIFY_EXPECTED_OBJECT_EXCEPTION
f_139357_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
j
ERROR_INVALID_INDEX
field_17441
MODIFY_INVALID_INDEX_EXCEPTION
f_139358_
public static final List<Function<String, DataCommands$DataProvider>>
a
ALL_PROVIDERS
field_13790
OBJECT_TYPE_FACTORIES
f_139349_
public static final List<DataCommands$DataProvider>
b
TARGET_PROVIDERS
field_13798
TARGET_OBJECT_TYPES
f_139350_
public static final List<DataCommands$DataProvider>
c
SOURCE_PROVIDERS
field_13792
SOURCE_OBJECT_TYPES
f_139351_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dr> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13905(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_139365_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_139366_)
private static int
a(int arg0, pj arg1, eh$g arg2, List<qc> arg3)
insertAtIndex(int arg0, CompoundTag arg1, NbtPathArgument$NbtPath arg2, List<Tag> arg3)
method_13910(int arg0, class_2487 arg1, class_2203$class_2209 arg2, List<class_2520> arg3)
executeInsert(int integer, NbtCompound sourceNbt, NbtPathArgumentType$NbtPath path, List<NbtElement> elements)
m_139360_(int p_139361_, C_4917_ p_139362_, C_3692_ p_139363_, List<C_4950_> p_139364_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<dr, ?>, afb$b> arg0)
decorateModification(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands$DataManipulatorDecorator> arg0)
method_13898(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?>, class_3164$class_3166> arg0)
addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand$ModifyArgumentCreator> subArgumentAdder)
m_139403_(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>, C_5400_> p_139404_)
private static int
a(com.mojang.brigadier.context.CommandContext<dr> arg0, afb$c arg1, afb$a arg2, List<qc> arg3)
manipulateData(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1, DataCommands$DataManipulator arg2, List<Tag> arg3)
method_13920(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1, class_3164$class_3165 arg2, List<class_2520> arg3)
executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType, DataCommand$ModifyOperation modifier, List<NbtElement> elements)
m_139375_(com.mojang.brigadier.context.CommandContext<C_2969_> p_139376_, C_5401_ p_139377_, C_5399_ p_139378_, List<C_4950_> p_139379_)
private static int
a(dr arg0, afa arg1, eh$g arg2)
removeData(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2)
method_13885(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2)
executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
m_139385_(C_2969_ p_139386_, C_5395_ p_139387_, C_3692_ p_139388_)
private static Tag
a(eh$g arg0, afa arg1)
getSingleTag(NbtPathArgument$NbtPath arg0, DataAccessor arg1)
method_13921(class_2203$class_2209 arg0, class_3162 arg1)
getNbt(NbtPathArgumentType$NbtPath path, DataCommandObject object)
m_139398_(C_3692_ p_139399_, C_5395_ p_139400_)
private static int
b(dr arg0, afa arg1, eh$g arg2)
getData(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2)
method_13916(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
m_139443_(C_2969_ p_139444_, C_5395_ p_139445_, C_3692_ p_139446_)
private static int
a(dr arg0, afa arg1, eh$g arg2, double arg3)
getNumeric(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2, double arg3)
method_13903(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2, double arg3)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path, double scale)
m_139389_(C_2969_ p_139390_, C_5395_ p_139391_, C_3692_ p_139392_, double p_139393_)
private static int
a(dr arg0, afa arg1)
getData(CommandSourceStack arg0, DataAccessor arg1)
method_13908(class_2168 arg0, class_3162 arg1)
executeGet(ServerCommandSource source, DataCommandObject object)
m_139382_(C_2969_ p_139383_, C_5395_ p_139384_)
private static int
a(dr arg0, afa arg1, pj arg2)
mergeData(CommandSourceStack arg0, DataAccessor arg1, CompoundTag arg2)
method_13901(class_2168 arg0, class_3162 arg1, class_2487 arg2)
executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt)
m_139394_(C_2969_ p_139395_, C_5395_ p_139396_, C_4917_ p_139397_)