Uses of 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 TypeMethodDescriptionprivate static int
TestCommand.executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)
private static void
TestCommand.setWorld(TestFunction testFunction, ServerWorld world)
Modifier and TypeMethodDescriptionprivate static void
TestCommand.run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2)
-
Uses of TestFunction in net.minecraft.test
Modifier and TypeFieldDescriptionprivate static Collection<TestFunction>
TestFunctions.FAILED_TEST_FUNCTIONS
private static Collection<TestFunction>
TestFunctions.TEST_FUNCTIONS
private Collection<TestFunction>
GameTestBatch.testFunctions
Modifier and TypeMethodDescriptionGameTestState.getTestFunction()
private static TestFunction
TestFunctions.getTestFunction(Method method)
static TestFunction
TestFunctions.getTestFunctionOrThrow(String structurePath)
Modifier 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)
Modifier and TypeMethodDescriptionstatic void
TestFunctions.addFailedTestFunction(TestFunction testFunction)
private static boolean
TestFunctions.isInClass(TestFunction testFunction, String testClass)
Modifier 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)
ModifierConstructorDescriptionGameTestState(TestFunction testFunction, BlockRotation rotation, ServerWorld world)
ModifierConstructorDescriptionGameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer)