Geolosys Ore Gen Funstuff #87
Labels
No labels
bug
can't replicate
enhancement
help wanted
inter-mod
invalid
invasive
investigating
optimization
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
oitsjustjose/Geolosys#87
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See this
Likely fix: rewriting / refactoring generation code
I'm just looking at the source and don't have a way to test, but it looks like it is related to this line:
git.oitsjustjose.com/oitsjustjose/Geolosys/-@c41a249836/src/main/java/com/oitsjustjose/geolosys/world/OreGenerator.java (L45)It looks like that is effectively attempting to generate 1 random ore for every chunk.
With a large enough sample size should result in 1 / oreSpawnList.size() possible chunks for every ore, and then the number that actually have ore will be further reduced by the configured weight for each ore.
I’m actually happy with it behavior as of 1.8.10. Thanks though!!