public class WoodlandMansion extends MapGenStructure
Modifier and Type | Class and Description |
---|---|
static class |
WoodlandMansion.Start |
Modifier and Type | Field and Description |
---|---|
static java.util.List<Biome> |
ALLOWED_BIOMES |
private int |
featureSpacing |
private int |
minFeatureSeparation |
private ChunkGeneratorOverworld |
provider |
structureMap
rand, range, world
Constructor and Description |
---|
WoodlandMansion(ChunkGeneratorOverworld providerIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSpawnStructureAtCoords(int chunkX,
int chunkZ) |
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
private final int featureSpacing
private final int minFeatureSeparation
public static final java.util.List<Biome> ALLOWED_BIOMES
private final ChunkGeneratorOverworld provider
public WoodlandMansion(ChunkGeneratorOverworld providerIn)
public java.lang.String getStructureName()
getStructureName
in class MapGenStructure
protected boolean canSpawnStructureAtCoords(int chunkX, int chunkZ)
canSpawnStructureAtCoords
in class MapGenStructure
public BlockPos getNearestStructurePos(World worldIn, BlockPos pos, boolean findUnexplored)
getNearestStructurePos
in class MapGenStructure
protected StructureStart getStructureStart(int chunkX, int chunkZ)
getStructureStart
in class MapGenStructure