Uses of 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
Methods in net.minecraft.server.command with parameters of type TestFunctionModifier and TypeMethodDescriptionprivate static void
TestCommand.beforeBatch
(TestFunction testFunction, ServerWorld world) private static int
TestCommand.executeRun
(ServerCommandSource source, TestFunction testFunction, int rotationSteps) Method parameters in net.minecraft.server.command with type arguments of type TestFunctionModifier and TypeMethodDescriptionprivate static void
TestCommand.run
(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2) -
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 Collection<TestFunction>
TestFunctions.FAILED_TEST_FUNCTIONS
private static final Collection<TestFunction>
TestFunctions.TEST_FUNCTIONS
private final Collection<TestFunction>
GameTestBatch.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 TypeMethodDescriptionprivate static Collection<TestFunction>
TestFunctions.getCustomTestFunctions
(Method method) static Collection<TestFunction>
TestFunctions.getFailedTestFunctions()
static Optional<TestFunction>
TestFunctions.getTestFunction
(String structurePath) GameTestBatch.getTestFunctions()
static Collection<TestFunction>
TestFunctions.getTestFunctions()
static Collection<TestFunction>
TestFunctions.getTestFunctions
(String testClass) Methods in net.minecraft.test with parameters of type TestFunctionModifier and TypeMethodDescriptionstatic void
TestFunctions.addFailedTestFunction
(TestFunction testFunction) private static boolean
TestFunctions.isInClass
(TestFunction testFunction, String testClass) Method parameters in net.minecraft.test with type arguments of type TestFunctionModifier and TypeMethodDescriptionstatic Collection<GameTestBatch>
TestUtil.createBatches
(Collection<TestFunction> testFunctions) static Collection<GameTestState>
TestUtil.runTestFunctions
(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) Constructors in net.minecraft.test with parameters of type TestFunctionModifierConstructorDescriptionGameTestState
(TestFunction testFunction, BlockRotation rotation, ServerWorld world) Constructor parameters in net.minecraft.test with type arguments of type TestFunctionModifierConstructorDescriptionGameTestBatch
(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer)