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_329875_, ServerLevel p_329864_) -
Method Summary
Modifier and TypeMethodDescriptionbatcher
(GameTestRunner.GameTestBatcher p_344402_) build()
existingStructureSpawner
(StructureGridSpawner p_342571_) static GameTestRunner.Builder
fromBatches
(Collection<GameTestBatch> p_329486_, ServerLevel p_336096_) static GameTestRunner.Builder
fromInfo
(Collection<GameTestInfo> p_335004_, ServerLevel p_328084_) haltOnError
(boolean p_344352_)
-
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_329486_, ServerLevel p_336096_) -
fromInfo
public static GameTestRunner.Builder fromInfo(Collection<GameTestInfo> p_335004_, ServerLevel p_328084_) -
haltOnError
-
newStructureSpawner
-
existingStructureSpawner
-
batcher
-
build
-