Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean checkForFire(IBlockAccess world,BlockPos pos){
- for (EnumFacing f:EnumFacing.values()) {
- if(world.getBlockState(pos.add(f.getDirectionVec())).getBlock()==Blocks.FIRE)
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement