public class TestUtil extends Object
Modifier and Type | Field and Description |
---|---|
static TestCompletionListener |
field_20573 |
Constructor and Description |
---|
TestUtil() |
Modifier and Type | Method and Description |
---|---|
private static void |
addDebugMarker(ServerWorld world,
BlockPos pos,
String message) |
static void |
clearDebugMarkers(ServerWorld world) |
static void |
clearTests(ServerWorld world,
BlockPos pos,
TestManager testManager,
int radius) |
static Collection<GameTestBatch> |
createBatches(Collection<TestFunction> testFunctions) |
private static void |
createBeacon(GameTest test,
Block glass) |
private static ItemStack |
createBook(String structureName,
boolean required,
String message) |
private static void |
createLectern(GameTest test,
String message) |
private static void |
handleTestFail(GameTest test) |
static Collection<GameTest> |
runTestBatches(Collection<GameTestBatch> batches,
BlockPos pos,
BlockRotation blockRotation,
ServerWorld serverWorld,
TestManager testManager,
int int2) |
static Collection<GameTest> |
runTestFunctions(Collection<TestFunction> testFunctions,
BlockPos pos,
BlockRotation blockRotation,
ServerWorld serverWorld,
TestManager testManager,
int int2) |
private static void |
sendMessage(ServerWorld world,
Formatting formatting,
String message) |
static void |
startTest(GameTest gameTest,
BlockPos blockPos,
TestManager testManager) |
public static TestCompletionListener field_20573
public static void startTest(GameTest gameTest, BlockPos blockPos, TestManager testManager)
public static Collection<GameTest> runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation blockRotation, ServerWorld serverWorld, TestManager testManager, int int2)
public static Collection<GameTest> runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation blockRotation, ServerWorld serverWorld, TestManager testManager, int int2)
public static Collection<GameTestBatch> createBatches(Collection<TestFunction> testFunctions)
private static void handleTestFail(GameTest test)
private static ItemStack createBook(String structureName, boolean required, String message)
private static void sendMessage(ServerWorld world, Formatting formatting, String message)
public static void clearDebugMarkers(ServerWorld world)
private static void addDebugMarker(ServerWorld world, BlockPos pos, String message)
public static void clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius)