Ore only generate in caves

Started by Filipek222jest43 on

Topic category: Help with modding (Java Edition)

Last seen on 22:08, 16. Aug 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ore only generate in caves

I want to create ore but it only generate in caves even when i set to generate in cave air and all stone type

I will be grateful for help.

Last seen on 02:08, 17. Oct 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm assuming you want your…
Mon, 07/29/2024 - 03:40

I'm assuming you want your ore chunks to only spawn when it it exposed to air?

What comes to mind right off hand it this:

1. Create a new Feature.

2. On the left-hand side, open (Ore features) --> (Ore feature with size 9) and drag it onto the main code block (on the right.)

3. Configure the (Ore feature with size >>9<<) to your liking.

4. Configure the gray block on the right-hand side (Ore target - if...) to your liking.

5. On the left-hand side, open (Conditional placements) --> (Only if condition "Is air at current position" is met) and drag it onto the main code block (at the bottom.)

Just a disclaimer, I have NOT tested this, so if this doesn't work, then mess with the Feature element some more and see what you can do. (I do think there might be issues with Step 5, as it tests if air is at the position and not beside it.)

Last seen on 22:08, 16. Aug 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I do not mean it. The point…
Tue, 07/30/2024 - 22:10

I do not mean it. The point si that i want to create an ore that is to be generated underground, but it is generated only in caves, and I want it to generate not only in caves, but to be able to replace all types of stone, such as other ores that are generated not only in caves, beacause you can find them normally by digging and finding between the stones. I set it to be able replace all types of stones but it still generate only in cave air.

Last seen on 02:08, 17. Oct 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove the cave air from the…
Wed, 07/31/2024 - 02:36

Remove the cave air from the possible blocks it can generate in place of.