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 ug
  • 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 Lug;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 Lug;b:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/command/TestCommand;LOGGER:Lorg/slf4j/Logger;
      intermediary field_45665 Lnet/minecraft/class_4527;field_45665:Lorg/slf4j/Logger;
      official c Lug;c:Lorg/slf4j/Logger;
    • 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 d Lug;d: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 e Lug;e: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 f Lug;f: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 g Lug;g: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 h Lug;h: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 i Lug;i: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 j Lug;j:I
    • BLOCK_ENTITY_NOT_FOUND_TEXT

      private static final String BLOCK_ENTITY_NOT_FOUND_TEXT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_ENTITY_NOT_FOUND_TEXT Lnet/minecraft/server/command/TestCommand;BLOCK_ENTITY_NOT_FOUND_TEXT:Ljava/lang/String;
      intermediary field_48504 Lnet/minecraft/class_4527;field_48504:Ljava/lang/String;
      official k Lug;k:Ljava/lang/String;
    • RUNNERS

      private static final TestFinder.Runners<TestCommand.Runner> RUNNERS
      Mappings:
      Namespace Name Mixin selector
      named RUNNERS Lnet/minecraft/server/command/TestCommand;RUNNERS:Lnet/minecraft/server/command/TestFinder$Runners;
      intermediary field_48505 Lnet/minecraft/class_4527;field_48505:Lnet/minecraft/class_9123$class_9124;
      official l Lug;l:Luh$a;
  • Constructor Details

    • TestCommand

      public TestCommand()
  • Method Details

    • testAttemptConfig

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

      private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>,TestCommand.Runner> callback)
      Mappings:
      Namespace Name Mixin selector
      named testAttemptAndPlacementConfig Lnet/minecraft/server/command/TestCommand;testAttemptAndPlacementConfig(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      intermediary method_56268 Lnet/minecraft/class_4527;method_56268(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      official b Lug;b(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
    • register

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

      private static int reset(GameTestState state)
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/server/command/TestCommand;reset(Lnet/minecraft/test/GameTestState;)I
      intermediary method_56267 Lnet/minecraft/class_4527;method_56267(Lnet/minecraft/class_4517;)I
      official a Lug;a(Lto;)I
    • stream

      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/StructureBlockFinder;)Ljava/util/stream/Stream;
      intermediary method_56261 Lnet/minecraft/class_4527;method_56261(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_9119;)Ljava/util/stream/Stream;
      official a Lug;a(Lep;Lub;Luc;)Ljava/util/stream/Stream;
    • stream

      static Stream<GameTestState> stream(ServerCommandSource source, TestAttemptConfig config, TestFunctionFinder 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/TestFunctionFinder;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_9125;I)Ljava/util/stream/Stream;
      official a Lug;a(Lep;Lub;Luk;I)Ljava/util/stream/Stream;
    • find

      private static Optional<GameTestState> find(BlockPos pos, ServerWorld world, TestAttemptConfig config)
      Mappings:
      Namespace Name Mixin selector
      named find Lnet/minecraft/server/command/TestCommand;find(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestAttemptConfig;)Ljava/util/Optional;
      intermediary method_56264 Lnet/minecraft/class_4527;method_56264(Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;Lnet/minecraft/class_9118;)Ljava/util/Optional;
      official a Lug;a(Liz;Larf;Lub;)Ljava/util/Optional;
    • executeCreate

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

      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 Lug;a()I
    • start

      static int start(ServerCommandSource source, ServerWorld world, TestRunContext context)
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/server/command/TestCommand;start(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestRunContext;)I
      intermediary method_56259 Lnet/minecraft/class_4527;method_56259(Lnet/minecraft/class_2168;Lnet/minecraft/class_3218;Lnet/minecraft/class_4520;)I
      official a Lug;a(Lep;Larf;Ltr;)I
    • export

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

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

      private static boolean checkStructure(ServerWorld world, String templateId)
      Mappings:
      Namespace Name Mixin selector
      named checkStructure Lnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;)Z
      intermediary method_54904 Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_3218;Ljava/lang/String;)Z
      official a Lug;a(Larf;Ljava/lang/String;)Z
    • getStructurePos

      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 Lug;a(Lep;)Liz;
    • sendMessage

      static void sendMessage(ServerCommandSource source, String message)
      Mappings:
      Namespace Name Mixin selector
      named sendMessage Lnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)V
      intermediary method_22278 Lnet/minecraft/class_4527;method_22278(Lnet/minecraft/class_2168;Ljava/lang/String;)V
      official c Lug;c(Lep;Ljava/lang/String;)V
    • executeImport

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

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