Skip to content

Latest commit

 

History

History
292 lines (292 loc) · 14.9 KB

cn.nukkit.level.format.leveldb.Chunk.md

File metadata and controls

292 lines (292 loc) · 14.9 KB
  • 成员变量一览

    成员变量 
    修饰符和类 成员变量描述
    static int DATA_LENGTH 
    protected boolean isGenerated 
    protected boolean isLightPopulated 
    protected boolean isPopulated 
    • 继承自类 cn.nukkit.level.format.generic.BaseFullChunk

      biomes, blockLight, blocks, changes, chunkPacket, data, entities, extraData, heightMap, isInit, NBTentities, NBTtiles, provider, providerClass, skyLight, tileList, tiles
  • 构造函数一览

    构造函数 
    构造函数描述
    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() 
    • 继承自类 cn.nukkit.level.format.generic.BaseFullChunk

      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
    • 继承自类 java.lang.Object

      equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 继承自接口 cn.nukkit.level.format.FullChunk

      setBiome, setBiomeId, setFullBlockId
    • 继承自接口 cn.nukkit.level.ChunkManager

      setBlockAt