Uses of Record Class
net.minecraft.test.TestFunction
-
Uses of TestFunction in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic TestFunction
TestFunctionArgumentType.getFunction
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) TestFunctionArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of TestFunction in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate final UnaryOperator
<Supplier<Stream<TestFunction>>> TestFinder.Runners.testFunctionsSupplierMapper
ModifierConstructorDescriptionprivate
Runners
(Function<TestFinder<T>, T> runnerFactory, UnaryOperator<Supplier<Stream<TestFunction>>> testFunctionsSupplierMapper, UnaryOperator<Supplier<Stream<BlockPos>>> structurePosSupplierMapper) -
Uses of TestFunction in net.minecraft.test
Modifier and TypeFieldDescriptionprivate static final Set
<TestFunction> TestFunctions.FAILED_TEST_FUNCTIONS
private static final Collection
<TestFunction> TestFunctions.TEST_FUNCTIONS
private final List
<TestFunction> TestServer.testFunctions
Modifier and TypeMethodDescriptionGameTestState.getTestFunction()
private static TestFunction
TestFunctions.getTestFunction
(Method method) static TestFunction
TestFunctions.getTestFunctionOrThrow
(String structurePath) Modifier and TypeMethodDescriptionTestFunctionFinder.findTestFunctions()
private static Collection
<TestFunction> TestFunctions.getCustomTestFunctions
(Method method) static Stream
<TestFunction> TestFunctions.getFailedTestFunctions()
static Optional
<TestFunction> TestFunctions.getTestFunction
(String structurePath) static Collection
<TestFunction> TestFunctions.getTestFunctions()
static Stream
<TestFunction> TestFunctions.getTestFunctions
(String testClass) Modifier and TypeMethodDescriptionstatic void
TestFunctions.addFailedTestFunction
(TestFunction testFunction) static GameTestState
Batches.createState
(TestFunction testFunction, int rotationSteps, ServerWorld world) private static boolean
TestFunctions.isInClass
(TestFunction testFunction, String testClass) Modifier and TypeMethodDescriptionstatic TestServer
TestServer.create
(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<TestFunction> batches, BlockPos pos) static Collection
<GameTestBatch> Batches.createBatches
(Collection<TestFunction> testFunctions, ServerWorld world) ModifierConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) ModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos)