Uses of Class
net.minecraft.gametest.framework.GameTestInfo
Packages that use GameTestInfo
-
Uses of GameTestInfo in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as GameTestInfoModifier and TypeFieldDescription(package private) final GameTestInfo
GameTestSequence.parent
final GameTestInfo
GameTestHelper.testInfo
Fields in net.minecraft.gametest.framework with type parameters of type GameTestInfoModifier and TypeFieldDescriptionprivate final List
<GameTestInfo> GameTestRunner.allTestInfos
private final Collection
<GameTestInfo> GameTestBatch.gameTestInfos
The field for thegameTestInfos
record component.private final List
<GameTestInfo> GameTestRunner.scheduledForRerun
private final Collection
<GameTestInfo> GameTestTicker.testInfos
private final Collection
<GameTestInfo> StructureGridSpawner.testInLastBatch
private final Collection
<GameTestInfo> MultipleTestTracker.tests
Methods in net.minecraft.gametest.framework that return GameTestInfoModifier and TypeMethodDescriptionGameTestInfo.copyReset()
GameTestInfo.placeStructure()
GameTestInfo.prepareTestStructure()
GameTestInfo.startExecution
(int delay) static GameTestInfo
GameTestBatchFactory.toGameTestInfo
(TestFunction testFunction, int rotationSteps, ServerLevel level) Methods in net.minecraft.gametest.framework that return types with arguments of type GameTestInfoModifier and TypeMethodDescriptionprivate static Optional
<GameTestInfo> TestCommand.createGameTestInfo
(BlockPos pos, ServerLevel level, RetryOptions retryOptions) private Collection
<GameTestInfo> GameTestRunner.createStructuresForBatch
(Collection<GameTestInfo> batch) GameTestBatch.gameTestInfos()
Returns the value of thegameTestInfos
record component.MultipleTestTracker.getFailedOptional()
MultipleTestTracker.getFailedRequired()
GameTestRunner.getTestInfos()
private Optional
<GameTestInfo> GameTestRunner.spawn
(GameTestInfo test) GameTestRunner.StructureSpawner.spawnStructure
(GameTestInfo gameTestInfo) StructureGridSpawner.spawnStructure
(GameTestInfo gameTestInfo) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfo
(CommandSourceStack source, RetryOptions retryOptions, TestFunctionFinder testFunctionFinder, int rotationSteps) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfos
(CommandSourceStack source, RetryOptions retryOptions, StructureBlockPosFinder structureBlockPosFinder) Methods in net.minecraft.gametest.framework with parameters of type GameTestInfoModifier and TypeMethodDescriptionvoid
GameTestTicker.add
(GameTestInfo testInfo) void
MultipleTestTracker.addTestToTrack
(GameTestInfo testInfo) private static StructureBlockEntity
StructureUtils.createStructureBlock
(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) private Element
JUnitLikeTestReporter.createTestCase
(GameTestInfo testInfo, String name) private static BlockPos
ReportGameListener.getBeaconPos
(GameTestInfo testInfo) private void
ReportGameListener.handleRetry
(GameTestInfo testInfo, GameTestRunner runner, boolean passed) static void
GlobalTestReporter.onTestFailed
(GameTestInfo testInfo) void
JUnitLikeTestReporter.onTestFailed
(GameTestInfo testInfo) void
LogTestReporter.onTestFailed
(GameTestInfo p_127797_) void
TestReporter.onTestFailed
(GameTestInfo testInfo) static void
GlobalTestReporter.onTestSuccess
(GameTestInfo testInfo) void
JUnitLikeTestReporter.onTestSuccess
(GameTestInfo testInfo) void
LogTestReporter.onTestSuccess
(GameTestInfo p_177676_) void
TestReporter.onTestSuccess
(GameTestInfo testInfo) static StructureBlockEntity
StructureUtils.prepareTestStructure
(GameTestInfo gameTestInfo, BlockPos pos, Rotation rotation, ServerLevel level) void
MultipleTestTracker.remove
(GameTestInfo gameTestInfo) protected static void
ReportGameListener.reportFailure
(GameTestInfo testInfo, Throwable error) static void
ReportGameListener.reportPassed
(GameTestInfo testInfo, String message) void
GameTestRunner.rerunTest
(GameTestInfo test) private static int
TestCommand.resetGameTestInfo
(GameTestInfo gameTestInfo) private Optional
<GameTestInfo> GameTestRunner.spawn
(GameTestInfo test) protected static void
ReportGameListener.spawnBeacon
(GameTestInfo testInfo, Block block) private static void
ReportGameListener.spawnLectern
(GameTestInfo testInfo, String message) GameTestRunner.StructureSpawner.spawnStructure
(GameTestInfo gameTestInfo) StructureGridSpawner.spawnStructure
(GameTestInfo gameTestInfo) void
GameTestListener.testAddedForRerun
(GameTestInfo oldTest, GameTestInfo newTest, GameTestRunner runner) void
ReportGameListener.testAddedForRerun
(GameTestInfo oldTest, GameTestInfo newTest, GameTestRunner runner) void
TestCommand.TestSummaryDisplayer.testAddedForRerun
(GameTestInfo oldTest, GameTestInfo newTest, GameTestRunner runner) void
GameTestListener.testFailed
(GameTestInfo test, GameTestRunner runner) void
ReportGameListener.testFailed
(GameTestInfo test, GameTestRunner runner) void
TestCommand.TestSummaryDisplayer.testFailed
(GameTestInfo test, GameTestRunner runner) void
GameTestListener.testPassed
(GameTestInfo test, GameTestRunner runner) void
ReportGameListener.testPassed
(GameTestInfo test, GameTestRunner runner) void
TestCommand.TestSummaryDisplayer.testPassed
(GameTestInfo test, GameTestRunner runner) void
GameTestListener.testStructureLoaded
(GameTestInfo testInfo) void
ReportGameListener.testStructureLoaded
(GameTestInfo testInfo) void
TestCommand.TestSummaryDisplayer.testStructureLoaded
(GameTestInfo testInfo) private static void
ReportGameListener.updateBeaconGlass
(GameTestInfo testInfo, Block newBlock) protected static void
ReportGameListener.visualizeFailedTest
(GameTestInfo testInfo, Throwable error) private static void
ReportGameListener.visualizePassedTest
(GameTestInfo testInfo, String message) Method parameters in net.minecraft.gametest.framework with type arguments of type GameTestInfoModifier and TypeMethodDescriptionvoid
MultipleTestTracker.addFailureListener
(Consumer<GameTestInfo> onFail) GameTestRunner.GameTestBatcher.batch
(Collection<GameTestInfo> infos) private Collection
<GameTestInfo> GameTestRunner.createStructuresForBatch
(Collection<GameTestInfo> batch) static GameTestRunner.Builder
GameTestRunner.Builder.fromInfo
(Collection<GameTestInfo> infos, ServerLevel level) static GameTestBatch
GameTestBatchFactory.toGameTestBatch
(Collection<GameTestInfo> gameTestInfos, String functionName, long index) Constructors in net.minecraft.gametest.framework with parameters of type GameTestInfoModifierConstructorDescriptionExhaustedAttemptsException
(int madeAttempts, int successfulAttempts, GameTestInfo testInfo) GameTestHelper
(GameTestInfo testInfo) GameTestSequence
(GameTestInfo testInfo) Constructor parameters in net.minecraft.gametest.framework with type arguments of type GameTestInfoModifierConstructorDescriptionGameTestBatch
(String name, Collection<GameTestInfo> gameTestInfos, Consumer<ServerLevel> beforeBatchFunction, Consumer<ServerLevel> afterBatchFunction) Creates an instance of aGameTestBatch
record class.MultipleTestTracker
(Collection<GameTestInfo> testInfos)