public abstract class MapGenStructure extends MapGenBase
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
structureMap
Used to store a list of all structures that have been recursively generated.
|
rand, range, worldObj| Constructor and Description |
|---|
MapGenStructure() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canSpawnStructureAtCoords(int p_75047_1_,
int p_75047_2_) |
boolean |
func_142038_b(int p_142038_1_,
int p_142038_2_,
int p_142038_3_) |
abstract java.lang.String |
func_143025_a() |
protected StructureStart |
func_143028_c(int p_143028_1_,
int p_143028_2_,
int p_143028_3_) |
protected void |
func_151538_a(World p_151538_1_,
int p_151538_2_,
int p_151538_3_,
int p_151538_4_,
int p_151538_5_,
Block[] p_151538_6_) |
ChunkPosition |
func_151545_a(World p_151545_1_,
int p_151545_2_,
int p_151545_3_,
int p_151545_4_) |
boolean |
generateStructuresInChunk(World p_75051_1_,
java.util.Random p_75051_2_,
int p_75051_3_,
int p_75051_4_)
Generates structures in specified chunk next to existing structures.
|
protected java.util.List |
getCoordList()
Returns a list of other locations at which the structure generation has been run, or null if not relevant to this
structure generator.
|
protected abstract StructureStart |
getStructureStart(int p_75049_1_,
int p_75049_2_) |
boolean |
hasStructureAt(int p_75048_1_,
int p_75048_2_,
int p_75048_3_)
Returns true if the structure generator has generated a structure located at the given position tuple.
|
func_151539_aprotected java.util.Map structureMap
public abstract java.lang.String func_143025_a()
protected final void func_151538_a(World p_151538_1_, int p_151538_2_, int p_151538_3_, int p_151538_4_, int p_151538_5_, Block[] p_151538_6_)
func_151538_a in class MapGenBasepublic boolean generateStructuresInChunk(World p_75051_1_, java.util.Random p_75051_2_, int p_75051_3_, int p_75051_4_)
public boolean hasStructureAt(int p_75048_1_,
int p_75048_2_,
int p_75048_3_)
protected StructureStart func_143028_c(int p_143028_1_, int p_143028_2_, int p_143028_3_)
public boolean func_142038_b(int p_142038_1_,
int p_142038_2_,
int p_142038_3_)
public ChunkPosition func_151545_a(World p_151545_1_, int p_151545_2_, int p_151545_3_, int p_151545_4_)
protected java.util.List getCoordList()
protected abstract boolean canSpawnStructureAtCoords(int p_75047_1_,
int p_75047_2_)
protected abstract StructureStart getStructureStart(int p_75049_1_, int p_75049_2_)