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

[Suggestion/Request]: API Hook for monitoring ore generation #111

Open
Aedda opened this issue Feb 22, 2018 · 0 comments
Open

[Suggestion/Request]: API Hook for monitoring ore generation #111

Aedda opened this issue Feb 22, 2018 · 0 comments
Assignees
Milestone

Comments

@Aedda
Copy link

Aedda commented Feb 22, 2018

I've had desire in the past from previous ore spawning mods for a way for one of my mods to tell where ore was generating with coords to the center of the spawn and an indication of the type of spawn. It could benefit others to have something like that in OreSpawn.

Additional details/ideas;

  1. A way to tell where previous ore has or would have spawned given a chunk location.
  2. A way to poll where all ore was placed (not accounting for failed spawns) for a specific spawn location.

Specific use case(s): I had desire to write a mod that could decorate the surface depending on ore clusters underground, such as mines, ruins, or deposits of surface ores. Additionally to tell where clusters of ore had previously been placed for use in an Ore Radar for special purpose maps and game play styles, the alternative being requiring scanning for ore manually which turned out to be quite cpu intensive in my case.

Additional use case, being able to place a block at the center of ore spawns. I have desire to make a mod that changes mining by giving each ore cluster a "heart" of ore that when mined produces ore without being destroyed while depletes the ore around it from the cluster.

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

No branches or pull requests

3 participants