public class ChunkGeneratorDebug extends java.lang.Object implements IChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static IBlockState |
AIR |
private static java.util.List<IBlockState> |
ALL_VALID_STATES |
protected static IBlockState |
BARRIER |
private static int |
GRID_HEIGHT |
private static int |
GRID_WIDTH |
private World |
world |
| Constructor and Description |
|---|
ChunkGeneratorDebug(World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
Chunk |
generateChunk(int x,
int z) |
boolean |
generateStructures(Chunk chunkIn,
int x,
int z) |
static IBlockState |
getBlockStateFor(int p_177461_0_,
int p_177461_1_) |
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) |
void |
populate(int x,
int z) |
void |
recreateStructures(Chunk chunkIn,
int x,
int z) |
private static final java.util.List<IBlockState> ALL_VALID_STATES
private static final int GRID_WIDTH
private static final int GRID_HEIGHT
protected static final IBlockState AIR
protected static final IBlockState BARRIER
private final World world
public ChunkGeneratorDebug(World worldIn)
public Chunk generateChunk(int x, int z)
generateChunk in interface IChunkGeneratorpublic static IBlockState getBlockStateFor(int p_177461_0_, int p_177461_1_)
public void populate(int x,
int z)
populate in interface IChunkGeneratorpublic boolean generateStructures(Chunk chunkIn, int x, int z)
generateStructures in interface IChunkGeneratorpublic 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 IChunkGeneratorpublic boolean isInsideStructure(World worldIn, java.lang.String structureName, BlockPos pos)
isInsideStructure in interface IChunkGeneratorpublic void recreateStructures(Chunk chunkIn, int x, int z)
recreateStructures in interface IChunkGenerator