public class TestCommand extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestCommand.Listener |
Constructor and Description |
---|
TestCommand() |
Modifier and Type | Method and 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) |
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeCreate(ServerCommandSource source, String structure, int x, int y, int z)
private static int executePos(ServerCommandSource source, String variableName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeRunThis(ServerCommandSource source)
private static int executeRunThese(ServerCommandSource source)
private static void run(ServerWorld world, BlockPos pos, @Nullable TestSet tests)
private static void onCompletion(ServerWorld world, TestSet tests)
private static int executeClearAll(ServerCommandSource source, int radius)
private static int executeRun(ServerCommandSource source, TestFunction testFunction, int int2)
private static void setWorld(TestFunction testFunction, ServerWorld world)
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 method_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3)
private static void run(ServerCommandSource source, Collection<TestFunction> testFunctions, int int2, int int3)
private static void sendMessage(ServerCommandSource source, String message)
private static int method_29413(ServerCommandSource serverCommandSource)
private static int executeExport(ServerCommandSource source, String structure)
private static int executeImport(ServerCommandSource serverCommandSource, String structure)
private static void sendMessage(ServerWorld world, String message, Formatting formatting)