Package net.minecraft.gametest.framework
Class StructureGridSpawner
java.lang.Object
net.minecraft.gametest.framework.StructureGridSpawner
- All Implemented Interfaces:
GameTestRunner.StructureSpawner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate intprivate final BlockPosprivate floatprivate final BlockPos.MutableBlockPosprivate AABBprivate static final intprivate static final intprivate final Collection<GameTestInfo> private final intFields inherited from interface net.minecraft.gametest.framework.GameTestRunner.StructureSpawner
IN_PLACE, NOT_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonBatchStart(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:
onBatchStartin interfaceGameTestRunner.StructureSpawner
-
spawnStructure
- Specified by:
spawnStructurein interfaceGameTestRunner.StructureSpawner
-