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, ServerWorld world, TestAttemptConfig config) (package private) static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, StructureBlockFinder finder) (package private) static Stream<GameTestState> TestCommand.stream(ServerCommandSource source, TestAttemptConfig config, TestFunctionFinder 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 prevState, GameTestState nextState, TestRunContext context) voidTestCommand.Listener.onStarted(GameTestState test) private static intTestCommand.reset(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()static GameTestStateBatches.createState(TestFunction testFunction, int rotationSteps, ServerWorld world) GameTestState.init()GameTestState.initializeImmediately()GameTestState.startCountdown(int additionalExpectedStopTime) Methods in net.minecraft.test that return types with arguments of type GameTestStateModifier and TypeMethodDescriptionTestSet.getOptionalTests()TestSet.getRequiredTests()TestRunContext.getStates()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) private static voidStructureTestListener.createTestOutputLectern(GameTestState test, String output) 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 BlockPosStructureTestListener.getBeaconPos(GameTestState state) static StructureBlockBlockEntityStructureTestUtil.initStructure(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) 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 prevState, GameTestState nextState, TestRunContext context) voidTestListener.onRetry(GameTestState prevState, 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 static voidStructureTestListener.placeAboveBeacon(GameTestState state, Block block) private static StructureBlockBlockEntityStructureTestUtil.placeStructureTemplate(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) private Optional<GameTestState> TestRunContext.prepareStructure(GameTestState oldState) voidTestSet.remove(GameTestState state) private voidStructureTestListener.retry(GameTestState state, TestRunContext context, boolean prevPassed) voidTestRunContext.retry(GameTestState state) TestRunContext.TestStructureSpawner.spawnStructure(GameTestState oldState) TestStructurePlacer.spawnStructure(GameTestState oldState) voidTestManager.start(GameTestState test) protected static voidStructureTestListener.visualizeTest(GameTestState test, Block block) 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, String batchId, long 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(String id, Collection<GameTestState> testFunctions, Consumer<ServerWorld> beforeBatchConsumer, Consumer<ServerWorld> afterBatchConsumer) TestSet(Collection<GameTestState> tests)