Uses of Record Class
net.minecraft.test.TestFunction
Packages that use TestFunction
-
Uses of TestFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TestFunctionModifier 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
Fields in net.minecraft.server.command with type parameters of type TestFunctionModifier and TypeFieldDescriptionprivate final UnaryOperator
<Supplier<Stream<TestFunction>>> TestFinder.Runners.testFunctionsSupplierMapper
Methods in net.minecraft.server.command that return types with arguments of type TestFunctionConstructor parameters in net.minecraft.server.command with type arguments of type TestFunctionModifierConstructorDescriptionprivate
Runners
(Function<TestFinder<T>, T> runnerFactory, UnaryOperator<Supplier<Stream<TestFunction>>> testFunctionsSupplierMapper, UnaryOperator<Supplier<Stream<BlockPos>>> structurePosSupplierMapper) -
Uses of TestFunction in net.minecraft.test
Fields in net.minecraft.test declared as TestFunctionFields in net.minecraft.test with type parameters of type TestFunctionModifier and TypeFieldDescriptionprivate static final Set
<TestFunction> TestFunctions.FAILED_TEST_FUNCTIONS
private static final Collection
<TestFunction> TestFunctions.TEST_FUNCTIONS
private final List
<TestFunction> TestServer.testFunctions
Methods in net.minecraft.test that return TestFunctionModifier and TypeMethodDescriptionGameTestState.getTestFunction()
private static TestFunction
TestFunctions.getTestFunction
(Method method) static TestFunction
TestFunctions.getTestFunctionOrThrow
(String structurePath) Methods in net.minecraft.test that return types with arguments of type TestFunctionModifier 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) Methods in net.minecraft.test with parameters of type TestFunctionModifier 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) Method parameters in net.minecraft.test with type arguments of type TestFunctionModifier 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) Constructors in net.minecraft.test with parameters of type TestFunctionModifierConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world, TestAttemptConfig testAttemptConfig) Constructor parameters in net.minecraft.test with type arguments of type TestFunctionModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos)