类的使用
net.minecraft.test.GameTestState
-
使用GameTestState的程序包 程序包 说明 net.minecraft.server.command net.minecraft.test -
-
net.minecraft.server.command中GameTestState的使用
参数类型为GameTestState的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 voidTestCommand.Listener. onFailed(GameTestState test)voidTestCommand.Listener. onPassed(GameTestState test)voidTestCommand.Listener. onStarted(GameTestState test) -
net.minecraft.test中GameTestState的使用
声明为GameTestState的net.minecraft.test中的字段 修饰符和类型 字段 说明 private GameTestStateStructureTestListener. testprivate GameTestStateTestContext. testprivate GameTestStateTimedTaskRunner. test类型参数类型为GameTestState的net.minecraft.test中的字段 修饰符和类型 字段 说明 private List<com.mojang.datafixers.util.Pair<GameTestBatch,Collection<GameTestState>>>TestRunner. batchesprivate Collection<GameTestState>TestManager. testsprivate List<GameTestState>TestRunner. testsprivate Collection<GameTestState>TestSet. tests返回变量类型为GameTestState的类型的net.minecraft.test中的方法 修饰符和类型 方法 说明 Collection<GameTestState>TestSet. getOptionalTests()Collection<GameTestState>TestSet. getRequiredTests()List<GameTestState>TestRunner. getTests()private Map<GameTestState,BlockPos>TestRunner. method_29401(Collection<GameTestState> gameTests)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)参数类型为GameTestState的net.minecraft.test中的方法 修饰符和类型 方法 说明 voidTestSet. 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)voidStructureTestListener. onFailed(GameTestState test)voidTestListener. onFailed(GameTestState test)voidStructureTestListener. onPassed(GameTestState test)voidTestListener. onPassed(GameTestState test)voidStructureTestListener. onStarted(GameTestState test)voidTestListener. onStarted(GameTestState test)voidFailureLoggingTestCompletionListener. onTestFailed(GameTestState test)voidTeamCityTestCompletionListener. onTestFailed(GameTestState test)voidTestCompletionListener. onTestFailed(GameTestState test)voidXmlReportingTestCompletionListener. onTestFailed(GameTestState test)voidFailureLoggingTestCompletionListener. onTestPassed(GameTestState test)voidTeamCityTestCompletionListener. onTestPassed(GameTestState test)voidTestCompletionListener. onTestPassed(GameTestState test)voidXmlReportingTestCompletionListener. onTestPassed(GameTestState test)static voidStructureTestListener. passTest(GameTestState test, String output)static voidTestFailureLogger. passTest(GameTestState test)voidTestManager. start(GameTestState test)static voidTestUtil. startTest(GameTestState test, BlockPos pos, TestManager testManager)protected static voidStructureTestListener. visualizeTest(GameTestState test, Block block)类型变量类型为GameTestState的net.minecraft.test中的方法参数 修饰符和类型 方法 说明 voidTestSet. addListener(Consumer<GameTestState> onFailed)private Map<GameTestState,BlockPos>TestRunner. method_29401(Collection<GameTestState> gameTests)参数类型为GameTestState的net.minecraft.test中的构造器 构造器 说明 NotEnoughSuccessesError(int attempts, int successes, GameTestState test)StructureTestListener(GameTestState test, TestManager testManager, BlockPos pos)TestContext(GameTestState test)TimedTaskRunner(GameTestState gameTest)类型变量类型为GameTestState的net.minecraft.test中的构造器参数 构造器 说明 TestSet(Collection<GameTestState> tests)
-