Package net.minecraft.gametest.framework
Class GameTestBatchFactory
java.lang.Object
net.minecraft.gametest.framework.GameTestBatchFactory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GameTestBatchFactory.TestDecorator
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<GameTestBatch> divideIntoBatches
(Collection<Holder.Reference<GameTestInstance>> pInstances, GameTestBatchFactory.TestDecorator pDecorator, ServerLevel pLevel) fromGameTestInfo
(int pMaxTests) static GameTestBatch
toGameTestBatch
(Collection<GameTestInfo> pGameTestInfos, Holder<TestEnvironmentDefinition> pEnvironment, int pIndex)
-
Field Details
-
MAX_TESTS_PER_BATCH
private static final int MAX_TESTS_PER_BATCH- See Also:
-
DIRECT
-
-
Constructor Details
-
GameTestBatchFactory
public GameTestBatchFactory()
-
-
Method Details
-
divideIntoBatches
public static List<GameTestBatch> divideIntoBatches(Collection<Holder.Reference<GameTestInstance>> pInstances, GameTestBatchFactory.TestDecorator pDecorator, ServerLevel pLevel) -
fromGameTestInfo
-
fromGameTestInfo
-
toGameTestBatch
public static GameTestBatch toGameTestBatch(Collection<GameTestInfo> pGameTestInfos, Holder<TestEnvironmentDefinition> pEnvironment, int pIndex)
-