Uses of Class
net.minecraft.test.GameTestState
-
Uses of GameTestState in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static boolean
TestCommand.checkStructure
(ServerWorld world, GameTestState state) void
TestCommand.Listener.onFailed
(GameTestState test) void
TestCommand.Listener.onPassed
(GameTestState test) void
TestCommand.Listener.onStarted
(GameTestState test) -
Uses of GameTestState in net.minecraft.test
Modifier and TypeFieldDescriptionprivate final GameTestState
StructureTestListener.test
private final GameTestState
TestContext.test
(package private) final GameTestState
TimedTaskRunner.test
Modifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Pair<GameTestBatch,
Collection<GameTestState>>> TestRunner.batches
private final Collection<GameTestState>
TestManager.tests
private final List<GameTestState>
TestRunner.tests
private final Collection<GameTestState>
TestSet.tests
Modifier and TypeMethodDescriptionprivate Map<GameTestState,
BlockPos> TestRunner.alignTestStructures
(Collection<GameTestState> gameTests) TestSet.getOptionalTests()
TestSet.getRequiredTests()
TestRunner.getTests()
static Collection<GameTestState>
TestUtil.runTestBatches
(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) static Collection<GameTestState>
TestUtil.runTestFunctions
(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) Modifier and TypeMethodDescriptionvoid
TestSet.add
(GameTestState test) private Element
XmlReportingTestCompletionListener.addTestCase
(GameTestState test, String name) private static void
StructureTestListener.createTestOutputLectern
(GameTestState test, String output) 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) static StructureBlockBlockEntity
StructureTestUtil.initStructure
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) void
StructureTestListener.onFailed
(GameTestState test) void
TestListener.onFailed
(GameTestState test) void
StructureTestListener.onPassed
(GameTestState test) void
TestListener.onPassed
(GameTestState test) 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 static StructureBlockBlockEntity
StructureTestUtil.placeStructureTemplate
(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world) void
TestManager.start
(GameTestState test) static void
TestUtil.startTest
(GameTestState test, BlockPos pos, TestManager testManager) protected static void
StructureTestListener.visualizeTest
(GameTestState test, Block block) Modifier and TypeMethodDescriptionvoid
TestSet.addListener
(Consumer<GameTestState> onFailed) private Map<GameTestState,
BlockPos> TestRunner.alignTestStructures
(Collection<GameTestState> gameTests) ModifierConstructorDescriptionNotEnoughSuccessesError
(int attempts, int successes, GameTestState test) StructureTestListener
(GameTestState test, TestManager testManager, BlockPos pos) TestContext
(GameTestState test) (package private)
TimedTaskRunner
(GameTestState gameTest)