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>> p_397497_, GameTestBatchFactory.TestDecorator p_397372_, ServerLevel p_397029_) fromGameTestInfo
(int p_352220_) static GameTestBatch
toGameTestBatch
(Collection<GameTestInfo> p_352081_, Holder<TestEnvironmentDefinition> p_397090_, int p_397893_)
-
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>> p_397497_, GameTestBatchFactory.TestDecorator p_397372_, ServerLevel p_397029_) -
fromGameTestInfo
-
fromGameTestInfo
-
toGameTestBatch
public static GameTestBatch toGameTestBatch(Collection<GameTestInfo> p_352081_, Holder<TestEnvironmentDefinition> p_397090_, int p_397893_)
-