Started by
CapitalisMan
on
Topic category: Help with Minecraft modding (Java Edition)
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 with your ore blocks and set its spawning location to air.