Bad vein spreading or?
Exzept1on opened this issue · 1 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
1.4.6
Minecraft Version
1.20.1
Recipe Viewer Installed
EMI
Environment
Any
Cross-Mod Interaction
Yes
Other Installed Mods
TerraFirmaGreg
Expected Behavior
The ore veins will be distributed evenly
Actual Behavior
Ore veins are not evenly distributed, but appear under each other.
Steps to Reproduce
- Install TFC, GT, KJS.
- Write some script to allow spawn GTCEu ores in TFC world (When writing the script, distribute the ores to different TFC rocks.). https://github.com/TerraFirmaGreg-Team/Modpack-Modern/blob/main/kubejs/server_scripts/gregtech/ore_veins.js
- Enter the world, and use prospector to see ores.
- You can see that the ores appear one after the other.
Additional Information
I assume that for each of the layers, the position of the ore inside is calculated using the same algorithm, which leads to such consequences? I'm not sure, I looked at the GT code and didn't find anything that could help me fix it.
If you use one layer for all ores, then everything works fine, but if you use many different layers, we get an error.
The link is outdated, here is the new one -> https://github.com/TerraFirmaGreg-Team/Modpack-Modern/blob/0.8.1-latest-unstable/kubejs/server_scripts/gregtech/ore_veins.js