Package net.minecraft.server.command
Class DataCommand
java.lang.Object
net.minecraft.server.command.DataCommand
- Mappings:
Namespace Name official abx
intermediary net/minecraft/class_3164
named net/minecraft/server/command/DataCommand
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
private static interface
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.DynamicCommandExceptionType
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 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
executeInsert
(int integer, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) 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) private static NbtElement
getNbt
(NbtPathArgumentType.NbtPath path, DataCommandObject object) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
MERGE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MERGE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official d
Labx;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13796
Lnet/minecraft/class_3164;field_13796:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named MERGE_FAILED_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MERGE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
GET_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType GET_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector official e
Labx;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13791
Lnet/minecraft/class_3164;field_13791:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named GET_INVALID_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
GET_UNKNOWN_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType GET_UNKNOWN_EXCEPTION- Mappings:
Namespace Name Mixin selector official f
Labx;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13793
Lnet/minecraft/class_3164;field_13793:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named GET_UNKNOWN_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_UNKNOWN_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
GET_MULTIPLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GET_MULTIPLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official g
Labx;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13794
Lnet/minecraft/class_3164;field_13794:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named GET_MULTIPLE_EXCEPTION
Lnet/minecraft/server/command/DataCommand;GET_MULTIPLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
MODIFY_EXPECTED_LIST_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MODIFY_EXPECTED_LIST_EXCEPTION- Mappings:
Namespace Name Mixin selector official h
Labx;h:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13795
Lnet/minecraft/class_3164;field_13795:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named MODIFY_EXPECTED_LIST_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_EXPECTED_LIST_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MODIFY_EXPECTED_OBJECT_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MODIFY_EXPECTED_OBJECT_EXCEPTION- Mappings:
Namespace Name Mixin selector official i
Labx;i:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13797
Lnet/minecraft/class_3164;field_13797:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named MODIFY_EXPECTED_OBJECT_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_EXPECTED_OBJECT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MODIFY_INVALID_INDEX_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MODIFY_INVALID_INDEX_EXCEPTION- Mappings:
Namespace Name Mixin selector official j
Labx;j:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_17441
Lnet/minecraft/class_3164;field_17441:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named MODIFY_INVALID_INDEX_EXCEPTION
Lnet/minecraft/server/command/DataCommand;MODIFY_INVALID_INDEX_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
OBJECT_TYPE_FACTORIES
- Mappings:
Namespace Name Mixin selector official a
Labx;a:Ljava/util/List;
intermediary field_13790
Lnet/minecraft/class_3164;field_13790:Ljava/util/List;
named OBJECT_TYPE_FACTORIES
Lnet/minecraft/server/command/DataCommand;OBJECT_TYPE_FACTORIES:Ljava/util/List;
-
TARGET_OBJECT_TYPES
- Mappings:
Namespace Name Mixin selector official b
Labx;b:Ljava/util/List;
intermediary field_13798
Lnet/minecraft/class_3164;field_13798:Ljava/util/List;
named TARGET_OBJECT_TYPES
Lnet/minecraft/server/command/DataCommand;TARGET_OBJECT_TYPES:Ljava/util/List;
-
SOURCE_OBJECT_TYPES
- Mappings:
Namespace Name Mixin selector official c
Labx;c:Ljava/util/List;
intermediary field_13792
Lnet/minecraft/class_3164;field_13792:Ljava/util/List;
named SOURCE_OBJECT_TYPES
Lnet/minecraft/server/command/DataCommand;SOURCE_OBJECT_TYPES:Ljava/util/List;
-
-
Constructor Details
-
DataCommand
public DataCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Labx;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13905
Lnet/minecraft/class_3164;method_13905(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/DataCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeInsert
private static int executeInsert(int integer, NbtCompound sourceNbt, NbtPathArgumentType.NbtPath path, List<NbtElement> elements) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Labx;a(ILob;Lec$g;Ljava/util/List;)I
intermediary method_13910
Lnet/minecraft/class_3164;method_13910(ILnet/minecraft/class_2487;Lnet/minecraft/class_2203$class_2209;Ljava/util/List;)I
named executeInsert
Lnet/minecraft/server/command/DataCommand;executeInsert(ILnet/minecraft/nbt/NbtCompound;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Ljava/util/List;)I
-
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 official a
Labx;a(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;
named addModifyArgument
Lnet/minecraft/server/command/DataCommand;addModifyArgument(Ljava/util/function/BiConsumer;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
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 official a
Labx;a(Lcom/mojang/brigadier/context/CommandContext;Labx$c;Labx$a;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
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
-
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 official a
Labx;a(Ldm;Labw;Lec$g;)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
named executeRemove
Lnet/minecraft/server/command/DataCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;)I
-
getNbt
private 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 official a
Labx;a(Lec$g;Labw;)Lot;
intermediary method_13921
Lnet/minecraft/class_3164;method_13921(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2520;
named getNbt
Lnet/minecraft/server/command/DataCommand;getNbt(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtElement;
-
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 official b
Labx;b(Ldm;Labw;Lec$g;)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
named executeGet
Lnet/minecraft/server/command/DataCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;)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 official a
Labx;a(Ldm;Labw;Lec$g;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
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
-
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 official a
Labx;a(Ldm;Labw;)I
intermediary method_13908
Lnet/minecraft/class_3164;method_13908(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;)I
named executeGet
Lnet/minecraft/server/command/DataCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;)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 official a
Labx;a(Ldm;Labw;Lob;)I
intermediary method_13901
Lnet/minecraft/class_3164;method_13901(Lnet/minecraft/class_2168;Lnet/minecraft/class_3162;Lnet/minecraft/class_2487;)I
named executeMerge
Lnet/minecraft/server/command/DataCommand;executeMerge(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/DataCommandObject;Lnet/minecraft/nbt/NbtCompound;)I
-