How to make the ore completely covered with blocks during generation?

Started by Cube_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make the ore completely covered with blocks during generation?

I want that when the ore is generated, it is completely covered with blocks, like ancient debris.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There are two ways to do…
Fri, 09/01/2023 - 20:20

There are two ways to do this to my knowledge:

You could make a generation condition in the actual block element to test if all faces (up down north south east west) are all not air, if that's the case, only then would it place the block.

Or...

You could instead make the ore generated by a feature element instead of via the generation tab in the block element. There's a template for generating buried lapis that you could use and just replace the lapis with your custom ore, and it will generate buried.