net.minecraft.server.commands.data

public class DataCommands

aqs
net.minecraft.server.commands.data.DataCommands
net.minecraft.class_3164
net.minecraft.server.command.DataCommand
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
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_GET_NOT_NUMBER
field_13791
GET_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_GET_NON_EXISTENT
field_13793
GET_UNKNOWN_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_MULTIPLE_TAGS
field_13794
GET_MULTIPLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
h
ERROR_EXPECTED_OBJECT
field_13797
MODIFY_EXPECTED_OBJECT_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
i
ERROR_EXPECTED_VALUE
field_41747
MODIFY_EXPECTED_VALUE_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
j
ERROR_INVALID_SUBSTRING
field_44916
MODIFY_INVALID_SUBSTRING_EXCEPTION
public static final List<Function<String, DataCommands$DataProvider>>
a
ALL_PROVIDERS
field_13790
OBJECT_TYPE_FACTORIES
public static final List<DataCommands$DataProvider>
b
TARGET_PROVIDERS
field_13798
TARGET_OBJECT_TYPES
public static final List<DataCommands$DataProvider>
c
SOURCE_PROVIDERS
field_13792
SOURCE_OBJECT_TYPES

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_13905(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static String
a(vu arg0)
getAsText(Tag arg0)
method_48096(class_2520 arg0)
asString(NbtElement nbt)
private static List<Tag>
a(List<vu> arg0, aqs$d arg1)
stringifyTagList(List<Tag> arg0, DataCommands$StringProcessor arg1)
method_48095(List<class_2520> arg0, class_3164$class_8569 arg1)
mapValues(List<NbtElement> list, DataCommand$Processor processor)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ew, ?>, aqs$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)
private static String
a(String arg0, int arg1, int arg2)
validatedSubstring(String arg0, int arg1, int arg2)
method_52165(String arg0, int arg1, int arg2)
substringInternal(String string, int startIndex, int endIndex)
private static String
b(String arg0, int arg1, int arg2)
substring(String arg0, int arg1, int arg2)
method_51826(String arg0, int arg1, int arg2)
substring(String string, int startIndex, int endIndex)
private static String
a(String arg0, int arg1)
substring(String arg0, int arg1)
method_51825(String arg0, int arg1)
substring(String string, int startIndex)
private static int
a(int arg0, int arg1)
getOffset(int arg0, int arg1)
method_51824(int arg0, int arg1)
getSubstringIndex(int index, int length)
private static List<Tag>
a(com.mojang.brigadier.context.CommandContext<ew> arg0, aqs$c arg1)
getSingletonSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1)
method_48091(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1)
getValues(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType)
private static List<Tag>
b(com.mojang.brigadier.context.CommandContext<ew> arg0, aqs$c arg1)
resolveSourcePath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1)
method_48098(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1)
getValuesByPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType)
private static int
a(com.mojang.brigadier.context.CommandContext<ew> arg0, aqs$c arg1, aqs$a arg2, List<vu> 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)
private static int
a(ew arg0, aqr arg1, fo$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)
public static Tag
a(fo$g arg0, aqr arg1)
getSingleTag(NbtPathArgument$NbtPath arg0, DataAccessor arg1)
method_13921(class_2203$class_2209 arg0, class_3162 arg1)
getNbt(NbtPathArgumentType$NbtPath path, DataCommandObject object)
private static int
b(ew arg0, aqr arg1, fo$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)
private static int
a(ew arg0, aqr arg1, fo$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)
private static int
a(ew arg0, aqr arg1)
getData(CommandSourceStack arg0, DataAccessor arg1)
method_13908(class_2168 arg0, class_3162 arg1)
executeGet(ServerCommandSource source, DataCommandObject object)
private static int
a(ew arg0, aqr arg1, ux 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)