Uses of Class
net.minecraft.test.TestFunction
| Package | Description |
|---|---|
| net.minecraft.command.argument | |
| net.minecraft.server.command | |
| net.minecraft.test |
-
Uses of TestFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TestFunction Modifier and Type Method Description static TestFunctionTestFunctionArgumentType. getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)TestFunctionTestFunctionArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
Uses of TestFunction in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type TestFunction Modifier and Type Method Description private static intTestCommand. executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)private static voidTestCommand. setWorld(TestFunction testFunction, ServerWorld world)Method parameters in net.minecraft.server.command with type arguments of type TestFunction Modifier and Type Method Description private static voidTestCommand. run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2) -
Uses of TestFunction in net.minecraft.test
Fields in net.minecraft.test declared as TestFunction Modifier and Type Field Description private TestFunctionGameTest. testFunctionFields in net.minecraft.test with type parameters of type TestFunction Modifier and Type Field Description private static Collection<TestFunction>TestFunctions. FAILED_TEST_FUNCTIONSprivate static Collection<TestFunction>TestFunctions. TEST_FUNCTIONSprivate Collection<TestFunction>GameTestBatch. testFunctionsMethods in net.minecraft.test that return TestFunction Modifier and Type Method Description TestFunctionGameTest. getTestFunction()static TestFunctionTestFunctions. getTestFunctionOrThrow(String structurePath)private static TestFunctionTestFunctions. method_36073(Method method)Methods in net.minecraft.test that return types with arguments of type TestFunction Modifier and Type Method Description static Collection<TestFunction>TestFunctions. getFailedTestFunctions()static Optional<TestFunction>TestFunctions. getTestFunction(String structurePath)Collection<TestFunction>GameTestBatch. getTestFunctions()static Collection<TestFunction>TestFunctions. getTestFunctions()static Collection<TestFunction>TestFunctions. getTestFunctions(String testClass)private static Collection<TestFunction>TestFunctions. invoke(Method method)Methods in net.minecraft.test with parameters of type TestFunction Modifier and Type Method Description static voidTestFunctions. addFailedTestFunction(TestFunction testFunction)private static booleanTestFunctions. isInClass(TestFunction testFunction, String testClass)Method parameters in net.minecraft.test with type arguments of type TestFunction Modifier and Type Method Description static Collection<GameTestBatch>TestUtil. createBatches(Collection<TestFunction> testFunctions)static Collection<GameTest>TestUtil. runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)Constructors in net.minecraft.test with parameters of type TestFunction Constructor Description GameTest(TestFunction testFunction, BlockRotation rotation, ServerWorld world)Constructor parameters in net.minecraft.test with type arguments of type TestFunction Constructor Description GameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> worldSetter, @Nullable Consumer<ServerWorld> consumer)