public class MapGenStronghold extends MapGenStructure
Modifier and Type | Class and Description |
---|---|
static class |
MapGenStronghold.Start |
Modifier and Type | Field and Description |
---|---|
java.util.List<Biome> |
allowedBiomes |
private double |
distance |
private boolean |
ranBiomeCheck |
private int |
spread |
private ChunkPos[] |
structureCoords |
structureMap
rand, range, world
Constructor and Description |
---|
MapGenStronghold() |
MapGenStronghold(java.util.Map<java.lang.String,java.lang.String> p_i2068_1_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSpawnStructureAtCoords(int chunkX,
int chunkZ) |
private void |
generatePositions() |
BlockPos |
getNearestStructurePos(World worldIn,
BlockPos pos,
boolean findUnexplored) |
java.lang.String |
getStructureName() |
protected StructureStart |
getStructureStart(int chunkX,
int chunkZ) |
findNearestStructurePosBySpacing, generateStructure, getStructureAt, initializeStructureData, isInsideStructure, isPositionInStructure, recursiveGenerate
generate, setupChunkSeed
public final java.util.List<Biome> allowedBiomes
private boolean ranBiomeCheck
private ChunkPos[] structureCoords
private double distance
private int spread
public MapGenStronghold()
public MapGenStronghold(java.util.Map<java.lang.String,java.lang.String> p_i2068_1_)
public java.lang.String getStructureName()
getStructureName
in class MapGenStructure
public BlockPos getNearestStructurePos(World worldIn, BlockPos pos, boolean findUnexplored)
getNearestStructurePos
in class MapGenStructure
protected boolean canSpawnStructureAtCoords(int chunkX, int chunkZ)
canSpawnStructureAtCoords
in class MapGenStructure
private void generatePositions()
protected StructureStart getStructureStart(int chunkX, int chunkZ)
getStructureStart
in class MapGenStructure