Ore Meter

From The Twilight Forest Wiki
Revision as of 12:10, 7 October 2014 by Benimatic (talk | contribs) (Created page with "The Ore Meter measures the quantity of ores in an area of chunks with radius 3 around the player's current chunk. The player's current chunk is determined by dividing the X an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Ore Meter measures the quantity of ores in an area of chunks with radius 3 around the player's current chunk. The player's current chunk is determined by dividing the X and Z coordinates of the player by 16 and rounding down; for example, -1210, 530 would be a location inside chunk -76, 33. The Ore Meter then searches a circular area with a radius of 3 around that chunk, going 3 chunks out in each of the cardinal directions, taking that area, measuring the quantity of ore blocks, and outputting the results to the player's chat window. As with the OV Scanner, the Ore Meter's first number outputted is not the quantity of blocks but the "value" of the blocks, where blocks closer to the player have a higher value; for example, approaching a vein of Coal appears to make the "value" for coal go higher. The second value is the percentage of the given ore in the ground around the player.