How to make my ore spawn at a certain distance from air blocks

Started by CapitalisMan on

Topic category: Help with modding (Java Edition)

Last seen on 21:39, 24. Aug 2019
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make my ore spawn at a certain distance from air blocks

I have an ore block that I've created but I don't want it to spawn in caves or in view of the player, I think the best way to do that is to make it spawn at a distance from air blocks, but I have no clue how to code that...

You could make a structure…
Sat, 08/24/2019 - 18:08

You could make a structure with your ore blocks and set its spawning location to air.