public class ChunkGeneratorEnd extends java.lang.Object implements IChunkGenerator
Modifier and Type | Field and Description |
---|---|
protected static IBlockState |
AIR |
(package private) double[] |
ar |
private Biome[] |
biomesForGeneration |
(package private) double[] |
br |
private double[] |
buffer |
private int |
chunkX |
private int |
chunkZ |
protected static IBlockState |
END_STONE |
private MapGenEndCity |
endCityGen |
private WorldGenEndIsland |
endIslands |
private NoiseGeneratorSimplex |
islandNoise |
private NoiseGeneratorOctaves |
lperlinNoise1 |
private NoiseGeneratorOctaves |
lperlinNoise2 |
private boolean |
mapFeaturesEnabled |
NoiseGeneratorOctaves |
noiseGen5 |
NoiseGeneratorOctaves |
noiseGen6 |
private NoiseGeneratorOctaves |
perlinNoise1 |
(package private) double[] |
pnr |
private java.util.Random |
rand |
private BlockPos |
spawnPoint |
private World |
world |
Constructor and Description |
---|
ChunkGeneratorEnd(World p_i47241_1_,
boolean p_i47241_2_,
long p_i47241_3_,
BlockPos p_i47241_5_) |
Modifier and Type | Method and Description |
---|---|
void |
buildSurfaces(ChunkPrimer primer) |
Chunk |
generateChunk(int x,
int z) |
boolean |
generateStructures(Chunk chunkIn,
int x,
int z) |
private double[] |
getHeights(double[] p_185963_1_,
int p_185963_2_,
int p_185963_3_,
int p_185963_4_,
int p_185963_5_,
int p_185963_6_,
int p_185963_7_) |
private float |
getIslandHeightValue(int p_185960_1_,
int p_185960_2_,
int p_185960_3_,
int p_185960_4_) |
BlockPos |
getNearestStructurePos(World worldIn,
java.lang.String structureName,
BlockPos position,
boolean findUnexplored) |
java.util.List<Biome.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
boolean |
isInsideStructure(World worldIn,
java.lang.String structureName,
BlockPos pos) |
boolean |
isIslandChunk(int p_185961_1_,
int p_185961_2_) |
void |
populate(int x,
int z) |
void |
recreateStructures(Chunk chunkIn,
int x,
int z) |
void |
setBlocksInChunk(int x,
int z,
ChunkPrimer primer) |
private final java.util.Random rand
protected static final IBlockState END_STONE
protected static final IBlockState AIR
private NoiseGeneratorOctaves lperlinNoise1
private NoiseGeneratorOctaves lperlinNoise2
private NoiseGeneratorOctaves perlinNoise1
public NoiseGeneratorOctaves noiseGen5
public NoiseGeneratorOctaves noiseGen6
private final World world
private final boolean mapFeaturesEnabled
private final BlockPos spawnPoint
private MapGenEndCity endCityGen
private NoiseGeneratorSimplex islandNoise
private double[] buffer
private Biome[] biomesForGeneration
double[] pnr
double[] ar
double[] br
private final WorldGenEndIsland endIslands
private int chunkX
private int chunkZ
public void setBlocksInChunk(int x, int z, ChunkPrimer primer)
public void buildSurfaces(ChunkPrimer primer)
public Chunk generateChunk(int x, int z)
generateChunk
in interface IChunkGenerator
private float getIslandHeightValue(int p_185960_1_, int p_185960_2_, int p_185960_3_, int p_185960_4_)
public boolean isIslandChunk(int p_185961_1_, int p_185961_2_)
private double[] getHeights(double[] p_185963_1_, int p_185963_2_, int p_185963_3_, int p_185963_4_, int p_185963_5_, int p_185963_6_, int p_185963_7_)
public void populate(int x, int z)
populate
in interface IChunkGenerator
public boolean generateStructures(Chunk chunkIn, int x, int z)
generateStructures
in interface IChunkGenerator
public java.util.List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
getPossibleCreatures
in interface IChunkGenerator
@Nullable public BlockPos getNearestStructurePos(World worldIn, java.lang.String structureName, BlockPos position, boolean findUnexplored)
getNearestStructurePos
in interface IChunkGenerator
public boolean isInsideStructure(World worldIn, java.lang.String structureName, BlockPos pos)
isInsideStructure
in interface IChunkGenerator
public void recreateStructures(Chunk chunkIn, int x, int z)
recreateStructures
in interface IChunkGenerator