Minecraft wiki entry for Ambience, associated text: This method is called once every tick. It selects a random block in a 17×17×17 area centered around the player's eye position, and alters the mood value accordingly: