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 class
TestCommand.Listener
-
Constructor Summary
Constructors Constructor Description TestCommand()
-
Method Summary
Modifier and Type Method Description private static int
executeClearAll(ServerCommandSource source, int radius)
private static int
executeCreate(ServerCommandSource source, String structure, int x, int y, int z)
private static int
executeExport(ServerCommandSource source, String structure)
private static int
executeImport(ServerCommandSource serverCommandSource, String structure)
private static int
executePos(ServerCommandSource source, String variableName)
private static int
executeRun(ServerCommandSource source, TestFunction testFunction, int int2)
private static int
executeRunAll(ServerCommandSource source, int int2, int int3)
private static int
executeRunAll(ServerCommandSource source, String testClass, int int2, int int3)
private static int
executeRunThese(ServerCommandSource source)
private static int
executeRunThis(ServerCommandSource source)
private static int
method_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3)
private static int
method_29413(ServerCommandSource serverCommandSource)
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 int2, int int3)
private static void
run(ServerWorld world, BlockPos pos, TestSet tests)
private static void
sendMessage(ServerCommandSource source, String message)
private static void
sendMessage(ServerWorld world, String message, Formatting formatting)
private static void
setWorld(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
-