Package net.minecraft.gametest.framework
Class StructureGridSpawner
java.lang.Object
net.minecraft.gametest.framework.StructureGridSpawner
- All Implemented Interfaces:
GameTestRunner.StructureSpawner
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private int
private final BlockPos
private float
private final BlockPos.MutableBlockPos
private AABB
private static final int
private static final int
private final Collection
<GameTestInfo> private final int
Fields inherited from interface net.minecraft.gametest.framework.GameTestRunner.StructureSpawner
IN_PLACE, NOT_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBatchStart
(ServerLevel p_352155_) spawnStructure
(GameTestInfo p_320875_)
-
Field Details
-
SPACE_BETWEEN_COLUMNS
private static final int SPACE_BETWEEN_COLUMNS- See Also:
-
SPACE_BETWEEN_ROWS
private static final int SPACE_BETWEEN_ROWS- See Also:
-
testsPerRow
private final int testsPerRow -
currentRowCount
private int currentRowCount -
rowBounds
-
nextTestNorthWestCorner
-
firstTestNorthWestCorner
-
clearOnBatch
private final boolean clearOnBatch -
maxX
private float maxX -
testInLastBatch
-
-
Constructor Details
-
StructureGridSpawner
-
-
Method Details
-
onBatchStart
- Specified by:
onBatchStart
in interfaceGameTestRunner.StructureSpawner
-
spawnStructure
- Specified by:
spawnStructure
in interfaceGameTestRunner.StructureSpawner
-