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 final Function<RegistryKey<World>, BlockPos>
firstTestNorthWestCorner
field_48503
origin
private final boolean
clearOnBatch
field_52281
clearBeforeBatch
private final Map<RegistryKey<World>, TestStructurePlacer$State>
grids
field_1_9177
statesByWorld

Constructor summary

ModifierConstructor
public (Function<RegistryKey<World>, BlockPos> origin, int testsPerRow, boolean clearBeforeBatch)

Method summary

Modifier and TypeMethod
private TestStructurePlacer$State
gridFor(GameTestInfo testInfo)
method_1_8848(class_4517 arg0)
getPlacerState(GameTestState state)
public void
onBatchStart(MinecraftServer server)
method_61098(MinecraftServer arg0)
onBatch(MinecraftServer arg0)
public Optional<GameTestState>
spawnStructure(GameTestInfo testInfo)
method_1_169(class_4517 arg0)
spawnStructure(GameTestState arg0)
private static void
lambda$onBatchStart$0(GameTestInfo arg0)
method_61101(class_4517 arg0)
method_61101(GameTestState state)
private TestStructurePlacer$State
lambda$gridFor$0(ResourceKey arg0)
method_1_8849(class_5321 arg0)
method_1_8849(RegistryKey s)