-
成员变量 修饰符和类 成员变量描述 static int
DATA_LENGTH
protected boolean
isGenerated
protected boolean
isLightPopulated
protected boolean
isPopulated
-
构造函数 构造函数描述 Chunk(Class<? extends LevelProvider> providerClass, int chunkX, int chunkZ, byte[] terrain)
Chunk(LevelProvider level, int chunkX, int chunkZ, byte[] terrain)
Chunk(LevelProvider level, int chunkX, int chunkZ, byte[] terrain, List<CompoundTag> entityData)
Chunk(LevelProvider level, int chunkX, int chunkZ, byte[] terrain, List<CompoundTag> entityData, List<CompoundTag> tileData)
Chunk(LevelProvider level, int chunkX, int chunkZ, byte[] terrain, List<CompoundTag> entityData, List<CompoundTag> tileData, Map<Integer,Integer> extraData)
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 static Chunk
fromBinary(byte[] data)
static Chunk
fromBinary(byte[] data, LevelProvider provider)
static Chunk
fromFastBinary(byte[] data)
static Chunk
fromFastBinary(byte[] data, LevelProvider provider)
Block
getAndSetBlock(int x, int y, int z, Block block)
int
getBlockData(int x, int y, int z)
int
getBlockId(int x, int y, int z)
int
getBlockLight(int x, int y, int z)
int
getBlockSkyLight(int x, int y, int z)
static Chunk
getEmptyChunk(int chunkX, int chunkZ)
static Chunk
getEmptyChunk(int chunkX, int chunkZ, LevelProvider provider)
int
getFullBlock(int x, int y, int z)
boolean
isGenerated()
boolean
isLightPopulated()
boolean
isPopulated()
boolean
setBlock(int x, int y, int z, int blockId)
boolean
setBlock(int x, int y, int z, int blockId, int meta)
void
setBlockData(int x, int y, int z, int data)
void
setBlockId(int x, int y, int z, int id)
void
setBlockLight(int x, int y, int z, int level)
void
setBlockSkyLight(int x, int y, int z, int level)
void
setGenerated()
void
setGenerated(boolean value)
void
setLightPopulated()
void
setLightPopulated(boolean value)
void
setPopulated()
void
setPopulated(boolean value)
byte[]
toBinary()
byte[]
toBinary(boolean saveExtra)
byte[]
toFastBinary()
-
addBlockEntity, addEntity, clone, compress, getBiomeId, getBiomeIdArray, getBlockDataArray, getBlockDataAt, getBlockEntities, getBlockExtraData, getBlockExtraDataArray, getBlockIdArray, getBlockIdAt, getBlockLightArray, getBlockSkyLightArray, getChanges, getChunk, getChunkPacket, getEntities, getHeightMap, getHeightMapArray, getHighestBlockAt, getHighestBlockAt, getIndex, getProvider, getSeed, getTile, getX, getZ, hasChanged, initChunk, isLoaded, load, load, populateSkyLight, recalculateHeightMap, removeBlockEntity, removeEntity, setBiomeId, setBlockAt, setBlockDataAt, setBlockExtraData, setBlockFullIdAt, setBlockIdAt, setChanged, setChanged, setChunk, setChunk, setChunkPacket, setHeightMap, setPosition, setProvider, setX, setZ, unload, unload, unload
-