3

I am building a datapack and I want to replace how diamonds and emeralds function by modifying their generation behavior. But I don't know if this is A : possible and B : worth my time looking in to. I did some research but could not find anything that was up-to-date with or answered when 1.18.x was around. I was told here in the comments that there was a command called /locateblock but I couldn't find anything on the wiki about the command or anything like it. So I am lead to believe that the command doesn't exist. If this is possible via Spigot or Fabric/Forge (As long as it is server-side) I would be willing to use a plugin/mod but I would like to avoid doing so.

If anyone is interested in or needs to know why I want to do this, I am extending on my question here to get closer to adding custom ores and gemstones without (hopefully) mods/external APIs.

2
  • Sorry that locateblock command does not exist, my bad
    – DialFrost
    Commented Jun 6, 2022 at 4:15
  • No harm was done @DialFrost. But I would ask that you could try to either edit or remove your comment so you don't confuse anyone else who might be attempting to do this. Commented Jun 6, 2022 at 13:15

1 Answer 1

1

If anyone in the future ends up on this post, I have found a "solution".

From what I have learned, it is not possible or at the very least not easy to remove ores from world gen.

One method is recreating/adding biomes and modifying ore distribution in these biomes. The second method is replacing existing ores with a stone texture and replacing them with your own custom ores. This post I made has a fantastic answer covering how to add custom ores to world gen (it is archaic and a little slow) or you could figure out something using custom structures.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .