Package net.minecraft.test
Class TestCommand
- java.lang.Object
-
- net.minecraft.test.TestCommand
-
public class TestCommand extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TestCommand.Callback
-
Constructor Summary
Constructors Constructor Description TestCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
clearAllTests(CommandSource p_229616_0_, int p_229616_1_)
private static int
createNewStructure(CommandSource p_229618_0_, java.lang.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_, java.lang.String p_229636_1_)
private static int
importTestStructure(CommandSource p_229638_0_, java.lang.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_, java.lang.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_, java.util.Collection<TestFunctionInfo> p_229619_1_, int p_229619_2_, int p_229619_3_)
private static void
say(CommandSource p_229634_0_, java.lang.String p_229634_1_)
private static void
say(ServerWorld p_229624_0_, java.lang.String p_229624_1_, TextFormatting p_229624_2_)
private static int
showPos(CommandSource p_229617_0_, java.lang.String p_229617_1_)
private static void
showTestSummaryIfAllDone(ServerWorld p_229631_0_, TestResultList p_229631_1_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_229613_0_)
-
createNewStructure
private static int createNewStructure(CommandSource p_229618_0_, java.lang.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_, java.lang.String p_229617_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
runNearbyTest
private static int runNearbyTest(CommandSource p_229615_0_)
-
runAllNearbyTests
private static int runAllNearbyTests(CommandSource p_229629_0_)
-
runTest
private static void runTest(ServerWorld p_229623_0_, BlockPos p_229623_1_, @Nullable TestResultList p_229623_2_)
-
showTestSummaryIfAllDone
private static void showTestSummaryIfAllDone(ServerWorld p_229631_0_, TestResultList p_229631_1_)
-
clearAllTests
private static int clearAllTests(CommandSource p_229616_0_, int p_229616_1_)
-
runTest
private static int runTest(CommandSource p_229620_0_, TestFunctionInfo p_229620_1_, int p_229620_2_)
-
runTestPreparation
private static void runTestPreparation(TestFunctionInfo p_229622_0_, ServerWorld p_229622_1_)
-
runAllTests
private static int runAllTests(CommandSource p_229633_0_, int p_229633_1_, int p_229633_2_)
-
runAllTestsInClass
private static int runAllTestsInClass(CommandSource p_229630_0_, java.lang.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_, java.util.Collection<TestFunctionInfo> p_229619_1_, int p_229619_2_, int p_229619_3_)
-
say
private static void say(CommandSource p_229634_0_, java.lang.String p_229634_1_)
-
exportNearestTestStructure
private static int exportNearestTestStructure(CommandSource p_240581_0_)
-
exportTestStructure
private static int exportTestStructure(CommandSource p_229636_0_, java.lang.String p_229636_1_)
-
importTestStructure
private static int importTestStructure(CommandSource p_229638_0_, java.lang.String p_229638_1_)
-
say
private static void say(ServerWorld p_229624_0_, java.lang.String p_229624_1_, TextFormatting p_229624_2_)
-
-