net.minecraft.test

public class TestStructurePlacer

implements TestRunContext$TestStructureSpawner

net.minecraft.gametest.framework.StructureGridSpawner
net.minecraft.class_9120
net.minecraft.test.TestStructurePlacer

Field summary

Modifier and TypeField
private static final int
SPACE_BETWEEN_COLUMNS
field_48497
MARGIN_X
private static final int
SPACE_BETWEEN_ROWS
field_48498
MARGIN_Z
private final int
testsPerRow
field_48499
testsPerRow
private int
currentRowCount
field_48500
testsInCurrentRow
private Box
rowBounds
field_48501
box
private final BlockPos$Mutable
nextTestNorthWestCorner
field_48502
mutablePos
private final BlockPos
firstTestNorthWestCorner
field_48503
origin
private final boolean
clearOnBatch
field_52281
clearBeforeBatch
private float
maxX
field_52282
maxX
private final Collection<GameTestState>
testInLastBatch
field_52283
statesToClear

Constructor summary

ModifierConstructor
public (BlockPos origin, int testsPerRow, boolean clearBeforeBatch)

Method summary

Modifier and TypeMethod
public void
onBatchStart(ServerLevel level)
method_61098(class_3218 arg0)
onBatch(ServerWorld arg0)
public Optional<GameTestState>
spawnStructure(GameTestInfo testInfo)
method_1_169(class_4517 arg0)
spawnStructure(GameTestState arg0)
private static void
lambda$onBatchStart$0(ServerLevel arg0, GameTestInfo arg1)
method_61101(class_3218 arg0, class_4517 arg1)
method_61101(ServerWorld arg0, GameTestState state)