public class ChunkProviderEnd extends java.lang.Object implements IChunkProvider
Modifier and Type | Field and Description |
---|---|
private BiomeGenBase[] |
biomesForGeneration
The biomes that are used to generate the chunk
|
private double[] |
densities |
private java.util.Random |
endRNG |
private World |
endWorld |
(package private) double[] |
noiseData1 |
(package private) double[] |
noiseData2 |
(package private) double[] |
noiseData3 |
(package private) double[] |
noiseData4 |
(package private) double[] |
noiseData5 |
private NoiseGeneratorOctaves |
noiseGen1 |
private NoiseGeneratorOctaves |
noiseGen2 |
private NoiseGeneratorOctaves |
noiseGen3 |
NoiseGeneratorOctaves |
noiseGen4 |
NoiseGeneratorOctaves |
noiseGen5 |
Constructor and Description |
---|
ChunkProviderEnd(World worldIn,
long p_i2007_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSave()
Returns if the IChunkProvider supports saving.
|
boolean |
chunkExists(int x,
int z)
Checks to see if a chunk exists at x, z
|
boolean |
func_177460_a(IChunkProvider p_177460_1_,
Chunk p_177460_2_,
int p_177460_3_,
int p_177460_4_) |
void |
func_180519_a(ChunkPrimer p_180519_1_) |
void |
func_180520_a(int p_180520_1_,
int p_180520_2_,
ChunkPrimer p_180520_3_) |
int |
getLoadedChunkCount() |
java.util.List<BiomeGenBase.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
BlockPos |
getStrongholdGen(World worldIn,
java.lang.String structureName,
BlockPos position) |
private double[] |
initializeNoiseField(double[] p_73187_1_,
int p_73187_2_,
int p_73187_3_,
int p_73187_4_,
int p_73187_5_,
int p_73187_6_,
int p_73187_7_)
generates a subset of the level's terrain data.
|
java.lang.String |
makeString()
Converts the instance data to a readable string.
|
void |
populate(IChunkProvider p_73153_1_,
int p_73153_2_,
int p_73153_3_)
Populates chunk with ores etc etc
|
Chunk |
provideChunk(BlockPos blockPosIn) |
Chunk |
provideChunk(int x,
int z)
Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks for the
specified chunk from the map seed and chunk seed
|
void |
recreateStructures(Chunk p_180514_1_,
int p_180514_2_,
int p_180514_3_) |
boolean |
saveChunks(boolean p_73151_1_,
IProgressUpdate progressCallback)
Two modes of operation: if passed true, save all Chunks in one go.
|
void |
saveExtraData()
Save extra data not associated with any Chunk.
|
boolean |
unloadQueuedChunks()
Unloads chunks that are marked to be unloaded.
|
private java.util.Random endRNG
private NoiseGeneratorOctaves noiseGen1
private NoiseGeneratorOctaves noiseGen2
private NoiseGeneratorOctaves noiseGen3
public NoiseGeneratorOctaves noiseGen4
public NoiseGeneratorOctaves noiseGen5
private World endWorld
private double[] densities
private BiomeGenBase[] biomesForGeneration
double[] noiseData1
double[] noiseData2
double[] noiseData3
double[] noiseData4
double[] noiseData5
public ChunkProviderEnd(World worldIn, long p_i2007_2_)
public void func_180520_a(int p_180520_1_, int p_180520_2_, ChunkPrimer p_180520_3_)
public void func_180519_a(ChunkPrimer p_180519_1_)
public Chunk provideChunk(int x, int z)
provideChunk
in interface IChunkProvider
private double[] initializeNoiseField(double[] p_73187_1_, int p_73187_2_, int p_73187_3_, int p_73187_4_, int p_73187_5_, int p_73187_6_, int p_73187_7_)
public boolean chunkExists(int x, int z)
chunkExists
in interface IChunkProvider
public void populate(IChunkProvider p_73153_1_, int p_73153_2_, int p_73153_3_)
populate
in interface IChunkProvider
public boolean func_177460_a(IChunkProvider p_177460_1_, Chunk p_177460_2_, int p_177460_3_, int p_177460_4_)
func_177460_a
in interface IChunkProvider
public boolean saveChunks(boolean p_73151_1_, IProgressUpdate progressCallback)
saveChunks
in interface IChunkProvider
public void saveExtraData()
saveExtraData
in interface IChunkProvider
public boolean unloadQueuedChunks()
unloadQueuedChunks
in interface IChunkProvider
public boolean canSave()
canSave
in interface IChunkProvider
public java.lang.String makeString()
makeString
in interface IChunkProvider
public java.util.List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
getPossibleCreatures
in interface IChunkProvider
public BlockPos getStrongholdGen(World worldIn, java.lang.String structureName, BlockPos position)
getStrongholdGen
in interface IChunkProvider
public int getLoadedChunkCount()
getLoadedChunkCount
in interface IChunkProvider
public void recreateStructures(Chunk p_180514_1_, int p_180514_2_, int p_180514_3_)
recreateStructures
in interface IChunkProvider
public Chunk provideChunk(BlockPos blockPosIn)
provideChunk
in interface IChunkProvider