Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
public class TestCommand extends Object
- Mappings:
Namespace Name official mhintermediary net/minecraft/class_4527named net/minecraft/server/command/TestCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classTestCommand.Listener -
Constructor Summary
Constructors Constructor Description TestCommand() -
Method Summary
Modifier and Type Method Description private static intexecuteClearAll(ServerCommandSource source, int radius)private static intexecuteCreate(ServerCommandSource source, String structure, int x, int y, int z)private static intexecuteExport(ServerCommandSource source)private static intexecuteExport(ServerCommandSource source, String structure)private static intexecuteImport(ServerCommandSource source, String structure)private static intexecutePos(ServerCommandSource source, String variableName)private static intexecuteRerunFailed(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int int2)private static intexecuteRun(ServerCommandSource source, TestFunction testFunction, int int2)private static intexecuteRunAll(ServerCommandSource source, int rotationSteps, int int2)private static intexecuteRunAll(ServerCommandSource source, String testClass, int rotationSteps, int int2)private static intexecuteRunThese(ServerCommandSource source)private static intexecuteRunThis(ServerCommandSource source)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 int2)private static voidrun(ServerWorld world, BlockPos pos, @Nullable TestSet tests)private static voidsendMessage(ServerCommandSource source, String message)private static voidsendMessage(ServerWorld world, String message, Formatting formatting)private static voidsetWorld(TestFunction testFunction, ServerWorld world)
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official aLmh;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
private static int executeCreate(ServerCommandSource source, String structure, int x, int y, int z)- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;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 aLmh;a(Ldb;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 aLmh;a(Ldb;)Iintermediary method_22277Lnet/minecraft/class_4527;method_22277(Lnet/minecraft/class_2168;)Inamed executeRunThisLnet/minecraft/server/command/TestCommand;executeRunThis(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeRunThese
- Mappings:
Namespace Name Mixin selector official bLmh;b(Ldb;)Iintermediary method_22281Lnet/minecraft/class_4527;method_22281(Lnet/minecraft/class_2168;)Inamed executeRunTheseLnet/minecraft/server/command/TestCommand;executeRunThese(Lnet/minecraft/server/command/ServerCommandSource;)I
-
run
- Mappings:
Namespace Name Mixin selector official aLmh;a(Labf;Lfx;Lmc;)Vintermediary method_22272Lnet/minecraft/class_4527;method_22272(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4524;)Vnamed runLnet/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 bLmh;b(Labf;Lmc;)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 aLmh;a(Ldb;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
- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;Lmi;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
-
setWorld
- Mappings:
Namespace Name Mixin selector official aLmh;a(Lmi;Labf;)Vintermediary method_23647Lnet/minecraft/class_4527;method_23647(Lnet/minecraft/class_4529;Lnet/minecraft/class_3218;)Vnamed setWorldLnet/minecraft/server/command/TestCommand;setWorld(Lnet/minecraft/test/TestFunction;Lnet/minecraft/server/world/ServerWorld;)V
-
executeRunAll
- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;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 int2)- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;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 int2)- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;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 int2)- Mappings:
Namespace Name Mixin selector official aLmh;a(Ldb;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 bLmh;b(Ldb;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 cLmh;c(Ldb;)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
-
executeExport
- Mappings:
Namespace Name Mixin selector official cLmh;c(Ldb;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 dLmh;d(Ldb;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 aLmh;a(Labf;Ljava/lang/String;Lk;)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
-