Uses of Class
net.minecraft.gametest.framework.TestFunction
-
Uses of TestFunction in net.minecraft.gametest.framework
Modifier and TypeFieldDescriptionprivate static final Collection<TestFunction>
GameTestRegistry.LAST_FAILED_TESTS
private static final Collection<TestFunction>
GameTestRegistry.TEST_FUNCTIONS
private final Collection<TestFunction>
GameTestBatch.testFunctions
Modifier and TypeMethodDescriptionGameTestInfo.getTestFunction()
static TestFunction
GameTestRegistry.getTestFunction
(String p_127682_) static TestFunction
TestFunctionArgument.getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_128092_, String p_128093_) TestFunctionArgument.parse
(com.mojang.brigadier.StringReader p_128090_) private static TestFunction
GameTestRegistry.turnMethodIntoTestFunction
(Method p_177516_) Modifier and TypeMethodDescriptionstatic Optional<TestFunction>
GameTestRegistry.findTestFunction
(String p_127680_) static Collection<TestFunction>
GameTestRegistry.getAllTestFunctions()
static Collection<TestFunction>
GameTestRegistry.getLastFailedTests()
GameTestBatch.getTestFunctions()
static Collection<TestFunction>
GameTestRegistry.getTestFunctionsForClassName
(String p_127660_) private static Collection<TestFunction>
GameTestRegistry.useTestGeneratorMethod
(Method p_177514_) Modifier and TypeMethodDescriptionprivate static boolean
GameTestRegistry.isTestFunctionPartOfClass
(TestFunction p_127667_, String p_127668_) static void
GameTestRegistry.rememberFailedTest
(TestFunction p_127665_) private static int
TestCommand.runTest
(CommandSourceStack p_127979_, TestFunction p_127980_, int p_127981_) private static void
TestCommand.runTestPreparation
(TestFunction p_127994_, ServerLevel p_127995_) Modifier and TypeMethodDescriptionstatic Collection<GameTestBatch>
GameTestRunner.groupTestsIntoBatches
(Collection<TestFunction> p_127725_) static Collection<GameTestInfo>
GameTestRunner.runTests
(Collection<TestFunction> p_127753_, BlockPos p_127754_, Rotation p_127755_, ServerLevel p_127756_, GameTestTicker p_127757_, int p_127758_) private static void
TestCommand.runTests
(CommandSourceStack p_127974_, Collection<TestFunction> p_127975_, int p_127976_, int p_127977_) ModifierConstructorDescriptionGameTestInfo
(TestFunction p_127613_, Rotation p_127614_, ServerLevel p_127615_) ModifierConstructorDescriptionGameTestBatch
(String p_177059_, Collection<TestFunction> p_177060_, Consumer<ServerLevel> p_177061_, Consumer<ServerLevel> p_177062_)