(EnumSkyBlock p_177413_1_, BlockPos pos)
| 779 | } |
| 780 | |
| 781 | public int getLightFor(EnumSkyBlock p_177413_1_, BlockPos pos) |
| 782 | { |
| 783 | int i = pos.getX() & 15; |
| 784 | int j = pos.getY(); |
| 785 | int k = pos.getZ() & 15; |
| 786 | ExtendedBlockStorage extendedblockstorage = this.storageArrays[j >> 4]; |
| 787 | return extendedblockstorage == null ? (this.canSeeSky(pos) ? p_177413_1_.defaultLightValue : 0) : (p_177413_1_ == EnumSkyBlock.SKY ? (this.worldObj.provider.getHasNoSky() ? 0 : extendedblockstorage.getExtSkylightValue(i, j & 15, k)) : (p_177413_1_ == EnumSkyBlock.BLOCK ? extendedblockstorage.getExtBlocklightValue(i, j & 15, k) : p_177413_1_.defaultLightValue)); |
| 788 | } |
| 789 | |
| 790 | public void setLightFor(EnumSkyBlock p_177431_1_, BlockPos pos, int value) |
| 791 | { |
no test coverage detected