Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
- Mappings:
Namespace Name official sdintermediary net/minecraft/class_4527named net/minecraft/server/command/TestCommand
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbeforeBatch(TestFunction testFunction, ServerWorld world) private static booleancheckStructure(ServerWorld world, GameTestState state) private static intexecuteClearAll(ServerCommandSource source, int radius) private static intexecuteCreate(ServerCommandSource source, String testName, int x, int y, int z) private static intexecuteExport(ServerCommandSource source) private static intexecuteExport(ServerCommandSource source, String testName) private static intprivate static intexecuteImport(ServerCommandSource source, String testName) private static intexecutePos(ServerCommandSource source, String variableName) private static intexecuteRerunFailed(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int testsPerRow) private static intexecuteResetThis(ServerCommandSource source) private static intexecuteRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps) private static intexecuteRunAll(ServerCommandSource source, int rotationSteps, int testsPerRow) private static intexecuteRunAll(ServerCommandSource source, String testClass, int rotationSteps, int testsPerRow) private static intexecuteRunThese(ServerCommandSource source, boolean rerunUntilFailed) private static intexecuteRunThis(ServerCommandSource source, boolean rerunUntilFailed) private static intexport(ServerCommandSource source, StructureBlockBlockEntity blockEntity) private static BlockPosgetStructurePos(ServerCommandSource source) (package private) static voidonCompletion(ServerWorld world, TestSet tests) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static voidrun(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int testsPerRow) private static voidrun(ServerWorld world, BlockPos pos, @Nullable TestSet tests, boolean rerunUntilFailed) private static voidsendMessage(ServerCommandSource source, String message) private static voidsendMessage(ServerWorld world, String message, Formatting formatting)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLsd;a:Lorg/slf4j/Logger;intermediary field_45665Lnet/minecraft/class_4527;field_45665:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/command/TestCommand;LOGGER:Lorg/slf4j/Logger;
-
field_33178
private static final int field_33178- See Also:
- Mappings:
Namespace Name Mixin selector official bLsd;b:Iintermediary field_33178Lnet/minecraft/class_4527;field_33178:Inamed field_33178Lnet/minecraft/server/command/TestCommand;field_33178:I
-
field_33179
private static final int field_33179- See Also:
- Mappings:
Namespace Name Mixin selector official cLsd;c:Iintermediary field_33179Lnet/minecraft/class_4527;field_33179:Inamed field_33179Lnet/minecraft/server/command/TestCommand;field_33179:I
-
field_33180
private static final int field_33180- See Also:
- Mappings:
Namespace Name Mixin selector official dLsd;d:Iintermediary field_33180Lnet/minecraft/class_4527;field_33180:Inamed field_33180Lnet/minecraft/server/command/TestCommand;field_33180:I
-
field_33181
private static final int field_33181- See Also:
- Mappings:
Namespace Name Mixin selector official eLsd;e:Iintermediary field_33181Lnet/minecraft/class_4527;field_33181:Inamed field_33181Lnet/minecraft/server/command/TestCommand;field_33181:I
-
field_33182
private static final int field_33182- See Also:
- Mappings:
Namespace Name Mixin selector official fLsd;f:Iintermediary field_33182Lnet/minecraft/class_4527;field_33182:Inamed field_33182Lnet/minecraft/server/command/TestCommand;field_33182:I
-
field_33183
private static final int field_33183- See Also:
- Mappings:
Namespace Name Mixin selector official gLsd;g:Iintermediary field_33183Lnet/minecraft/class_4527;field_33183:Inamed field_33183Lnet/minecraft/server/command/TestCommand;field_33183:I
-
field_33184
private static final int field_33184- See Also:
- Mappings:
Namespace Name Mixin selector official hLsd;h:Iintermediary field_33184Lnet/minecraft/class_4527;field_33184:Inamed field_33184Lnet/minecraft/server/command/TestCommand;field_33184:I
-
field_33185
private static final int field_33185- See Also:
- Mappings:
Namespace Name Mixin selector official iLsd;i:Iintermediary field_33185Lnet/minecraft/class_4527;field_33185:Inamed field_33185Lnet/minecraft/server/command/TestCommand;field_33185:I
-
field_33186
private static final int field_33186- See Also:
- Mappings:
Namespace Name Mixin selector official jLsd;j:Iintermediary field_33186Lnet/minecraft/class_4527;field_33186:Inamed field_33186Lnet/minecraft/server/command/TestCommand;field_33186:I
-
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_22270Lnet/minecraft/class_4527;method_22270(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TestCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeCreate
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;Ljava/lang/String;III)Iintermediary method_22268Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Ljava/lang/String;III)Inamed executeCreateLnet/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 aLsd;a(Lds;Ljava/lang/String;)Iintermediary method_22264Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executePosLnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
executeRunThis
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;Z)Iintermediary method_22277Lnet/minecraft/class_4527;method_22277(Lnet/minecraft/class_2168;Z)Inamed executeRunThisLnet/minecraft/server/command/TestCommand;executeRunThis(Lnet/minecraft/server/command/ServerCommandSource;Z)I
-
executeResetThis
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;)Iintermediary method_55454Lnet/minecraft/class_4527;method_55454(Lnet/minecraft/class_2168;)Inamed executeResetThisLnet/minecraft/server/command/TestCommand;executeResetThis(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeRunThese
- Mappings:
Namespace Name Mixin selector official bLsd;b(Lds;Z)Iintermediary method_22281Lnet/minecraft/class_4527;method_22281(Lnet/minecraft/class_2168;Z)Inamed executeRunTheseLnet/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 aLsd;a(Land;Lhx;Lrz;Z)Vintermediary method_22272Lnet/minecraft/class_4527;method_22272(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4524;Z)Vnamed runLnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestSet;Z)V
-
checkStructure
- Mappings:
Namespace Name Mixin selector official aLsd;a(Land;Lro;)Zintermediary method_54904Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_3218;Lnet/minecraft/class_4517;)Znamed checkStructureLnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/GameTestState;)Z
-
onCompletion
- Mappings:
Namespace Name Mixin selector official aLsd;a(Land;Lrz;)Vintermediary method_22280Lnet/minecraft/class_4527;method_22280(Lnet/minecraft/class_3218;Lnet/minecraft/class_4524;)Vnamed onCompletionLnet/minecraft/server/command/TestCommand;onCompletion(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestSet;)V
-
executeClearAll
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;I)Iintermediary method_22265Lnet/minecraft/class_4527;method_22265(Lnet/minecraft/class_2168;I)Inamed executeClearAllLnet/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 aLsd;a(Lds;Lse;I)Iintermediary method_22266Lnet/minecraft/class_4527;method_22266(Lnet/minecraft/class_2168;Lnet/minecraft/class_4529;I)Inamed executeRunLnet/minecraft/server/command/TestCommand;executeRun(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestFunction;I)I
-
getStructurePos
- Mappings:
Namespace Name Mixin selector official bLsd;b(Lds;)Lhx;intermediary method_54850Lnet/minecraft/class_4527;method_54850(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;named getStructurePosLnet/minecraft/server/command/TestCommand;getStructurePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/BlockPos;
-
beforeBatch
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lse;Land;)Vintermediary method_23647Lnet/minecraft/class_4527;method_23647(Lnet/minecraft/class_4529;Lnet/minecraft/class_3218;)Vnamed beforeBatchLnet/minecraft/server/command/TestCommand;beforeBatch(Lnet/minecraft/test/TestFunction;Lnet/minecraft/server/world/ServerWorld;)V
-
executeRunAll
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;II)Iintermediary method_22284Lnet/minecraft/class_4527;method_22284(Lnet/minecraft/class_2168;II)Inamed executeRunAllLnet/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 aLsd;a(Lds;Ljava/lang/String;II)Iintermediary method_22267Lnet/minecraft/class_4527;method_22267(Lnet/minecraft/class_2168;Ljava/lang/String;II)Inamed executeRunAllLnet/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 aLsd;a(Lds;ZII)Iintermediary method_29411Lnet/minecraft/class_4527;method_29411(Lnet/minecraft/class_2168;ZII)Inamed executeRerunFailedLnet/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 aLsd;a(Lds;Ljava/util/Collection;II)Vintermediary method_22269Lnet/minecraft/class_4527;method_22269(Lnet/minecraft/class_2168;Ljava/util/Collection;II)Vnamed runLnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;II)V
-
sendMessage
- Mappings:
Namespace Name Mixin selector official bLsd;b(Lds;Ljava/lang/String;)Vintermediary method_22278Lnet/minecraft/class_4527;method_22278(Lnet/minecraft/class_2168;Ljava/lang/String;)Vnamed sendMessageLnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)V
-
executeExport
- Mappings:
Namespace Name Mixin selector official cLsd;c(Lds;)Iintermediary method_29413Lnet/minecraft/class_4527;method_29413(Lnet/minecraft/class_2168;)Inamed executeExportLnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeExportThese
- Mappings:
Namespace Name Mixin selector official dLsd;d(Lds;)Iintermediary method_52890Lnet/minecraft/class_4527;method_52890(Lnet/minecraft/class_2168;)Inamed executeExportTheseLnet/minecraft/server/command/TestCommand;executeExportThese(Lnet/minecraft/server/command/ServerCommandSource;)I
-
export
- Mappings:
Namespace Name Mixin selector official aLsd;a(Lds;Ldij;)Iintermediary method_54905Lnet/minecraft/class_4527;method_54905(Lnet/minecraft/class_2168;Lnet/minecraft/class_2633;)Inamed exportLnet/minecraft/server/command/TestCommand;export(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/block/entity/StructureBlockBlockEntity;)I
-
executeExport
- Mappings:
Namespace Name Mixin selector official cLsd;c(Lds;Ljava/lang/String;)Iintermediary method_22282Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executeExportLnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
executeImport
- Mappings:
Namespace Name Mixin selector official dLsd;d(Lds;Ljava/lang/String;)Iintermediary method_22285Lnet/minecraft/class_4527;method_22285(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executeImportLnet/minecraft/server/command/TestCommand;executeImport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
sendMessage
- Mappings:
Namespace Name Mixin selector official aLsd;a(Land;Ljava/lang/String;Ln;)Vintermediary method_22275Lnet/minecraft/class_4527;method_22275(Lnet/minecraft/class_3218;Ljava/lang/String;Lnet/minecraft/class_124;)Vnamed sendMessageLnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;Lnet/minecraft/util/Formatting;)V
-