Class TestCommand

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a:Lorg/slf4j/Logger;
      intermediary field_45665 Lnet/minecraft/class_4527;field_45665:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/command/TestCommand;LOGGER:Lorg/slf4j/Logger;
    • field_33178

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

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

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

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

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

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

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

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

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

    • TestCommand

      public TestCommand()
  • Method Details

    • register

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

      private static int executeCreate(ServerCommandSource source, String testName, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Ljava/lang/String;III)I
      intermediary method_22268 Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Ljava/lang/String;III)I
      named executeCreate Lnet/minecraft/server/command/TestCommand;executeCreate(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;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
      official a Lsd;a(Lds;Ljava/lang/String;)I
      intermediary method_22264 Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      named executePos Lnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
    • executeRunThis

      private static int executeRunThis(ServerCommandSource source, boolean rerunUntilFailed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Z)I
      intermediary method_22277 Lnet/minecraft/class_4527;method_22277(Lnet/minecraft/class_2168;Z)I
      named executeRunThis Lnet/minecraft/server/command/TestCommand;executeRunThis(Lnet/minecraft/server/command/ServerCommandSource;Z)I
    • executeResetThis

      private static int executeResetThis(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;)I
      intermediary method_55454 Lnet/minecraft/class_4527;method_55454(Lnet/minecraft/class_2168;)I
      named executeResetThis Lnet/minecraft/server/command/TestCommand;executeResetThis(Lnet/minecraft/server/command/ServerCommandSource;)I
    • executeRunThese

      private static int executeRunThese(ServerCommandSource source, boolean rerunUntilFailed)
      Mappings:
      Namespace Name Mixin selector
      official b Lsd;b(Lds;Z)I
      intermediary method_22281 Lnet/minecraft/class_4527;method_22281(Lnet/minecraft/class_2168;Z)I
      named executeRunThese Lnet/minecraft/server/command/TestCommand;executeRunThese(Lnet/minecraft/server/command/ServerCommandSource;Z)I
    • run

      private static void run(ServerWorld world, BlockPos pos, @Nullable @Nullable TestSet tests, boolean rerunUntilFailed)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Land;Lhx;Lrz;Z)V
      intermediary method_22272 Lnet/minecraft/class_4527;method_22272(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4524;Z)V
      named run Lnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestSet;Z)V
    • checkStructure

      private static boolean checkStructure(ServerWorld world, GameTestState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Land;Lro;)Z
      intermediary method_54904 Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_3218;Lnet/minecraft/class_4517;)Z
      named checkStructure Lnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/GameTestState;)Z
    • onCompletion

      static void onCompletion(ServerWorld world, TestSet tests)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Land;Lrz;)V
      intermediary method_22280 Lnet/minecraft/class_4527;method_22280(Lnet/minecraft/class_3218;Lnet/minecraft/class_4524;)V
      named onCompletion Lnet/minecraft/server/command/TestCommand;onCompletion(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestSet;)V
    • executeClearAll

      private static int executeClearAll(ServerCommandSource source, int radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;I)I
      intermediary method_22265 Lnet/minecraft/class_4527;method_22265(Lnet/minecraft/class_2168;I)I
      named executeClearAll Lnet/minecraft/server/command/TestCommand;executeClearAll(Lnet/minecraft/server/command/ServerCommandSource;I)I
    • executeRun

      private static int executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Lse;I)I
      intermediary method_22266 Lnet/minecraft/class_4527;method_22266(Lnet/minecraft/class_2168;Lnet/minecraft/class_4529;I)I
      named executeRun Lnet/minecraft/server/command/TestCommand;executeRun(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestFunction;I)I
    • getStructurePos

      private static BlockPos getStructurePos(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official b Lsd;b(Lds;)Lhx;
      intermediary method_54850 Lnet/minecraft/class_4527;method_54850(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;
      named getStructurePos Lnet/minecraft/server/command/TestCommand;getStructurePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/BlockPos;
    • beforeBatch

      private static void beforeBatch(TestFunction testFunction, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lse;Land;)V
      intermediary method_23647 Lnet/minecraft/class_4527;method_23647(Lnet/minecraft/class_4529;Lnet/minecraft/class_3218;)V
      named beforeBatch Lnet/minecraft/server/command/TestCommand;beforeBatch(Lnet/minecraft/test/TestFunction;Lnet/minecraft/server/world/ServerWorld;)V
    • executeRunAll

      private static int executeRunAll(ServerCommandSource source, int rotationSteps, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;II)I
      intermediary method_22284 Lnet/minecraft/class_4527;method_22284(Lnet/minecraft/class_2168;II)I
      named executeRunAll Lnet/minecraft/server/command/TestCommand;executeRunAll(Lnet/minecraft/server/command/ServerCommandSource;II)I
    • executeRunAll

      private static int executeRunAll(ServerCommandSource source, String testClass, int rotationSteps, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Ljava/lang/String;II)I
      intermediary method_22267 Lnet/minecraft/class_4527;method_22267(Lnet/minecraft/class_2168;Ljava/lang/String;II)I
      named executeRunAll Lnet/minecraft/server/command/TestCommand;executeRunAll(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;II)I
    • executeRerunFailed

      private static int executeRerunFailed(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;ZII)I
      intermediary method_29411 Lnet/minecraft/class_4527;method_29411(Lnet/minecraft/class_2168;ZII)I
      named executeRerunFailed Lnet/minecraft/server/command/TestCommand;executeRerunFailed(Lnet/minecraft/server/command/ServerCommandSource;ZII)I
    • run

      private static void run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int testsPerRow)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Ljava/util/Collection;II)V
      intermediary method_22269 Lnet/minecraft/class_4527;method_22269(Lnet/minecraft/class_2168;Ljava/util/Collection;II)V
      named run Lnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;II)V
    • sendMessage

      private static void sendMessage(ServerCommandSource source, String message)
      Mappings:
      Namespace Name Mixin selector
      official b Lsd;b(Lds;Ljava/lang/String;)V
      intermediary method_22278 Lnet/minecraft/class_4527;method_22278(Lnet/minecraft/class_2168;Ljava/lang/String;)V
      named sendMessage Lnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)V
    • executeExport

      private static int executeExport(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official c Lsd;c(Lds;)I
      intermediary method_29413 Lnet/minecraft/class_4527;method_29413(Lnet/minecraft/class_2168;)I
      named executeExport Lnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;)I
    • executeExportThese

      private static int executeExportThese(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official d Lsd;d(Lds;)I
      intermediary method_52890 Lnet/minecraft/class_4527;method_52890(Lnet/minecraft/class_2168;)I
      named executeExportThese Lnet/minecraft/server/command/TestCommand;executeExportThese(Lnet/minecraft/server/command/ServerCommandSource;)I
    • export

      private static int export(ServerCommandSource source, StructureBlockBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Lds;Ldij;)I
      intermediary method_54905 Lnet/minecraft/class_4527;method_54905(Lnet/minecraft/class_2168;Lnet/minecraft/class_2633;)I
      named export Lnet/minecraft/server/command/TestCommand;export(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/block/entity/StructureBlockBlockEntity;)I
    • executeExport

      private static int executeExport(ServerCommandSource source, String testName)
      Mappings:
      Namespace Name Mixin selector
      official c Lsd;c(Lds;Ljava/lang/String;)I
      intermediary method_22282 Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      named executeExport Lnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
    • executeImport

      private static int executeImport(ServerCommandSource source, String testName)
      Mappings:
      Namespace Name Mixin selector
      official d Lsd;d(Lds;Ljava/lang/String;)I
      intermediary method_22285 Lnet/minecraft/class_4527;method_22285(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      named executeImport Lnet/minecraft/server/command/TestCommand;executeImport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
    • sendMessage

      private static void sendMessage(ServerWorld world, String message, Formatting formatting)
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a(Land;Ljava/lang/String;Ln;)V
      intermediary method_22275 Lnet/minecraft/class_4527;method_22275(Lnet/minecraft/class_3218;Ljava/lang/String;Lnet/minecraft/class_124;)V
      named sendMessage Lnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;Lnet/minecraft/util/Formatting;)V