Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
- Mappings:
Namespace Name official qm
intermediary net/minecraft/class_4527
named net/minecraft/server/command/TestCommand
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
beforeBatch
(TestFunction testFunction, ServerWorld world) private static int
executeClearAll
(ServerCommandSource source, int radius) private static int
executeCreate
(ServerCommandSource source, String testName, int x, int y, int z) private static int
executeExport
(ServerCommandSource source) private static int
executeExport
(ServerCommandSource source, String testName) private static int
private static int
executeImport
(ServerCommandSource source, String testName) private static int
executePos
(ServerCommandSource source, String variableName) private static int
executeRerunFailed
(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int sizeZ) private static int
executeRun
(ServerCommandSource source, TestFunction testFunction, int rotationSteps) private static int
executeRunAll
(ServerCommandSource source, int rotationSteps, int sizeZ) private static int
executeRunAll
(ServerCommandSource source, String testClass, int rotationSteps, int sizeZ) private static int
executeRunThese
(ServerCommandSource source) private static int
executeRunThis
(ServerCommandSource source) (package private) static void
onCompletion
(ServerWorld world, TestSet tests) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static void
run
(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2) private static void
run
(ServerWorld world, BlockPos pos, @Nullable TestSet tests) private static void
sendMessage
(ServerCommandSource source, String message) private static void
sendMessage
(ServerWorld world, String message, Formatting formatting)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
Lqm;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
- Mappings:
Namespace Name Mixin selector official a
Lqm;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
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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
Lqm;a(Ldt;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
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;)I
intermediary method_22277
Lnet/minecraft/class_4527;method_22277(Lnet/minecraft/class_2168;)I
named executeRunThis
Lnet/minecraft/server/command/TestCommand;executeRunThis(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeRunThese
- Mappings:
Namespace Name Mixin selector official b
Lqm;b(Ldt;)I
intermediary method_22281
Lnet/minecraft/class_4527;method_22281(Lnet/minecraft/class_2168;)I
named executeRunThese
Lnet/minecraft/server/command/TestCommand;executeRunThese(Lnet/minecraft/server/command/ServerCommandSource;)I
-
run
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Lakq;Lgw;Lqh;)V
intermediary method_22272
Lnet/minecraft/class_4527;method_22272(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4524;)V
named run
Lnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestSet;)V
-
onCompletion
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Lakq;Lqh;)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
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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
Lqm;a(Ldt;Lqn;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
-
beforeBatch
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Lqn;Lakq;)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
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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 sizeZ) - Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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 sizeZ) - Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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 int2) - Mappings:
Namespace Name Mixin selector official a
Lqm;a(Ldt;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
- Mappings:
Namespace Name Mixin selector official b
Lqm;b(Ldt;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
- Mappings:
Namespace Name Mixin selector official c
Lqm;c(Ldt;)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
- Mappings:
Namespace Name Mixin selector official d
Lqm;d(Ldt;)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
-
executeExport
- Mappings:
Namespace Name Mixin selector official c
Lqm;c(Ldt;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
- Mappings:
Namespace Name Mixin selector official d
Lqm;d(Ldt;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
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Lakq;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
-