Java 类net.minecraft.server.EnumSkyBlock 实例源码

项目:CraftBukkit    文件:CraftBlock.java   
public byte getLightFromSky() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.SKY, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:CraftBukkit    文件:CraftBlock.java   
public byte getLightFromBlocks() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.BLOCK, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Almura-Server    文件:CraftBlock.java   
public byte getLightFromSky() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.SKY, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Almura-Server    文件:CraftBlock.java   
public byte getLightFromBlocks() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.BLOCK, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Tweakkit-Server    文件:CraftBlock.java   
public byte getLightFromSky() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.SKY, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Tweakkit-Server    文件:CraftBlock.java   
public byte getLightFromBlocks() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.BLOCK, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Craft-city    文件:CraftBlock.java   
public byte getLightFromSky() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.SKY, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}
项目:Craft-city    文件:CraftBlock.java   
public byte getLightFromBlocks() {
    return (byte) chunk.getHandle().getBrightness(EnumSkyBlock.BLOCK, this.x & 0xF, this.y & 0xFF, this.z & 0xF);
}