boolean checkIfNearWarmthSource(LivingEntity entity)
   {
      boolean entityIsNearWarmthSource = false;

      if(null != entity)
      {
         Player player = null;

         if(entity instanceof Player)
         {
            player = (Player)entity;   
         }

         Location playerLoc = entity.getLocation();
         int playerLoc_x = playerLoc.getBlockX();
         int playerLoc_y = playerLoc.getBlockY();
         int playerLoc_z = playerLoc.getBlockZ();

         World world = entity.getWorld();

         // Bigger cubes come first!
         // Set search cube for (burning) Furnace ==============================================================================
         int furnace_x1 = playerLoc_x - Arctica.horizontalFurnaceSearchRadius; // first corner of cube to check
         int furnace_y1 = playerLoc_y - Arctica.verticalFurnaceSearchRadius;
         int furnace_z1 = playerLoc_z - Arctica.horizontalFurnaceSearchRadius;

         int furnace_x2 = playerLoc_x + Arctica.horizontalFurnaceSearchRadius; //second corner of cube to check (the other diagonal corner)
         int furnace_y2 = playerLoc_y + Arctica.verticalFurnaceSearchRadius;
         int furnace_z2 = playerLoc_z + Arctica.horizontalFurnaceSearchRadius;

         // =====================================================================================================================

         // set search cube for fire ==========================================================================================         
         int fire_x1 = playerLoc_x - Arctica.horizontalFireSearchRadius; // first corner of cube to check
         int fire_y1 = playerLoc_y - Arctica.verticalFireSearchRadius;
         int fire_z1 = playerLoc_z - Arctica.horizontalFireSearchRadius;

         int fire_x2 = playerLoc_x + Arctica.horizontalFireSearchRadius; //second corner of cube to check (the other diagonal corner)
         int fire_y2 = playerLoc_y + Arctica.verticalFireSearchRadius;
         int fire_z2 = playerLoc_z + Arctica.horizontalFireSearchRadius;

         // ====================================================================================================================

         /*if(null != player)
         {
            if(Arctica.debug) player.sendMessage(ChatColor.AQUA + "SpielerPos: " + playerLoc.getBlockX() + ", " + playerLoc.getBlockY() + ", " + playerLoc.getBlockZ());
            if(Arctica.debug) player.sendMessage(ChatColor.AQUA + "Ecke 1: " + x1 + ", " + y1 + ", " + z1);
            if(Arctica.debug) player.sendMessage(ChatColor.AQUA + "Ecke 2: " + x2 + ", " + y2 + ", " + z2);
         }*/

         // init check radius with (biggest) check cube values (in this case: fire)
         int x1 = fire_x1;
         int x2 = fire_x2;
         int y1 = fire_y1;
         int y2 = fire_y2;
         int z1 = fire_z1;
         int z2 = fire_z2;

         entityIsNearWarmthSource = warmthSourceFoundInArea(world, x1, x2, y1, y2, z1, z2, furnace_x1, furnace_x2, furnace_y1, furnace_y2, furnace_z1, furnace_z2);

         if(entityIsNearWarmthSource)
         {
            if(null != player)
            {
               if(Arctica.debug || player.hasPermission("arctica.debug"))
               {
                  player.sendMessage(ChatColor.AQUA + "Waermequelle gefunden.");
               }
            }
         }
      }
      return(entityIsNearWarmthSource);
   }