Changing an ore type based on layer

Started by BunnyLord_123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing an ore type based on layer

the title might not be the best description of what i mean so i'll explain it better - i want to make it so my custom ores can spawn as both stone and deepslate variants (like vanilla overworld ores) while having the spawn rate shared across both (as having them generate separately would cause them to have different spawn rates). is this possible and if so, how can i do it?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The best way to do this is…
Fri, 06/14/2024 - 23:39

The best way to do this is use the feature element instead of the generation settings in the block type element. There, you can use the ore feature, and generate it depending on the block. There's even a preset for it to make it easier to understand.