Uses of Record Class
net.minecraft.gametest.framework.TestFunction
Package
Description
-
Uses of TestFunction in net.minecraft.gametest.framework
Modifier and TypeFieldDescriptionprivate static final Set
<TestFunction> GameTestRegistry.LAST_FAILED_TESTS
private static final Collection
<TestFunction> GameTestRegistry.TEST_FUNCTIONS
private final UnaryOperator
<Supplier<Stream<TestFunction>>> TestFinder.Builder.testFunctionFinderWrapper
private final List
<TestFunction> GameTestServer.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_) TestFinder.findTestFunctions()
TestFunctionFinder.findTestFunctions()
static Collection
<TestFunction> GameTestRegistry.getAllTestFunctions()
static Stream
<TestFunction> GameTestRegistry.getLastFailedTests()
static Stream
<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_) static GameTestInfo
GameTestBatchFactory.toGameTestInfo
(TestFunction p_320432_, int p_320796_, ServerLevel p_320136_) Modifier and TypeMethodDescriptionstatic GameTestServer
GameTestServer.create
(Thread p_206607_, LevelStorageSource.LevelStorageAccess p_206608_, PackRepository p_206609_, Collection<TestFunction> p_206610_, BlockPos p_206611_) static Collection
<GameTestBatch> GameTestBatchFactory.fromTestFunction
(Collection<TestFunction> p_320519_, ServerLevel p_319999_) ModifierConstructorDescriptionGameTestInfo
(TestFunction p_127613_, Rotation p_127614_, ServerLevel p_127615_, RetryOptions p_320308_) ModifierConstructorDescriptionprivate
Builder
(Function<TestFinder<T>, T> p_331181_, UnaryOperator<Supplier<Stream<TestFunction>>> p_331301_, UnaryOperator<Supplier<Stream<BlockPos>>> p_331612_) private
GameTestServer
(Thread p_206597_, LevelStorageSource.LevelStorageAccess p_206598_, PackRepository p_206599_, WorldStem p_206600_, Collection<TestFunction> p_206601_, BlockPos p_206602_) -
Uses of TestFunction in net.neoforged.neoforge.oldtest.misc
Modifier and TypeMethodDescriptionstatic List
<TestFunction> GameTestTest.generateTests()
An example game test generator. -
Uses of TestFunction in net.neoforged.testframework.impl