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(GameTest test, Block glass)private static ItemStackcreateBook(String structureName, boolean required, String message)private static voidcreateLectern(GameTest test, String message)private static voidhandleTestFail(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 voidsendMessage(ServerWorld world, Formatting formatting, String message)static voidstartTest(GameTest gameTest, BlockPos blockPos, TestManager testManager)
-
Field Details
-
field_20573
-
-
Constructor Details
-
TestUtil
public TestUtil()
-
-
Method Details
-
startTest
-
runTestBatches
public static Collection<GameTest> runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation blockRotation, ServerWorld serverWorld, TestManager testManager, int int2) -
runTestFunctions
public static Collection<GameTest> runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation blockRotation, ServerWorld serverWorld, TestManager testManager, int int2) -
createBatches
-
handleTestFail
-
createBeacon
-
createLectern
-
createBook
-
sendMessage
-
clearDebugMarkers
-
addDebugMarker
-
clearTests
public static void clearTests(ServerWorld world, BlockPos pos, TestManager testManager, int radius)
-