Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
- Mappings:
Namespace Name named net/minecraft/server/command/TestCommandintermediary net/minecraft/class_4527official th
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final intprivate static final intstatic final intstatic final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final intstatic final intprivate static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancheckStructure(ServerCommandSource source, Identifier templateId) private static intexecuteCreate(ServerCommandSource source, Identifier identifier, int x, int y, int z) private static intexecuteExport(ServerCommandSource source, RegistryEntry<TestInstance> instance) private static intexecutePos(ServerCommandSource source, String variableName) private static Optional<GameTestState> find(BlockPos pos, ServerCommandSource source, TestAttemptConfig config) private static BlockPosgetStructurePos(ServerCommandSource source) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> method_67002(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) private static intmethod_67009(TestFinder testFinder) private static intmethod_67012(TestFinder testFinder, TestAttemptConfig testAttemptConfig, int int2, int int3) private static intmethod_67020(TestFinder testFinder) private static intmethod_67023(TestFinder testFinder) private static intmethod_67026(TestFinder testFinder) private static intmethod_67029(TestFinder testFinder) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) private static intreset(ServerCommandSource source, GameTestState state) static intstart(ServerCommandSource source, TestRunContext context) private static intstop()private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, class_10674 finder, int rotationSteps) private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, class_10675 finder) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder)
-
Field Details
-
field_33180
public static final int field_33180- See Also:
- Mappings:
Namespace Name Mixin selector named field_33180Lnet/minecraft/server/command/TestCommand;field_33180:Iintermediary field_33180Lnet/minecraft/class_4527;field_33180:Iofficial aLth;a:I
-
field_33181
public static final int field_33181- See Also:
- Mappings:
Namespace Name Mixin selector named field_33181Lnet/minecraft/server/command/TestCommand;field_33181:Iintermediary field_33181Lnet/minecraft/class_4527;field_33181:Iofficial bLth;b:I
-
field_53735
public static final int field_53735- See Also:
- Mappings:
Namespace Name Mixin selector named field_53735Lnet/minecraft/server/command/TestCommand;field_53735:Iintermediary field_53735Lnet/minecraft/class_4527;field_53735:Iofficial cLth;c:I
-
field_53736
public static final int field_53736- See Also:
- Mappings:
Namespace Name Mixin selector named field_53736Lnet/minecraft/server/command/TestCommand;field_53736:Iintermediary field_53736Lnet/minecraft/class_4527;field_53736:Iofficial dLth;d:I
-
field_33178
private static final int field_33178- See Also:
- Mappings:
Namespace Name Mixin selector named field_33178Lnet/minecraft/server/command/TestCommand;field_33178:Iintermediary field_33178Lnet/minecraft/class_4527;field_33178:Iofficial eLth;e:I
-
field_33179
private static final int field_33179- See Also:
- Mappings:
Namespace Name Mixin selector named field_33179Lnet/minecraft/server/command/TestCommand;field_33179:Iintermediary field_33179Lnet/minecraft/class_4527;field_33179:Iofficial fLth;f:I
-
field_33182
private static final int field_33182- See Also:
- Mappings:
Namespace Name Mixin selector named field_33182Lnet/minecraft/server/command/TestCommand;field_33182:Iintermediary field_33182Lnet/minecraft/class_4527;field_33182:Iofficial gLth;g:I
-
field_33183
private static final int field_33183- See Also:
- Mappings:
Namespace Name Mixin selector named field_33183Lnet/minecraft/server/command/TestCommand;field_33183:Iintermediary field_33183Lnet/minecraft/class_4527;field_33183:Iofficial hLth;h:I
-
field_33184
private static final int field_33184- See Also:
- Mappings:
Namespace Name Mixin selector named field_33184Lnet/minecraft/server/command/TestCommand;field_33184:Iintermediary field_33184Lnet/minecraft/class_4527;field_33184:Iofficial iLth;i:I
-
field_33185
private static final int field_33185- See Also:
- Mappings:
Namespace Name Mixin selector named field_33185Lnet/minecraft/server/command/TestCommand;field_33185:Iintermediary field_33185Lnet/minecraft/class_4527;field_33185:Iofficial jLth;j:I
-
field_33186
private static final int field_33186- See Also:
- Mappings:
Namespace Name Mixin selector named field_33186Lnet/minecraft/server/command/TestCommand;field_33186:Iintermediary field_33186Lnet/minecraft/class_4527;field_33186:Iofficial kLth;k:I
-
NO_TESTS_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_TESTS_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_TESTS_EXCEPTIONLnet/minecraft/server/command/TestCommand;NO_TESTS_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_56194Lnet/minecraft/class_4527;field_56194:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official lLth;l:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
TEST_INSTANCE_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TEST_INSTANCE_NOT_FOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector named TEST_INSTANCE_NOT_FOUND_EXCEPTIONLnet/minecraft/server/command/TestCommand;TEST_INSTANCE_NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_56195Lnet/minecraft/class_4527;field_56195:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official mLth;m:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector named EXPORT_STRUCTURES_NOT_FOUND_EXCEPTIONLnet/minecraft/server/command/TestCommand;EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_56196Lnet/minecraft/class_4527;field_56196:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official nLth;n:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
NO_TEST_INSTANCES_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_TEST_INSTANCES_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_TEST_INSTANCES_EXCEPTIONLnet/minecraft/server/command/TestCommand;NO_TEST_INSTANCES_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_56197Lnet/minecraft/class_4527;field_56197:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official oLth;o:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
NO_TEST_CONTAINING_POS_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType NO_TEST_CONTAINING_POS_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_TEST_CONTAINING_POS_EXCEPTIONLnet/minecraft/server/command/TestCommand;NO_TEST_CONTAINING_POS_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;intermediary field_56198Lnet/minecraft/class_4527;field_56198:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;official pLth;p:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
-
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
method_67009
- Mappings:
Namespace Name Mixin selector named method_67009Lnet/minecraft/server/command/TestCommand;method_67009(Lnet/minecraft/server/command/TestFinder;)Iintermediary method_67009Lnet/minecraft/class_4527;method_67009(Lnet/minecraft/class_9123;)Iofficial aLth;a(Ltk;)I
-
method_67020
private static int method_67020(TestFinder testFinder) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named method_67020Lnet/minecraft/server/command/TestCommand;method_67020(Lnet/minecraft/server/command/TestFinder;)Iintermediary method_67020Lnet/minecraft/class_4527;method_67020(Lnet/minecraft/class_9123;)Iofficial bLth;b(Ltk;)I
-
method_67023
private static int method_67023(TestFinder testFinder) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named method_67023Lnet/minecraft/server/command/TestCommand;method_67023(Lnet/minecraft/server/command/TestFinder;)Iintermediary method_67023Lnet/minecraft/class_4527;method_67023(Lnet/minecraft/class_9123;)Iofficial cLth;c(Ltk;)I
-
method_67026
- Mappings:
Namespace Name Mixin selector named method_67026Lnet/minecraft/server/command/TestCommand;method_67026(Lnet/minecraft/server/command/TestFinder;)Iintermediary method_67026Lnet/minecraft/class_4527;method_67026(Lnet/minecraft/class_9123;)Iofficial dLth;d(Ltk;)I
-
method_67012
private static int method_67012(TestFinder testFinder, TestAttemptConfig testAttemptConfig, int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_67012Lnet/minecraft/server/command/TestCommand;method_67012(Lnet/minecraft/server/command/TestFinder;Lnet/minecraft/test/TestAttemptConfig;II)Iintermediary method_67012Lnet/minecraft/class_4527;method_67012(Lnet/minecraft/class_9123;Lnet/minecraft/class_9118;II)Iofficial aLth;a(Ltk;Lte;II)I
-
method_67029
private static int method_67029(TestFinder testFinder) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named method_67029Lnet/minecraft/server/command/TestCommand;method_67029(Lnet/minecraft/server/command/TestFinder;)Iintermediary method_67029Lnet/minecraft/class_4527;method_67029(Lnet/minecraft/class_9123;)Iofficial eLth;e(Ltk;)I
-
testAttemptConfig
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder) - Mappings:
Namespace Name Mixin selector named testAttemptConfigLnet/minecraft/server/command/TestCommand;testAttemptConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56258Lnet/minecraft/class_4527;method_56258(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;official aLth;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lanq;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
testAttemptConfig
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618) - Mappings:
Namespace Name Mixin selector named testAttemptConfigLnet/minecraft/server/command/TestCommand;testAttemptConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56257Lnet/minecraft/class_4527;method_56257(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;official aLth;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lanq;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
testAttemptAndPlacementConfig
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, class_10618<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> class_10618) - Mappings:
Namespace Name Mixin selector named testAttemptAndPlacementConfigLnet/minecraft/server/command/TestCommand;testAttemptAndPlacementConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56268Lnet/minecraft/class_4527;method_56268(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;official bLth;b(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lanq;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/TestCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)Vintermediary method_22270Lnet/minecraft/class_4527;method_22270(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vofficial aLth;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
-
method_67002
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> method_67002(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) - Mappings:
Namespace Name Mixin selector named method_67002Lnet/minecraft/server/command/TestCommand;method_67002(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary method_67002Lnet/minecraft/class_4527;method_67002(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;official aLth;a(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
reset
- Mappings:
Namespace Name Mixin selector named resetLnet/minecraft/server/command/TestCommand;reset(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/GameTestState;)Iintermediary method_56267Lnet/minecraft/class_4527;method_56267(Lnet/minecraft/class_2168;Lnet/minecraft/class_4517;)Iofficial aLth;a(Lex;Lso;)I
-
stream
private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, class_10675 finder) - Mappings:
Namespace Name Mixin selector named streamLnet/minecraft/server/command/TestCommand;stream(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;Lnet/minecraft/class_10675;)Ljava/util/stream/Stream;intermediary method_56261Lnet/minecraft/class_4527;method_56261(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_10675;)Ljava/util/stream/Stream;official aLth;a(Lex;Lte;Ltn;)Ljava/util/stream/Stream;
-
stream
private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, class_10674 finder, int rotationSteps) - Mappings:
Namespace Name Mixin selector named streamLnet/minecraft/server/command/TestCommand;stream(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;Lnet/minecraft/class_10674;I)Ljava/util/stream/Stream;intermediary method_56262Lnet/minecraft/class_4527;method_56262(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_10674;I)Ljava/util/stream/Stream;official aLth;a(Lex;Lte;Ltm;I)Ljava/util/stream/Stream;
-
find
private static Optional<GameTestState> find(BlockPos pos, ServerCommandSource source, TestAttemptConfig config) - Mappings:
Namespace Name Mixin selector named findLnet/minecraft/server/command/TestCommand;find(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;)Ljava/util/Optional;intermediary method_56264Lnet/minecraft/class_4527;method_56264(Lnet/minecraft/class_2338;Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;)Ljava/util/Optional;official aLth;a(Ljj;Lex;Lte;)Ljava/util/Optional;
-
executeCreate
private static int executeCreate(ServerCommandSource source, Identifier identifier, int x, int y, int z) - Mappings:
Namespace Name Mixin selector named executeCreateLnet/minecraft/server/command/TestCommand;executeCreate(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;III)Iintermediary method_22268Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;III)Iofficial aLth;a(Lex;Lald;III)I
-
executePos
private static int executePos(ServerCommandSource source, String variableName) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executePosLnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)Iintermediary method_22264Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)Iofficial aLth;a(Lex;Ljava/lang/String;)I
-
stop
private static int stop()- Mappings:
Namespace Name Mixin selector named stopLnet/minecraft/server/command/TestCommand;stop()Iintermediary method_56254Lnet/minecraft/class_4527;method_56254()Iofficial aLth;a()I
-
start
- Mappings:
Namespace Name Mixin selector named startLnet/minecraft/server/command/TestCommand;start(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestRunContext;)Iintermediary method_56259Lnet/minecraft/class_4527;method_56259(Lnet/minecraft/class_2168;Lnet/minecraft/class_4520;)Iofficial aLth;a(Lex;Lst;)I
-
executeExport
- Mappings:
Namespace Name Mixin selector named executeExportLnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry;)Iintermediary method_22282Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;)Iofficial aLth;a(Lex;Ljs;)I
-
checkStructure
- Mappings:
Namespace Name Mixin selector named checkStructureLnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;)Zintermediary method_54904Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;)Zofficial aLth;a(Lex;Lald;)Z
-
getStructurePos
- Mappings:
Namespace Name Mixin selector named getStructurePosLnet/minecraft/server/command/TestCommand;getStructurePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/BlockPos;intermediary method_54850Lnet/minecraft/class_4527;method_54850(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;official aLth;a(Lex;)Ljj;
-