public class MapGenScatteredFeature extends MapGenStructure
Modifier and Type | Class and Description |
---|---|
static class |
MapGenScatteredFeature.Start |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<Biome> |
BIOMELIST |
private int |
maxDistanceBetweenScatteredFeatures |
private int |
minDistanceBetweenScatteredFeatures |
private java.util.List<Biome.SpawnListEntry> |
monsters |
structureMap
rand, range, world
Constructor and Description |
---|
MapGenScatteredFeature() |
MapGenScatteredFeature(java.util.Map<java.lang.String,java.lang.String> p_i2061_1_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSpawnStructureAtCoords(int chunkX,
int chunkZ) |
java.util.List<Biome.SpawnListEntry> |
getMonsters() |
BlockPos |
getNearestStructurePos(World worldIn,
BlockPos pos,
boolean findUnexplored) |
java.lang.String |
getStructureName() |
protected StructureStart |
getStructureStart(int chunkX,
int chunkZ) |
boolean |
isSwampHut(BlockPos pos) |
findNearestStructurePosBySpacing, generateStructure, getStructureAt, initializeStructureData, isInsideStructure, isPositionInStructure, recursiveGenerate
generate, setupChunkSeed
private static final java.util.List<Biome> BIOMELIST
private final java.util.List<Biome.SpawnListEntry> monsters
private int maxDistanceBetweenScatteredFeatures
private final int minDistanceBetweenScatteredFeatures
public MapGenScatteredFeature()
public MapGenScatteredFeature(java.util.Map<java.lang.String,java.lang.String> p_i2061_1_)
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
public boolean isSwampHut(BlockPos pos)
public java.util.List<Biome.SpawnListEntry> getMonsters()