Skip to content

Latest commit

 

History

History
204 lines (204 loc) · 8.48 KB

cn.nukkit.level.format.anvil.ChunkSection.md

File metadata and controls

204 lines (204 loc) · 8.48 KB
  • 成员变量一览

    成员变量 
    修饰符和类 成员变量描述
    protected byte[] blockLight 
    protected byte[] compressedLight 
    protected boolean hasBlockLight 
    protected boolean hasSkyLight 
    protected byte[] skyLight 
  • 构造函数一览

    构造函数 
    构造函数描述
    ChunkSection(CompoundTag nbt) 
    ChunkSection(int y) 
  • 成员函数一览

    All Methods Instance Methods Concrete Methods 
    修饰符和类 成员函数描述
    boolean compress() 
    ChunkSection copy() 
    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) 
    byte[] getDataArray() 
    int getFullBlock(int x, int y, int z) 
    byte[] getIdArray() 
    byte[] getLightArray() 
    byte[] getSkyLightArray() 
    int getY() 
    boolean isEmpty() 
    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) 
    boolean setFullBlockId(int x, int y, int z, int fullId) 
    void writeTo(BinaryStream stream) 
    • 继承自类 java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait