Uses of Record Class
net.minecraft.gametest.framework.TestFunction
Packages that use TestFunction
Package
Description
-
Uses of TestFunction in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as TestFunctionFields in net.minecraft.gametest.framework with type parameters of type TestFunctionModifier 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
Methods in net.minecraft.gametest.framework that return TestFunctionModifier and TypeMethodDescriptionGameTestInfo.getTestFunction()
static TestFunction
GameTestRegistry.getTestFunction
(String pTestName) 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 pTestMethod) Methods in net.minecraft.gametest.framework that return types with arguments of type TestFunctionModifier and TypeMethodDescriptionstatic Optional
<TestFunction> GameTestRegistry.findTestFunction
(String pTestName) TestFinder.findTestFunctions()
TestFunctionFinder.findTestFunctions()
static Collection
<TestFunction> GameTestRegistry.getAllTestFunctions()
static Stream
<TestFunction> GameTestRegistry.getLastFailedTests()
static Stream
<TestFunction> GameTestRegistry.getTestFunctionsForClassName
(String pClassName) private static Collection
<TestFunction> GameTestRegistry.useTestGeneratorMethod
(Method pTestMethod) Methods in net.minecraft.gametest.framework with parameters of type TestFunctionModifier and TypeMethodDescriptionprivate static boolean
GameTestRegistry.isTestFunctionPartOfClass
(TestFunction pTestFunction, String pClassName) static void
GameTestRegistry.rememberFailedTest
(TestFunction pTestFunction) static GameTestInfo
GameTestBatchFactory.toGameTestInfo
(TestFunction pTestFunction, int pRotationSteps, ServerLevel pLevel) Method parameters in net.minecraft.gametest.framework with type arguments of type TestFunctionModifier and TypeMethodDescriptionstatic GameTestServer
GameTestServer.create
(Thread pServerThread, LevelStorageSource.LevelStorageAccess pStorageSource, PackRepository pPackRepository, Collection<TestFunction> pTestBatches, BlockPos pSpawnPos) static Collection
<GameTestBatch> GameTestBatchFactory.fromTestFunction
(Collection<TestFunction> pTestFunctions, ServerLevel pLevel) Constructors in net.minecraft.gametest.framework with parameters of type TestFunctionModifierConstructorDescriptionGameTestInfo
(TestFunction pTestFunction, Rotation pRotation, ServerLevel pLevel, RetryOptions pRetryOptions) Constructor parameters in net.minecraft.gametest.framework with type arguments of type TestFunctionModifierConstructorDescriptionprivate
Builder
(Function<TestFinder<T>, T> pContextProvider, UnaryOperator<Supplier<Stream<TestFunction>>> pTestFunctionFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> pStructureBlockPosFinderWrapper) private
GameTestServer
(Thread pServerThread, LevelStorageSource.LevelStorageAccess pStorageSource, PackRepository pPackRepository, WorldStem pWorldStem, Collection<TestFunction> pTestBatches, BlockPos pSpawnPos) -
Uses of TestFunction in net.neoforged.neoforge.oldtest.misc
Methods in net.neoforged.neoforge.oldtest.misc that return types with arguments of type TestFunctionModifier and TypeMethodDescriptionstatic List
<TestFunction> GameTestTest.generateTests()
An example game test generator. -
Uses of TestFunction in net.neoforged.testframework.impl
Methods in net.neoforged.testframework.impl that return types with arguments of type TestFunction