Uses of Class
net.minecraft.test.GameTestState
Packages that use GameTestState
-
Uses of GameTestState in net.minecraft.server.command
Methods in net.minecraft.server.command that return types with arguments of type GameTestStateModifier and TypeMethodDescriptionprivate static Optional<GameTestState> TestCommand.find(BlockPos pos, ServerCommandSource source, TestAttemptConfig config) private static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceBlockFinder finder) private static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceFinder finder, int rotationSteps) Methods in net.minecraft.server.command with parameters of type GameTestStateModifier and TypeMethodDescriptionvoidTestCommand.Listener.onFailed(GameTestState test, TestRunContext context) voidTestCommand.Listener.onPassed(GameTestState test, TestRunContext context) voidTestCommand.Listener.onRetry(GameTestState lastState, GameTestState nextState, TestRunContext context) voidTestCommand.Listener.onStarted(GameTestState test) private static intTestCommand.reset(ServerCommandSource source, GameTestState state) -
Uses of GameTestState in net.minecraft.test
Fields in net.minecraft.test declared as GameTestStateModifier and TypeFieldDescriptionprivate final GameTestStateTestContext.test(package private) final GameTestStateTimedTaskRunner.testFields in net.minecraft.test with type parameters of type GameTestStateModifier and TypeFieldDescriptionprivate final Collection<GameTestState> GameTestBatch.statesThe field for thestatesrecord component.private final List<GameTestState> TestRunContext.statesprivate final Collection<GameTestState> TestStructurePlacer.statesToClearprivate final Collection<GameTestState> TestManager.testsprivate final Collection<GameTestState> TestSet.testsprivate final List<GameTestState> TestRunContext.toBeRetriedMethods in net.minecraft.test that return GameTestStateModifier and TypeMethodDescriptionGameTestState.copy()GameTestState.init()GameTestState.startCountdown(int additionalExpectedStopTime) Methods in net.minecraft.test that return types with arguments of type GameTestStateModifier and TypeMethodDescriptionBatches.Decorator.decorate(RegistryEntry.Reference<TestInstance> instance, ServerWorld world) TestSet.getOptionalTests()TestSet.getRequiredTests()TestRunContext.getStates()private static Stream<GameTestState> TestServer.makeVerificationBatches(RegistryEntry.Reference<TestInstance> instance, ServerWorld world) private Optional<GameTestState> TestRunContext.prepareStructure(GameTestState oldState) private Collection<GameTestState> TestRunContext.prepareStructures(Collection<GameTestState> oldStates) TestRunContext.TestStructureSpawner.spawnStructure(GameTestState oldState) TestStructurePlacer.spawnStructure(GameTestState oldState) GameTestBatch.states()Returns the value of thestatesrecord component.Methods in net.minecraft.test with parameters of type GameTestStateModifier and TypeMethodDescriptionvoidTestSet.add(GameTestState test) private ElementXmlReportingTestCompletionListener.addTestCase(GameTestState test, String name) protected static voidStructureTestListener.failTest(GameTestState test, Throwable output) static voidTestFailureLogger.failTest(GameTestState test) protected static voidStructureTestListener.finishFailedTest(GameTestState test, Throwable output) private static voidStructureTestListener.finishPassedTest(GameTestState test, String output) private static Optional<TestInstanceBlockEntity> StructureTestListener.getTestInstanceBlockEntity(GameTestState state) private static voidTestServer.logFailure(GameTestState state) voidStructureTestListener.onFailed(GameTestState test, TestRunContext context) voidTestListener.onFailed(GameTestState test, TestRunContext context) voidStructureTestListener.onPassed(GameTestState test, TestRunContext context) voidTestListener.onPassed(GameTestState test, TestRunContext context) voidStructureTestListener.onRetry(GameTestState lastState, GameTestState nextState, TestRunContext context) voidTestListener.onRetry(GameTestState lastState, GameTestState nextState, TestRunContext context) voidStructureTestListener.onStarted(GameTestState test) voidTestListener.onStarted(GameTestState test) voidFailureLoggingTestCompletionListener.onTestFailed(GameTestState test) voidTestCompletionListener.onTestFailed(GameTestState test) voidXmlReportingTestCompletionListener.onTestFailed(GameTestState test) voidFailureLoggingTestCompletionListener.onTestPassed(GameTestState test) voidTestCompletionListener.onTestPassed(GameTestState test) voidXmlReportingTestCompletionListener.onTestPassed(GameTestState test) static voidStructureTestListener.passTest(GameTestState test, String output) static voidTestFailureLogger.passTest(GameTestState test) private Optional<GameTestState> TestRunContext.prepareStructure(GameTestState oldState) voidTestSet.remove(GameTestState state) private voidStructureTestListener.retry(GameTestState state, TestRunContext context, boolean lastPassed) voidTestRunContext.retry(GameTestState state) TestRunContext.TestStructureSpawner.spawnStructure(GameTestState oldState) TestStructurePlacer.spawnStructure(GameTestState oldState) voidTestManager.start(GameTestState test) Method parameters in net.minecraft.test with type arguments of type GameTestStateModifier and TypeMethodDescriptionvoidTestSet.addListener(Consumer<GameTestState> onFailed) TestRunContext.Batcher.batch(Collection<GameTestState> states) static GameTestBatchBatches.create(Collection<GameTestState> states, RegistryEntry<TestEnvironmentDefinition> environment, int index) static TestRunContext.BuilderTestRunContext.Builder.ofStates(Collection<GameTestState> states, ServerWorld world) private Collection<GameTestState> TestRunContext.prepareStructures(Collection<GameTestState> oldStates) Constructors in net.minecraft.test with parameters of type GameTestStateModifierConstructorDescriptionNotEnoughSuccessesError(int attempts, int successes, GameTestState test) TestContext(GameTestState test) (package private)TimedTaskRunner(GameTestState gameTest) Constructor parameters in net.minecraft.test with type arguments of type GameTestStateModifierConstructorDescriptionGameTestBatch(int int2, Collection<GameTestState> testFunctions, RegistryEntry<TestEnvironmentDefinition> registryEntry) TestSet(Collection<GameTestState> tests)