Package net.minecraft.server.command
Class DataCommand
java.lang.Object
net.minecraft.server.command.DataCommand
- Mappings:
Namespace Name named net/minecraft/server/command/DataCommand
intermediary net/minecraft/class_3164
official apv
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
private static interface
static interface
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
static final List
<Function<String, DataCommand.ObjectType>> static final List
<DataCommand.ObjectType> static final List
<DataCommand.ObjectType> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder
<ServerCommandSource, ?> addModifyArgument
(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand.ModifyArgumentCreator> subArgumentAdder) private static String
asString
(NbtElement nbt) private static int
executeGet
(ServerCommandSource source, DataCommandObject object) private static int
executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) private static int
executeGet
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale) private static int
executeMerge
(ServerCommandSource source, DataCommandObject object, NbtCompound nbt) private static int
executeModify
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements) private static int
executeRemove
(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) static NbtElement
getNbt
(NbtPathArgumentType.NbtPath path, DataCommandObject object) private static int
getSubstringIndex
(int index, int length) private static List
<NbtElement> getValues
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) private static List
<NbtElement> getValuesByPath
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) private static List
<NbtElement> mapValues
(List<NbtElement> list, DataCommand.Processor processor) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static String
private static String
private static String
substringInternal
(String string, int startIndex, int endIndex)
-
Field Details
-
MERGE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MERGE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector named MERGE_FAILED_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MERGE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13796
Lnet/minecraft/class_3164;field_13796:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official d
Lapv;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
GET_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType GET_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector named GET_INVALID_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13791
Lnet/minecraft/class_3164;field_13791:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official e
Lapv;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
GET_UNKNOWN_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType GET_UNKNOWN_EXCEPTION- Mappings:
Namespace Name Mixin selector named GET_UNKNOWN_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_UNKNOWN_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13793
Lnet/minecraft/class_3164;field_13793:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official f
Lapv;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
GET_MULTIPLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GET_MULTIPLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named GET_MULTIPLE_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_MULTIPLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13794
Lnet/minecraft/class_3164;field_13794:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official g
Lapv;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
MODIFY_EXPECTED_OBJECT_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MODIFY_EXPECTED_OBJECT_EXCEPTION- Mappings:
Namespace Name Mixin selector named MODIFY_EXPECTED_OBJECT_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_EXPECTED_OBJECT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13797
Lnet/minecraft/class_3164;field_13797:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official h
Lapv;h:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MODIFY_EXPECTED_VALUE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MODIFY_EXPECTED_VALUE_EXCEPTION- Mappings:
Namespace Name Mixin selector named MODIFY_EXPECTED_VALUE_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_EXPECTED_VALUE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_41747
Lnet/minecraft/class_3164;field_41747:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official i
Lapv;i:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MODIFY_INVALID_SUBSTRING_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType MODIFY_INVALID_SUBSTRING_EXCEPTION- Mappings:
Namespace Name Mixin selector named MODIFY_INVALID_SUBSTRING_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_INVALID_SUBSTRING_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_44916
Lnet/minecraft/class_3164;field_44916:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
official j
Lapv;j:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
OBJECT_TYPE_FACTORIES
- Mappings:
Namespace Name Mixin selector named OBJECT_TYPE_FACTORIES
Lnet/minecraft/server/command/DataCommand;OBJECT_TYPE_FACTORIES:Ljava/util/List;
intermediary field_13790
Lnet/minecraft/class_3164;field_13790:Ljava/util/List;
official a
Lapv;a:Ljava/util/List;
-
TARGET_OBJECT_TYPES
- Mappings:
Namespace Name Mixin selector named TARGET_OBJECT_TYPES
Lnet/minecraft/server/command/DataCommand;TARGET_OBJECT_TYPES:Ljava/util/List;
intermediary field_13798
Lnet/minecraft/class_3164;field_13798:Ljava/util/List;
official b
Lapv;b:Ljava/util/List;
-
SOURCE_OBJECT_TYPES
- Mappings:
Namespace Name Mixin selector named SOURCE_OBJECT_TYPES
Lnet/minecraft/server/command/DataCommand;SOURCE_OBJECT_TYPES:Ljava/util/List;
intermediary field_13792
Lnet/minecraft/class_3164;field_13792:Ljava/util/List;
official c
Lapv;c:Ljava/util/List;
-
-
Constructor Details
-
DataCommand
public DataCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/DataCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13905
Lnet/minecraft/class_3164;method_13905(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lapv;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
asString
private static String asString(NbtElement nbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/server/command/DataCommand;asString(Lnet/minecraft/nbt/NbtElement;)Ljava/lang/String;
intermediary method_48096
Lnet/minecraft/class_3164;method_48096(Lnet/minecraft/class_2520;)Ljava/lang/String;
official a
Lapv;a(Lvp;)Ljava/lang/String;
-
mapValues
private static List<NbtElement> mapValues(List<NbtElement> list, DataCommand.Processor processor) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named mapValues
Lnet/minecraft/server/command/DataCommand;mapValues(Ljava/util/List;Lnet/minecraft/server/command/DataCommand$Processor;)Ljava/util/List;
intermediary method_48095
Lnet/minecraft/class_3164;method_48095(Ljava/util/List;Lnet/minecraft/class_3164$class_8569;)Ljava/util/List;
official a
Lapv;a(Ljava/util/List;Lapv$d;)Ljava/util/List;
-
addModifyArgument
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand.ModifyArgumentCreator> subArgumentAdder) - Mappings:
Namespace Name Mixin selector named addModifyArgument
Lnet/minecraft/server/command/DataCommand;addModifyArgument(Ljava/util/function/BiConsumer;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
intermediary method_13898
Lnet/minecraft/class_3164;method_13898(Ljava/util/function/BiConsumer;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
official a
Lapv;a(Ljava/util/function/BiConsumer;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
substringInternal
private static String substringInternal(String string, int startIndex, int endIndex) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named substringInternal
Lnet/minecraft/server/command/DataCommand;substringInternal(Ljava/lang/String;II)Ljava/lang/String;
intermediary method_52165
Lnet/minecraft/class_3164;method_52165(Ljava/lang/String;II)Ljava/lang/String;
official a
Lapv;a(Ljava/lang/String;II)Ljava/lang/String;
-
substring
private static String substring(String string, int startIndex, int endIndex) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named substring
Lnet/minecraft/server/command/DataCommand;substring(Ljava/lang/String;II)Ljava/lang/String;
intermediary method_51826
Lnet/minecraft/class_3164;method_51826(Ljava/lang/String;II)Ljava/lang/String;
official b
Lapv;b(Ljava/lang/String;II)Ljava/lang/String;
-
substring
private static String substring(String string, int startIndex) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named substring
Lnet/minecraft/server/command/DataCommand;substring(Ljava/lang/String;I)Ljava/lang/String;
intermediary method_51825
Lnet/minecraft/class_3164;method_51825(Ljava/lang/String;I)Ljava/lang/String;
official a
Lapv;a(Ljava/lang/String;I)Ljava/lang/String;
-
getSubstringIndex
private static int getSubstringIndex(int index, int length) - Mappings:
Namespace Name Mixin selector named getSubstringIndex
Lnet/minecraft/server/command/DataCommand;getSubstringIndex(II)I
intermediary method_51824
Lnet/minecraft/class_3164;method_51824(II)I
official a
Lapv;a(II)I
-
getValues
private static List<NbtElement> getValues(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getValues
Lnet/minecraft/server/command/DataCommand;getValues(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/server/command/DataCommand$ObjectType;)Ljava/util/List;
intermediary method_48091
Lnet/minecraft/class_3164;method_48091(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_3164$class_3167;)Ljava/util/List;
official a
Lapv;a(Lcom/mojang/brigadier/context/CommandContext;Lapv$c;)Ljava/util/List;
-
getValuesByPath
private static List<NbtElement> getValuesByPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getValuesByPath
Lnet/minecraft/server/command/DataCommand;getValuesByPath(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/server/command/DataCommand$ObjectType;)Ljava/util/List;
intermediary method_48098
Lnet/minecraft/class_3164;method_48098(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_3164$class_3167;)Ljava/util/List;
official b
Lapv;b(Lcom/mojang/brigadier/context/CommandContext;Lapv$c;)Ljava/util/List;
-
executeModify
private static int executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand.ObjectType objectType, DataCommand.ModifyOperation modifier, List<NbtElement> elements) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeModify
Lnet/minecraft/server/command/DataCommand;executeModify(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/server/command/DataCommand$ObjectType;Lnet/minecraft/server/command/DataCommand$ModifyOperation;Ljava/util/List;)I
intermediary method_13920
Lnet/minecraft/class_3164;method_13920(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_3164$class_3167;Lnet/minecraft/class_3164$class_3165;Ljava/util/List;)I
official a
Lapv;a(Lcom/mojang/brigadier/context/CommandContext;Lapv$c;Lapv$a;Ljava/util/List;)I
-
executeRemove
private static int executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeRemove
Lnet/minecraft/server/command/DataCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;)I
intermediary method_13885
Lnet/minecraft/class_3164;method_13885(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2203$class_2209;)I
official a
Lapv;a(Lep;Lapu;Lfh$g;)I
-
getNbt
public static NbtElement getNbt(NbtPathArgumentType.NbtPath path, DataCommandObject object) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getNbt
Lnet/minecraft/server/command/DataCommand;getNbt(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtElement;
intermediary method_13921
Lnet/minecraft/class_3164;method_13921(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2520;
official a
Lapv;a(Lfh$g;Lapu;)Lvp;
-
executeGet
private static int executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeGet
Lnet/minecraft/server/command/DataCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;)I
intermediary method_13916
Lnet/minecraft/class_3164;method_13916(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2203$class_2209;)I
official b
Lapv;b(Lep;Lapu;Lfh$g;)I
-
executeGet
private static int executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType.NbtPath path, double scale) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeGet
Lnet/minecraft/server/command/DataCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;D)I
intermediary method_13903
Lnet/minecraft/class_3164;method_13903(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2203$class_2209;D)I
official a
Lapv;a(Lep;Lapu;Lfh$g;D)I
-
executeGet
private static int executeGet(ServerCommandSource source, DataCommandObject object) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeGet
Lnet/minecraft/server/command/DataCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;)I
intermediary method_13908
Lnet/minecraft/class_3164;method_13908(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;)I
official a
Lapv;a(Lep;Lapu;)I
-
executeMerge
private static int executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeMerge
Lnet/minecraft/server/command/DataCommand;executeMerge(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/nbt/NbtCompound;)I
intermediary method_13901
Lnet/minecraft/class_3164;method_13901(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2487;)I
official a
Lapv;a(Lep;Lapu;Lus;)I
-