Package net.minecraft.gametest.framework
Class GameTestBatchFactory
java.lang.Object
net.minecraft.gametest.framework.GameTestBatchFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromGameTestInfo
(int pMaxTests) static Collection
<GameTestBatch> fromTestFunction
(Collection<TestFunction> pTestFunctions, ServerLevel pLevel) static GameTestBatch
toGameTestBatch
(Collection<GameTestInfo> pGameTestInfos, String pFunctionName, long pIndex) static GameTestInfo
toGameTestInfo
(TestFunction pTestFunction, int pRotationSteps, ServerLevel pLevel)
-
Field Details
-
MAX_TESTS_PER_BATCH
private static final int MAX_TESTS_PER_BATCH- See Also:
-
-
Constructor Details
-
GameTestBatchFactory
public GameTestBatchFactory()
-
-
Method Details
-
fromTestFunction
public static Collection<GameTestBatch> fromTestFunction(Collection<TestFunction> pTestFunctions, ServerLevel pLevel) -
toGameTestInfo
public static GameTestInfo toGameTestInfo(TestFunction pTestFunction, int pRotationSteps, ServerLevel pLevel) -
fromGameTestInfo
-
fromGameTestInfo
-
toGameTestBatch
public static GameTestBatch toGameTestBatch(Collection<GameTestInfo> pGameTestInfos, String pFunctionName, long pIndex)
-