Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public static boolean checkForFire(IBlockAccess world,BlockPos pos){
  2. for (EnumFacing f:EnumFacing.values()) {
  3. if(world.getBlockState(pos.add(f.getDirectionVec())).getBlock()==Blocks.FIRE)
  4. return true;
  5. }
  6. return false;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement