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 TypeMethodDescriptionvoid
TestCommand.Listener.onFailed
(GameTestState test, TestRunContext context) void
TestCommand.Listener.onPassed
(GameTestState test, TestRunContext context) void
TestCommand.Listener.onRetry
(GameTestState lastState, GameTestState nextState, TestRunContext context) void
TestCommand.Listener.onStarted
(GameTestState test) private static int
TestCommand.reset
(ServerCommandSource source, GameTestState state) -
Uses of GameTestState in net.minecraft.test
Fields in net.minecraft.test declared as GameTestStateModifier and TypeFieldDescriptionprivate final GameTestState
TestContext.test
(package private) final GameTestState
TimedTaskRunner.test
Fields in net.minecraft.test with type parameters of type GameTestStateModifier and TypeFieldDescriptionprivate final Collection
<GameTestState> GameTestBatch.states
The field for thestates
record component.private final List
<GameTestState> TestRunContext.states
private final Collection
<GameTestState> TestStructurePlacer.statesToClear
private final Collection
<GameTestState> TestManager.tests
private final Collection
<GameTestState> TestSet.tests
private final List
<GameTestState> TestRunContext.toBeRetried
Methods 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 thestates
record component.Methods in net.minecraft.test with parameters of type GameTestStateModifier and TypeMethodDescriptionvoid
TestSet.add
(GameTestState test) private Element
XmlReportingTestCompletionListener.addTestCase
(GameTestState test, String name) protected static void
StructureTestListener.failTest
(GameTestState test, Throwable output) static void
TestFailureLogger.failTest
(GameTestState test) protected static void
StructureTestListener.finishFailedTest
(GameTestState test, Throwable output) private static void
StructureTestListener.finishPassedTest
(GameTestState test, String output) private static Optional
<TestInstanceBlockEntity> StructureTestListener.getTestInstanceBlockEntity
(GameTestState state) private static void
TestServer.logFailure
(GameTestState state) void
StructureTestListener.onFailed
(GameTestState test, TestRunContext context) void
TestListener.onFailed
(GameTestState test, TestRunContext context) void
StructureTestListener.onPassed
(GameTestState test, TestRunContext context) void
TestListener.onPassed
(GameTestState test, TestRunContext context) void
StructureTestListener.onRetry
(GameTestState lastState, GameTestState nextState, TestRunContext context) void
TestListener.onRetry
(GameTestState lastState, GameTestState nextState, TestRunContext context) void
StructureTestListener.onStarted
(GameTestState test) void
TestListener.onStarted
(GameTestState test) void
FailureLoggingTestCompletionListener.onTestFailed
(GameTestState test) void
TestCompletionListener.onTestFailed
(GameTestState test) void
XmlReportingTestCompletionListener.onTestFailed
(GameTestState test) void
FailureLoggingTestCompletionListener.onTestPassed
(GameTestState test) void
TestCompletionListener.onTestPassed
(GameTestState test) void
XmlReportingTestCompletionListener.onTestPassed
(GameTestState test) static void
StructureTestListener.passTest
(GameTestState test, String output) static void
TestFailureLogger.passTest
(GameTestState test) private Optional
<GameTestState> TestRunContext.prepareStructure
(GameTestState oldState) void
TestSet.remove
(GameTestState state) private void
StructureTestListener.retry
(GameTestState state, TestRunContext context, boolean lastPassed) void
TestRunContext.retry
(GameTestState state) TestRunContext.TestStructureSpawner.spawnStructure
(GameTestState oldState) TestStructurePlacer.spawnStructure
(GameTestState oldState) void
TestManager.start
(GameTestState test) Method parameters in net.minecraft.test with type arguments of type GameTestStateModifier and TypeMethodDescriptionvoid
TestSet.addListener
(Consumer<GameTestState> onFailed) TestRunContext.Batcher.batch
(Collection<GameTestState> states) static GameTestBatch
Batches.create
(Collection<GameTestState> states, RegistryEntry<TestEnvironmentDefinition> environment, int index) static TestRunContext.Builder
TestRunContext.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)