Uses of Record Class
net.minecraft.gametest.framework.TestFunction
Packages that use TestFunction
-
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 testName) static TestFunction
TestFunctionArgument.getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) TestFunctionArgument.parse
(com.mojang.brigadier.StringReader reader) private static TestFunction
GameTestRegistry.turnMethodIntoTestFunction
(Method testMethod) Methods in net.minecraft.gametest.framework that return types with arguments of type TestFunctionModifier and TypeMethodDescriptionstatic Optional
<TestFunction> GameTestRegistry.findTestFunction
(String testName) TestFinder.findTestFunctions()
TestFunctionFinder.findTestFunctions()
static Collection
<TestFunction> GameTestRegistry.getAllTestFunctions()
static Stream
<TestFunction> GameTestRegistry.getLastFailedTests()
static Stream
<TestFunction> GameTestRegistry.getTestFunctionsForClassName
(String className) private static Collection
<TestFunction> GameTestRegistry.useTestGeneratorMethod
(Method testMethod) Methods in net.minecraft.gametest.framework with parameters of type TestFunctionModifier and TypeMethodDescriptionprivate static boolean
GameTestRegistry.isTestFunctionPartOfClass
(TestFunction testFunction, String className) static void
GameTestRegistry.rememberFailedTest
(TestFunction testFunction) static GameTestInfo
GameTestBatchFactory.toGameTestInfo
(TestFunction testFunction, int rotationSteps, ServerLevel level) Method parameters in net.minecraft.gametest.framework with type arguments of type TestFunctionModifier and TypeMethodDescriptionstatic GameTestServer
GameTestServer.create
(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, Collection<TestFunction> testBatches, BlockPos spawnPos) static Collection
<GameTestBatch> GameTestBatchFactory.fromTestFunction
(Collection<TestFunction> testFunctions, ServerLevel level) Constructors in net.minecraft.gametest.framework with parameters of type TestFunctionModifierConstructorDescriptionGameTestInfo
(TestFunction testFunction, Rotation rotation, ServerLevel level, RetryOptions retryOptions) Constructor parameters in net.minecraft.gametest.framework with type arguments of type TestFunctionModifierConstructorDescriptionprivate
Builder
(Function<TestFinder<T>, T> contextProvider, UnaryOperator<Supplier<Stream<TestFunction>>> testFunctionFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> structureBlockPosFinderWrapper) private
GameTestServer
(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, WorldStem worldStem, Collection<TestFunction> testBatches, BlockPos spawnPos)