Skip to content

trust the mapping of min & max during ore chunk prospecting#100

Draft
Sanduhr32 wants to merge 2 commits into
GTNewHorizons:masterfrom
Sanduhr32:patch-1
Draft

trust the mapping of min & max during ore chunk prospecting#100
Sanduhr32 wants to merge 2 commits into
GTNewHorizons:masterfrom
Sanduhr32:patch-1

Conversation

@Sanduhr32

Copy link
Copy Markdown

Summary

if the mapping of min/max for x & z works, then clearly the offets will always be mapped as well
also use the existing constant instead of random magic number
i randomly found this while also dealing with the broken prospecting

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@Algent Algent self-assigned this Jul 14, 2026
@Sanduhr32

Copy link
Copy Markdown
Author

@boubou19 how relevant is old ore gen still in 2.9 from old saves migrating? which version was the ore gen change?

@Algent
Algent marked this pull request as draft July 18, 2026 08:32
@Algent

Algent commented Jul 18, 2026

Copy link
Copy Markdown

Setting it to draft before someone get a funny idea and it break again.

Honestly the old oregen pattern code is still live in GT5-Unofficial so would have to be removed there first.
I wasn't able to find when because git history was lost on GTWorldgenerator.java apparently (renamed ?)

Definitely not for 2.9 but huh 2.10 who know ? That said there is also the AOI for a new worldgen, plus the cubic chunk things. So maybe leave all that in until this drop, it's not like it cost a lot either as long as we don't re-break it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants