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_TESTSprivate static final Collection<TestFunction> GameTestRegistry.TEST_FUNCTIONSprivate final UnaryOperator<Supplier<Stream<TestFunction>>> TestFinder.Builder.testFunctionFinderWrapperprivate final List<TestFunction> GameTestServer.testFunctionsMethods in net.minecraft.gametest.framework that return TestFunctionModifier and TypeMethodDescriptionGameTestInfo.getTestFunction()static TestFunctionGameTestRegistry.getTestFunction(String testName) static TestFunctionTestFunctionArgument.getTestFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) TestFunctionArgument.parse(com.mojang.brigadier.StringReader reader) private static TestFunctionGameTestRegistry.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 booleanGameTestRegistry.isTestFunctionPartOfClass(TestFunction testFunction, String className) static voidGameTestRegistry.rememberFailedTest(TestFunction testFunction) static GameTestInfoGameTestBatchFactory.toGameTestInfo(TestFunction testFunction, int rotationSteps, ServerLevel level) Method parameters in net.minecraft.gametest.framework with type arguments of type TestFunctionModifier and TypeMethodDescriptionstatic GameTestServerGameTestServer.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 TestFunctionModifierConstructorDescriptionprivateBuilder(Function<TestFinder<T>, T> contextProvider, UnaryOperator<Supplier<Stream<TestFunction>>> testFunctionFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> structureBlockPosFinderWrapper) privateGameTestServer(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, WorldStem worldStem, Collection<TestFunction> testBatches, BlockPos spawnPos)