Package net.minecraft.test
Class TestUtil
java.lang.Object
net.minecraft.test.TestUtil
public class TestUtil extends Object
-
Field Summary
Fields Modifier and Type Field Description static TestCompletionListenerfield_20573 -
Constructor Summary
Constructors Constructor Description TestUtil() -
Method Summary
Modifier and Type Method Description private static voidaddDebugMarker(ServerWorld world, BlockPos pos, String message)static voidclearDebugMarkers(ServerWorld world)static voidclearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius)static Collection<GameTestBatch>createBatches(Collection<TestFunction> testFunctions)private static voidcreateBeacon(GameTestState test, Block glass)private static ItemStackcreateBook(String structureName, boolean required, String message)private static voidcreateLectern(GameTestState test, String message)private static voidhandleTestFail(GameTestState test)static Collection<GameTestState>runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)static Collection<GameTestState>runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)private static voidsendMessage(ServerWorld world, Formatting formatting, String message)static voidstartTest(GameTestState test, BlockPos pos, TestManager testManager)
-
Field Details
-
field_20573
-
-
Constructor Details
-
TestUtil
public TestUtil()
-
-
Method Details
-
startTest
-
runTestBatches
public static Collection<GameTestState> runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) -
runTestFunctions
public static Collection<GameTestState> runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) -
createBatches
-
handleTestFail
-
createBeacon
-
createLectern
-
createBook
-
sendMessage
-
clearDebugMarkers
-
addDebugMarker
-
clearTests
public static void clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius)
-