Ore Meter
Ore Meter | |
---|---|
| |
Name | Ore Meter |
Source Mod | Twilight Forest |
ID Name | TwilightForest:item.oreMeter
|
Type | Item |
Stackable | No |
The Ore Meter is an item which is sometimes found as loot in chests in Hollow Hills, Labyrinths, and so forth. The Ore Meter functions in a method similar to the IndustrialCraft2 OV Scanner in that it returns how many ores of each type there are. The Ore Meter only functions with vanilla ores, Roots and Liveroots and may not be a very accurate method of easily finding ores but can be a good method of finding a good location to place a massive strip-mining operation. The Ore Meter is also very reliable as it outputs the exact amount of ores in a given area every time, is not Y-coordinate specific, and works based on chunks. The Ore Meter is also incapable of finding mod ores in the ground, so it would not be an easy method of finding Copper Ore or Tin Ore, for example.
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. For example:
Coal - 4704 1.2457825
denotes that 4,704 is the value for coal ore in the circular area of chunks with radius 3 around the player and that coal ore makes up 1.2457825% of the ground in this area. It appears that the percentage of ore is calculated as a floating-point position with a maximum of 8 digits; an example ore meter measuring outputted
Diamond - 294 0.077861406
and
Redstone - 1127 0.2984687
and the above example with coal ore. These three all have the same amount of significant digits (8) but the digits are placed in different positions.
Note: Liveroots are listed as Ore Roots on the Ore Meter's output. Both Liveroots and Roots do not appear to function properly on the Ore Meter's output, always returning an output of 0 even if there are Liveroots or Roots in the immediate area.
|