Class TestCommand

java.lang.Object
net.minecraft.test.TestCommand

public class TestCommand extends Object
  • Constructor Details

    • TestCommand

      public TestCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_229613_0_)
    • 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

      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_, 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

      private static void say(CommandSource p_229634_0_, String p_229634_1_)
    • exportNearestTestStructure

      private static int exportNearestTestStructure(CommandSource p_240581_0_)
    • exportTestStructure

      private static int exportTestStructure(CommandSource p_229636_0_, String p_229636_1_)
    • importTestStructure

      private static int importTestStructure(CommandSource p_229638_0_, String p_229638_1_)
    • say

      private static void say(ServerWorld p_229624_0_, String p_229624_1_, TextFormatting p_229624_2_)