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 pTestName) static TestFunction
TestFunctionArgument.getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) TestFunctionArgument.parse
(com.mojang.brigadier.StringReader pReader) 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)