ON THIS WIKI
Ore Generation in GregTech 5 is very different from normal.
First, all ores from GregTech 5 are not normal blocks but Tile Entities. This means that this block can store additional NBT-data. In this case only the data about whether this block was generated here in the first place or it was already mined and then placed by player or any machine. This data is used by the automatic miners added by this mod to prevent ore duplication. Also all these blocks look like Stone from vanilla Minecraft unless any of their sides is exposed to air. This will cause them to generate their actual texture. This is done to prevent lags upon the world generation. This also makes mods like X-Ray completely useless when searching for particular ores as they will all look the same.
Next, GregTech 5 disables generation of all vanilla ores. This mod does not disable generation of ores from other mods, but it is advised to disable the generation of these ores manually as they are likely duplicates of the ores from GregTech 5, which usually ruins the ore generation balance for such ores.
The ores in GregTech 5 can be divided in 2 types: Small Ores and Ore Mix Veins.
These ores generate in single blocks. They do not have veins. These ores are not supposed to be the main source of materials, but they are essential in the early game as they contains some materials not available otherwise on current stage of progress, f.e. Zinc is only available in Small Ore before the player advances to MV age. Also the mining level of these ores is 1 below the mining level of normal ores. This is useful as some of the ores require a pickaxe made of the material which cannot be obtained by the player, so in some cases only small ores can be mined before the player has a better pickaxe.
Small ores do not drop themselves when mined. They drop Crushed Ore, Impure Pile of Dust, Dust of material and/or Dust of the stone type they were found in. Small ores of gems can also drop different sizes of gem they are related to, but the chance for this is minimal. Usually 1-2 of the items described above are dropped from 1 block. Silk Touch does not work on these blocks.
All available Small Ores can be found in the table below.
|Material||Minimal Height||Maximal Height||Rarity||Overworld||Nether||The End|
Ore Mix Veins
Ore Mix Vein is a huge ore vein which contains several hundreds of ore blocks of 1 to 4 types. Most resources the player gathers comes from such veins. These ores are not intended to be mined fully when found, they are intended to be mined when needed until they are depleted.
Due to the enormous size of Ore Mix Veins they generate differently from normal ores.
- The world is divided into 3x3 chunk areas, with the 1,1 chunk being center of one of them. This grid is not affected by contents of the chunks.
- From each 3x3 chunk area the center chunk is located.
- A random coordinate (x and z) is chosen in this chunk.
- A random ore mix is chosen with the chance being ore rarity value divided by the sum of all ore rarity values which generate in this dimension.
- A random height (y coordinate) is chosen from the possible height for this ore mix.
- The ore mix will generate centered on the chosen block. When it generates, it replaces all following blocks: Stone, Netherrack, End Stone, Marble, Black Granite, Red Granite, Basalt with ore blocks. If there are no blocks of such kind, the ore mix will not generate (this usually happens in Deep Ocean biome where there is too few stone blocks in chunk).
- The generated ore mix will go the exact equal amount of blocks in East and West direction from the center block. The distance between the East-most and West-most blocks of the ore mix is defined by the size value in code. In South and North direction the ore mix goes randomly, forming a very sharp edge. The South-North distance though also depends on the size value.
- The ore mix consists of 4 types of ores: Primary, Secondary, Inbetween and Sporadic. Primary ore generates on the top side of ore mix, taking roughly 35% of the ore mix. Secondary ore generates on the bottom side of the ore mix, taking roughly 35% of the ore mix. Inbetween ore generates in the center of the ore mix, taking roughly 25% of the ore mix. Sporadic ore generates randomly throughout all the ore vein, taking roughly 5% of the ore mix.
- The ore vein will have more ore blocks if the density value is higher. This value does not affect the size of the ore vein, it affects the percentage amount of stone type blocks changed with ore blocks in the area the vein generates.
The ore mix veins can dig into each other or generate partially one above the other. This usually happens when in the center chunks the blocks are chosen very close to the chunk border, so big ore mixes occupy the side chunk fully and sometimes the chunk after the side chunk also has 2-3 blocks of this ore mix. If the other big ore mix generates the same way, they dig into each other.
All available Ore Mix Veins can be found in the table below.
- In Overworld each chunk has many Small Ores and a part of Ore Mix Vein or no Ore Mix Vein if it failed to generate due to absence of stone blocks in the area. So is in Nether and in the Main Island in The End.
- The End will also generate Asteroids. The default chance for an asteroid to appear in chunk is 1/300. The Asteroid can appear on any height (reasonable height so all asteroid can generate).
- The sum of all rarity values of all ore mix veins which generate in Overworld is 1750, in Nether is 710 and 270 in The End. The chance for a certain ore mix to generate in a certain chunk is (rarity of this ore mix)/(value above) for each dimension and for each Asteroid in The End.
- The exact chances are written on every page of the ore from GregTech 5.
- All chances and ore mixes can be reconfigured, new ore mixes can be added, remaining ones can be removed in config files.
- Phosphate Ore before 5.09.31.