Package net.minecraft.test
Class TestCommand
java.lang.Object
net.minecraft.test.TestCommand
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
clearAllTests
(CommandSource p_229616_0_, int p_229616_1_) private static int
createNewStructure
(CommandSource p_229618_0_, String p_229618_1_, int p_229618_2_, int p_229618_3_, int p_229618_4_) private static int
exportNearestTestStructure
(CommandSource p_240581_0_) private static int
exportTestStructure
(CommandSource p_229636_0_, String p_229636_1_) private static int
importTestStructure
(CommandSource p_229638_0_, String p_229638_1_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_229613_0_) private static int
runAllNearbyTests
(CommandSource p_229629_0_) private static int
runAllTests
(CommandSource p_229633_0_, int p_229633_1_, int p_229633_2_) private static int
runAllTestsInClass
(CommandSource p_229630_0_, String p_229630_1_, int p_229630_2_, int p_229630_3_) private static int
runLastFailedTests
(CommandSource p_240574_0_, boolean p_240574_1_, int p_240574_2_, int p_240574_3_) private static int
runNearbyTest
(CommandSource p_229615_0_) private static int
runTest
(CommandSource p_229620_0_, TestFunctionInfo p_229620_1_, int p_229620_2_) private static void
runTest
(ServerWorld p_229623_0_, BlockPos p_229623_1_, TestResultList p_229623_2_) private static void
runTestPreparation
(TestFunctionInfo p_229622_0_, ServerWorld p_229622_1_) private static void
runTests
(CommandSource p_229619_0_, Collection<TestFunctionInfo> p_229619_1_, int p_229619_2_, int p_229619_3_) private static void
say
(CommandSource p_229634_0_, String p_229634_1_) private static void
say
(ServerWorld p_229624_0_, String p_229624_1_, TextFormatting p_229624_2_) private static int
showPos
(CommandSource p_229617_0_, String p_229617_1_) private static void
showTestSummaryIfAllDone
(ServerWorld p_229631_0_, TestResultList p_229631_1_)
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
register
-
createNewStructure
private static int createNewStructure(CommandSource p_229618_0_, String p_229618_1_, int p_229618_2_, int p_229618_3_, int p_229618_4_) -
showPos
private static int showPos(CommandSource p_229617_0_, String p_229617_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
runNearbyTest
-
runAllNearbyTests
-
runTest
private static void runTest(ServerWorld p_229623_0_, BlockPos p_229623_1_, @Nullable TestResultList p_229623_2_) -
showTestSummaryIfAllDone
-
clearAllTests
-
runTest
private static int runTest(CommandSource p_229620_0_, TestFunctionInfo p_229620_1_, int p_229620_2_) -
runTestPreparation
-
runAllTests
-
runAllTestsInClass
private static int runAllTestsInClass(CommandSource p_229630_0_, String p_229630_1_, int p_229630_2_, int p_229630_3_) -
runLastFailedTests
private static int runLastFailedTests(CommandSource p_240574_0_, boolean p_240574_1_, int p_240574_2_, int p_240574_3_) -
runTests
private static void runTests(CommandSource p_229619_0_, Collection<TestFunctionInfo> p_229619_1_, int p_229619_2_, int p_229619_3_) -
say
-
exportNearestTestStructure
-
exportTestStructure
-
importTestStructure
-
say
-