Advertisement
tahg

Untitled

Sep 27th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. return block.getMaterial().isOpaque() && block.isFullCube() ?
  2. true :
  3. (block instanceof BlockStairs ?
  4. iblockstate.getValue(BlockStairs.HALF) == BlockStairs.EnumHalf.TOP :
  5. (block instanceof BlockSlab ?
  6. iblockstate.getValue(BlockSlab.field_176554_a) == BlockSlab.EnumBlockHalf.TOP :
  7. (block instanceof BlockHopper ?
  8. true :
  9. (block instanceof BlockSnow ?
  10. ((Integer)iblockstate.getValue(BlockSnow.field_176315_a)).intValue() == 7 :
  11. false))));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement