Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
public class TestCommand extends Object
-
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, String structure)private static intexecuteImport(ServerCommandSource serverCommandSource, String structure)private static intexecutePos(ServerCommandSource source, String variableName)private static intexecuteRun(ServerCommandSource source, TestFunction testFunction, int int2)private static intexecuteRunAll(ServerCommandSource source, int int2, int int3)private static intexecuteRunAll(ServerCommandSource source, String testClass, int int2, int int3)private static intexecuteRunThese(ServerCommandSource source)private static intexecuteRunThis(ServerCommandSource source)private static intmethod_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3)private static intmethod_29413(ServerCommandSource serverCommandSource)private static voidonCompletion(ServerWorld world, TestSet tests)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)private static voidrun(ServerCommandSource source, Collection<TestFunction> testFunctions, int int2, int int3)private static voidrun(ServerWorld world, BlockPos pos, 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) -
executeCreate
private static int executeCreate(ServerCommandSource source, String structure, int x, int y, int z) -
executePos
private static int executePos(ServerCommandSource source, String variableName) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
executeRunThis
-
executeRunThese
-
run
-
onCompletion
-
executeClearAll
-
executeRun
-
setWorld
-
executeRunAll
-
executeRunAll
-
method_29411
private static int method_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3) -
run
private static void run(ServerCommandSource source, Collection<TestFunction> testFunctions, int int2, int int3) -
sendMessage
-
method_29413
-
executeExport
-
executeImport
-
sendMessage
-