Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad vein spreading or? #2286

Open
2 tasks done
Exzept1on opened this issue Nov 7, 2024 · 0 comments
Open
2 tasks done

Bad vein spreading or? #2286

Exzept1on opened this issue Nov 7, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@Exzept1on
Copy link
Contributor

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

  1. Install TFC, GT, KJS.
  2. 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
  3. Enter the world, and use prospector to see ores.
  4. 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.

image

@Exzept1on Exzept1on added the type: bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant