MMD OreSpawn

MMD OreSpawn

11M Downloads

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

Aedda opened this issue ยท 0 comments

commented

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.