Package net.minecraft.gametest.framework
Class GameTestRunner.Builder
java.lang.Object
net.minecraft.gametest.framework.GameTestRunner.Builder
- Enclosing class:
GameTestRunner
-
Field Summary
Modifier and TypeFieldDescriptionprivate GameTestRunner.GameTestBatcher
private final Collection
<GameTestBatch> private GameTestRunner.StructureSpawner
private boolean
private final ServerLevel
private GameTestRunner.StructureSpawner
private final GameTestTicker
-
Constructor Summary
ModifierConstructorDescriptionprivate
Builder
(Collection<GameTestBatch> p_320127_, ServerLevel p_320437_) -
Method Summary
Modifier and TypeMethodDescriptionbatcher
(GameTestRunner.GameTestBatcher p_352338_) build()
existingStructureSpawner
(StructureGridSpawner p_352321_) static GameTestRunner.Builder
fromBatches
(Collection<GameTestBatch> p_319850_, ServerLevel p_320176_) static GameTestRunner.Builder
fromInfo
(Collection<GameTestInfo> p_319878_, ServerLevel p_320046_) haltOnError
(boolean p_352186_)
-
Field Details
-
level
-
testTicker
-
batcher
-
existingStructureSpawner
-
newStructureSpawner
-
batches
-
haltOnError
private boolean haltOnError
-
-
Constructor Details
-
Builder
-
-
Method Details
-
fromBatches
public static GameTestRunner.Builder fromBatches(Collection<GameTestBatch> p_319850_, ServerLevel p_320176_) -
fromInfo
public static GameTestRunner.Builder fromInfo(Collection<GameTestInfo> p_319878_, ServerLevel p_320046_) -
haltOnError
-
newStructureSpawner
-
existingStructureSpawner
-
batcher
-
build
-