类 GameTestRunner
java.lang.Object
net.minecraft.gametest.framework.GameTestRunner
-
字段概要
字段修饰符和类型字段说明static final int
private static final int
static final int
static final int
static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
clearAllTests
(ServerLevel pServerLevel, BlockPos pPos, GameTestTicker pTestTicker, int pRadius) static void
clearMarkers
(ServerLevel pServerLevel) static Collection<GameTestBatch>
groupTestsIntoBatches
(Collection<TestFunction> pTestFunctions) static void
runTest
(GameTestInfo pTestInfo, BlockPos pPos, GameTestTicker pTestTicker) static Collection<GameTestInfo>
runTestBatches
(Collection<GameTestBatch> pTestBatches, BlockPos pPos, Rotation pRotation, ServerLevel pServerLevel, GameTestTicker pTestTicker, int pTestsPerRow) static Collection<GameTestInfo>
runTests
(Collection<TestFunction> pTestFunctions, BlockPos pPos, Rotation pRotation, ServerLevel pServerLevel, GameTestTicker pTestTicker, int pTestsPerRow)
-
字段详细资料
-
MAX_TESTS_PER_BATCH
private static final int MAX_TESTS_PER_BATCH- 另请参阅:
-
PADDING_AROUND_EACH_STRUCTURE
public static final int PADDING_AROUND_EACH_STRUCTURE- 另请参阅:
-
SPACE_BETWEEN_COLUMNS
public static final int SPACE_BETWEEN_COLUMNS- 另请参阅:
-
SPACE_BETWEEN_ROWS
public static final int SPACE_BETWEEN_ROWS- 另请参阅:
-
DEFAULT_TESTS_PER_ROW
public static final int DEFAULT_TESTS_PER_ROW- 另请参阅:
-
-
构造器详细资料
-
GameTestRunner
public GameTestRunner()
-
-
方法详细资料
-
runTest
-
runTestBatches
public static Collection<GameTestInfo> runTestBatches(Collection<GameTestBatch> pTestBatches, BlockPos pPos, Rotation pRotation, ServerLevel pServerLevel, GameTestTicker pTestTicker, int pTestsPerRow) -
runTests
public static Collection<GameTestInfo> runTests(Collection<TestFunction> pTestFunctions, BlockPos pPos, Rotation pRotation, ServerLevel pServerLevel, GameTestTicker pTestTicker, int pTestsPerRow) -
groupTestsIntoBatches
public static Collection<GameTestBatch> groupTestsIntoBatches(Collection<TestFunction> pTestFunctions) -
clearAllTests
public static void clearAllTests(ServerLevel pServerLevel, BlockPos pPos, GameTestTicker pTestTicker, int pRadius) -
clearMarkers
-