Class TestCommand

java.lang.Object
net.minecraft.server.command.TestCommand

public class TestCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/TestCommand
intermediary net/minecraft/class_4527
official ts
  • Field Details

    • field_33180

      public static final int field_33180
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33180 Lnet/minecraft/server/command/TestCommand;field_33180:I
      intermediary field_33180 Lnet/minecraft/class_4527;field_33180:I
      official a Lts;a:I
    • field_33181

      public static final int field_33181
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33181 Lnet/minecraft/server/command/TestCommand;field_33181:I
      intermediary field_33181 Lnet/minecraft/class_4527;field_33181:I
      official b Lts;b:I
    • field_53735

      public static final int field_53735
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_53735 Lnet/minecraft/server/command/TestCommand;field_53735:I
      intermediary field_53735 Lnet/minecraft/class_4527;field_53735:I
      official c Lts;c:I
    • field_53736

      public static final int field_53736
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_53736 Lnet/minecraft/server/command/TestCommand;field_53736:I
      intermediary field_53736 Lnet/minecraft/class_4527;field_53736:I
      official d Lts;d:I
    • field_33178

      private static final int field_33178
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33178 Lnet/minecraft/server/command/TestCommand;field_33178:I
      intermediary field_33178 Lnet/minecraft/class_4527;field_33178:I
      official e Lts;e:I
    • field_33179

      private static final int field_33179
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33179 Lnet/minecraft/server/command/TestCommand;field_33179:I
      intermediary field_33179 Lnet/minecraft/class_4527;field_33179:I
      official f Lts;f:I
    • field_33182

      private static final int field_33182
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33182 Lnet/minecraft/server/command/TestCommand;field_33182:I
      intermediary field_33182 Lnet/minecraft/class_4527;field_33182:I
      official g Lts;g:I
    • field_33183

      private static final int field_33183
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33183 Lnet/minecraft/server/command/TestCommand;field_33183:I
      intermediary field_33183 Lnet/minecraft/class_4527;field_33183:I
      official h Lts;h:I
    • field_33184

      private static final int field_33184
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33184 Lnet/minecraft/server/command/TestCommand;field_33184:I
      intermediary field_33184 Lnet/minecraft/class_4527;field_33184:I
      official i Lts;i:I
    • field_33185

      private static final int field_33185
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33185 Lnet/minecraft/server/command/TestCommand;field_33185:I
      intermediary field_33185 Lnet/minecraft/class_4527;field_33185:I
      official j Lts;j:I
    • field_33186

      private static final int field_33186
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33186 Lnet/minecraft/server/command/TestCommand;field_33186:I
      intermediary field_33186 Lnet/minecraft/class_4527;field_33186:I
      official k Lts;k:I
    • NO_TESTS_TO_CLEAR_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_TESTS_TO_CLEAR_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NO_TESTS_TO_CLEAR_EXCEPTION Lnet/minecraft/server/command/TestCommand;NO_TESTS_TO_CLEAR_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_56194 Lnet/minecraft/class_4527;field_56194:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official l Lts;l:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • NO_TESTS_TO_RESET_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_TESTS_TO_RESET_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NO_TESTS_TO_RESET_EXCEPTION Lnet/minecraft/server/command/TestCommand;NO_TESTS_TO_RESET_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_56408 Lnet/minecraft/class_4527;field_56408:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official m Lts;m: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_EXCEPTION Lnet/minecraft/server/command/TestCommand;TEST_INSTANCE_NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_56195 Lnet/minecraft/class_4527;field_56195:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official n Lts;n: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_EXCEPTION Lnet/minecraft/server/command/TestCommand;EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_56196 Lnet/minecraft/class_4527;field_56196:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official o Lts;o: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_EXCEPTION Lnet/minecraft/server/command/TestCommand;NO_TEST_INSTANCES_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_56197 Lnet/minecraft/class_4527;field_56197:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official p Lts;p: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_EXCEPTION Lnet/minecraft/server/command/TestCommand;NO_TEST_CONTAINING_POS_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
      intermediary field_56198 Lnet/minecraft/class_4527;field_56198:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
      official q Lts;q:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
    • TOO_LARGE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType TOO_LARGE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named TOO_LARGE_EXCEPTION Lnet/minecraft/server/command/TestCommand;TOO_LARGE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_56409 Lnet/minecraft/class_4527;field_56409:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official r Lts;r:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • TestCommand

      public TestCommand()
  • Method Details

    • reset

      private static int reset(TestFinder finder) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/server/command/TestCommand;reset(Lnet/minecraft/server/command/TestFinder;)I
      intermediary method_67009 Lnet/minecraft/class_4527;method_67009(Lnet/minecraft/class_9123;)I
      official a Lts;a(Ltv;)I
    • clear

      private static int clear(TestFinder finder) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/server/command/TestCommand;clear(Lnet/minecraft/server/command/TestFinder;)I
      intermediary method_67020 Lnet/minecraft/class_4527;method_67020(Lnet/minecraft/class_9123;)I
      official b Lts;b(Ltv;)I
    • export

      private static int export(TestFinder finder) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named export Lnet/minecraft/server/command/TestCommand;export(Lnet/minecraft/server/command/TestFinder;)I
      intermediary method_67023 Lnet/minecraft/class_4527;method_67023(Lnet/minecraft/class_9123;)I
      official c Lts;c(Ltv;)I
    • start

      private static int start(TestFinder finder)
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/server/command/TestCommand;start(Lnet/minecraft/server/command/TestFinder;)I
      intermediary method_67026 Lnet/minecraft/class_4527;method_67026(Lnet/minecraft/class_9123;)I
      official d Lts;d(Ltv;)I
    • start

      private static int start(TestFinder finder, TestAttemptConfig config, int rotationSteps, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/server/command/TestCommand;start(Lnet/minecraft/server/command/TestFinder;Lnet/minecraft/test/TestAttemptConfig;II)I
      intermediary method_67012 Lnet/minecraft/class_4527;method_67012(Lnet/minecraft/class_9123;Lnet/minecraft/class_9118;II)I
      official a Lts;a(Ltv;Ltp;II)I
    • locate

      private static int locate(TestFinder finder) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named locate Lnet/minecraft/server/command/TestCommand;locate(Lnet/minecraft/server/command/TestFinder;)I
      intermediary method_67029 Lnet/minecraft/class_4527;method_67029(Lnet/minecraft/class_9123;)I
      official e Lts;e(Ltv;)I
    • testAttemptConfig

      private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>,TestFinder> finderGetter, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?>> extraConfigAdder)
      Mappings:
      Namespace Name Mixin selector
      named testAttemptConfig Lnet/minecraft/server/command/TestCommand;testAttemptConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/command/ArgumentGetter;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      intermediary method_56258 Lnet/minecraft/class_4527;method_56258(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      official a Lts;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Laos;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, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>,TestFinder> finderGetter)
      Mappings:
      Namespace Name Mixin selector
      named testAttemptConfig Lnet/minecraft/server/command/TestCommand;testAttemptConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/command/ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      intermediary method_56257 Lnet/minecraft/class_4527;method_56257(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      official a Lts;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Laos;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
    • testAttemptAndPlacementConfig

      private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>,TestFinder> finderGetter)
      Mappings:
      Namespace Name Mixin selector
      named testAttemptAndPlacementConfig Lnet/minecraft/server/command/TestCommand;testAttemptAndPlacementConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/command/ArgumentGetter;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      intermediary method_56268 Lnet/minecraft/class_4527;method_56268(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_10618;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      official b Lts;b(Lcom/mojang/brigadier/builder/ArgumentBuilder;Laos;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/TestCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V
      intermediary method_22270 Lnet/minecraft/class_4527;method_22270(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V
      official a Lts;a(Lcom/mojang/brigadier/CommandDispatcher;Leg;)V
    • suggestTestFunctions

      public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestTestFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      named suggestTestFunctions Lnet/minecraft/server/command/TestCommand;suggestTestFunctions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_67002 Lnet/minecraft/class_4527;method_67002(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      official a Lts;a(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
    • reset

      private static int reset(ServerCommandSource source, GameTestState state)
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/server/command/TestCommand;reset(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/GameTestState;)I
      intermediary method_56267 Lnet/minecraft/class_4527;method_56267(Lnet/minecraft/class_2168;Lnet/minecraft/class_4517;)I
      official a Lts;a(Lek;Lsz;)I
    • stream

      private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceBlockFinder finder)
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/server/command/TestCommand;stream(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;Lnet/minecraft/test/TestInstanceBlockFinder;)Ljava/util/stream/Stream;
      intermediary method_56261 Lnet/minecraft/class_4527;method_56261(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_10675;)Ljava/util/stream/Stream;
      official a Lts;a(Lek;Ltp;Lty;)Ljava/util/stream/Stream;
    • stream

      private static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceFinder finder, int rotationSteps)
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/server/command/TestCommand;stream(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;Lnet/minecraft/test/TestInstanceFinder;I)Ljava/util/stream/Stream;
      intermediary method_56262 Lnet/minecraft/class_4527;method_56262(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_10674;I)Ljava/util/stream/Stream;
      official a Lts;a(Lek;Ltp;Ltx;I)Ljava/util/stream/Stream;
    • find

      private static Optional<GameTestState> find(BlockPos pos, ServerCommandSource source, TestAttemptConfig config)
      Mappings:
      Namespace Name Mixin selector
      named find Lnet/minecraft/server/command/TestCommand;find(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestAttemptConfig;)Ljava/util/Optional;
      intermediary method_56264 Lnet/minecraft/class_4527;method_56264(Lnet/minecraft/class_2338;Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;)Ljava/util/Optional;
      official a Lts;a(Ljb;Lek;Ltp;)Ljava/util/Optional;
    • executeCreate

      private static int executeCreate(ServerCommandSource source, Identifier id, int x, int y, int z) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named executeCreate Lnet/minecraft/server/command/TestCommand;executeCreate(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;III)I
      intermediary method_22268 Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;III)I
      official a Lts;a(Lek;Lame;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 executePos Lnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
      intermediary method_22264 Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      official a Lts;a(Lek;Ljava/lang/String;)I
    • stop

      private static int stop()
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/server/command/TestCommand;stop()I
      intermediary method_56254 Lnet/minecraft/class_4527;method_56254()I
      official a Lts;a()I
    • start

      public static int start(ServerCommandSource source, TestRunContext context)
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/server/command/TestCommand;start(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestRunContext;)I
      intermediary method_56259 Lnet/minecraft/class_4527;method_56259(Lnet/minecraft/class_2168;Lnet/minecraft/class_4520;)I
      official a Lts;a(Lek;Lte;)I
    • executeExport

      private static int executeExport(ServerCommandSource source, RegistryEntry<TestInstance> instance)
      Mappings:
      Namespace Name Mixin selector
      named executeExport Lnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry;)I
      intermediary method_22282 Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880;)I
      official a Lts;a(Lek;Ljl;)I
    • checkStructure

      private static boolean checkStructure(ServerCommandSource source, Identifier templateId)
      Mappings:
      Namespace Name Mixin selector
      named checkStructure Lnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;)Z
      intermediary method_54904 Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;)Z
      official a Lts;a(Lek;Lame;)Z
    • getStructurePos

      private static BlockPos getStructurePos(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      named getStructurePos Lnet/minecraft/server/command/TestCommand;getStructurePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_54850 Lnet/minecraft/class_4527;method_54850(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;
      official a Lts;a(Lek;)Ljb;