Advertisement
thecodewarrior

Untitled

Feb 5th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1.  
  2. @Override
  3. public int getLightValue(IBlockAccess world, BlockPos pos) {
  4. IExtendedBlockState state = (IExtendedBlockState) getExtendedState(world.getBlockState(pos), world, pos);
  5. return state.getValue(LIGHTS) ? 15 : 0;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement