aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech
diff options
context:
space:
mode:
authorRichard Hendricks <richardhendricks@pobox.com>2018-01-20 00:54:00 -0600
committerRichard Hendricks <richardhendricks@pobox.com>2018-01-20 00:54:00 -0600
commit210c228979f7428c0aa8c8756ac1d28c41b1c2b7 (patch)
tree22a9c2a72795734a21d85bf4691192ff380c34df /src/main/java/gregtech
parent3a94f8e1ccb12b2feda0465d4ecb72e385462d5b (diff)
downloadGT5-Unofficial-210c228979f7428c0aa8c8756ac1d28c41b1c2b7.tar.gz
GT5-Unofficial-210c228979f7428c0aa8c8756ac1d28c41b1c2b7.tar.bz2
GT5-Unofficial-210c228979f7428c0aa8c8756ac1d28c41b1c2b7.zip
Add ncie instructions on calculating oregen.
Diffstat (limited to 'src/main/java/gregtech')
-rw-r--r--src/main/java/gregtech/common/GT_Worldgenerator.java26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/GT_Worldgenerator.java b/src/main/java/gregtech/common/GT_Worldgenerator.java
index 547415ec84..10076f7bd7 100644
--- a/src/main/java/gregtech/common/GT_Worldgenerator.java
+++ b/src/main/java/gregtech/common/GT_Worldgenerator.java
@@ -137,12 +137,30 @@ implements IWorldGenerator {
this.mBiome = aBiome;
}
-
// How to evaluate oregen distribution
- //
-
+ // - Enable debugOreveins
+ // - Fly around for a while, or teleport jumping ~320 blocks at a time, with
+ // a 15-30s pause for worldgen to catch up
+ // - Do this across a large area, at least 2000x2000 blocks for good numbers
+ // - Open logs\gregtech.log
+ // - Using notepad++, do a Search | Find - enter "Added" for the search term
+ // - Select Find All In Current Document
+ // - In the Search window, right-click and Select All
+ // - Copy and paste to a new file
+ // - Delete extraneous stuff at top, and blank line at bottom. Line count is
+ // # of total oreveins
+ // - For simple spot checks, use Find All in Current Document for specific
+ // oremixes, ie ore.mix.diamond, to check how many appear in the list.
+ // - For more complex work, import file into Excel, and sort based on oremix
+ // column. Drag select the oremix names, in the bottom right will be how many
+ // entries to add in a seperate tab to calculate %ages.
+ //
+ // When using the ore weights, discount or remove the high altitude veins since
+ // their high weight are offset by their rareness. I usually just use zero for them.
+ // Actual spawn rates will vary based upon the average height of the stone layers
+ // in the dimension. For example veins that range above and below the average height
+ // will be less, and veins that are completely above the average height will be much less.
-
public void worldGenFindVein( int oreseedX, int oreseedZ) {
// Explanation of oreveinseed implementation.
// (long)this.mWorld.getSeed()<<16) Deep Dark does two oregen passes, one with getSeed set to +1 the original world seed. This pushes that +1 off the low bits of oreseedZ, so that the hashes are far apart for the two passes.