Package net.minecraft.test
Class TestUtils
java.lang.Object
net.minecraft.test.TestUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearAllTests
(ServerWorld p_229555_0_, BlockPos p_229555_1_, TestCollection p_229555_2_, int p_229555_3_) static void
clearMarkers
(ServerWorld p_229552_0_) private static ItemStack
createBook
(String p_229546_0_, boolean p_229546_1_, String p_229546_2_) static Collection<TestBatch>
groupTestsIntoBatches
(Collection<TestFunctionInfo> p_229548_0_) static void
runTest
(TestTracker p_240553_0_, BlockPos p_240553_1_, TestCollection p_240553_2_) static Collection<TestTracker>
runTestBatches
(Collection<TestBatch> p_240552_0_, BlockPos p_240552_1_, Rotation p_240552_2_, ServerWorld p_240552_3_, TestCollection p_240552_4_, int p_240552_5_) static Collection<TestTracker>
runTests
(Collection<TestFunctionInfo> p_240554_0_, BlockPos p_240554_1_, Rotation p_240554_2_, ServerWorld p_240554_3_, TestCollection p_240554_4_, int p_240554_5_) private static void
say
(ServerWorld p_229556_0_, TextFormatting p_229556_1_, String p_229556_2_) private static void
showRedBox
(ServerWorld p_229554_0_, BlockPos p_229554_1_, String p_229554_2_) private static void
spawnBeacon
(TestTracker p_229559_0_, Block p_229559_1_) private static void
spawnLectern
(TestTracker p_229560_0_, String p_229560_1_) private static void
visualizeFailedTest
(TestTracker p_229563_0_)
-
Field Details
-
TEST_REPORTER
-
-
Constructor Details
-
TestUtils
public TestUtils()
-
-
Method Details
-
runTest
public static void runTest(TestTracker p_240553_0_, BlockPos p_240553_1_, TestCollection p_240553_2_) -
runTestBatches
public static Collection<TestTracker> runTestBatches(Collection<TestBatch> p_240552_0_, BlockPos p_240552_1_, Rotation p_240552_2_, ServerWorld p_240552_3_, TestCollection p_240552_4_, int p_240552_5_) -
runTests
public static Collection<TestTracker> runTests(Collection<TestFunctionInfo> p_240554_0_, BlockPos p_240554_1_, Rotation p_240554_2_, ServerWorld p_240554_3_, TestCollection p_240554_4_, int p_240554_5_) -
groupTestsIntoBatches
-
visualizeFailedTest
-
spawnBeacon
-
spawnLectern
-
createBook
-
say
-
clearMarkers
-
showRedBox
-
clearAllTests
public static void clearAllTests(ServerWorld p_229555_0_, BlockPos p_229555_1_, TestCollection p_229555_2_, int p_229555_3_)
-