public class MapGenScatteredFeature extends MapGenStructure
Modifier and Type | Class and Description |
---|---|
static class |
MapGenScatteredFeature.Start |
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) |
BlockPos |
getClosestStrongholdPos(World worldIn,
BlockPos pos,
boolean p_180706_3_) |
java.util.List<Biome.SpawnListEntry> |
getScatteredFeatureSpawnList() |
java.lang.String |
getStructureName() |
protected StructureStart |
getStructureStart(int chunkX,
int chunkZ) |
boolean |
isSwampHut(BlockPos p_175798_1_) |
findNearestStructurePosBySpacing, generateStructure, getStructureAt, initializeStructureData, isInsideStructure, isPositionInStructure, recursiveGenerate
generate, setupChunkSeed
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 getClosestStrongholdPos(World worldIn, BlockPos pos, boolean p_180706_3_)
getClosestStrongholdPos
in class MapGenStructure
protected StructureStart getStructureStart(int chunkX, int chunkZ)
getStructureStart
in class MapGenStructure
public boolean isSwampHut(BlockPos p_175798_1_)
public java.util.List<Biome.SpawnListEntry> getScatteredFeatureSpawnList()