Can't seem to make structure generate in caves only

Started by JuicyG on

Topic category: Help with modding (Java Edition)

Last seen on 16:05, 5. Aug 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't seem to make structure generate in caves only

Hey all. As the title says, I can't seems to make my structure only generate in caves. My structure is only a single chest with a custom loot table. I've tinkered with all the settings, and nothing seems to be what I'm looking for. Notably, I've tried to restrict the structure to only spawn in cave air but it just never ends up generating. When I put the spawn location as underground, I also can't seem to get it to work how I want it to.

Last seen on 14:38, 2. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A possible workaround you…
Thu, 07/01/2021 - 21:17

A possible workaround you could do is make a block that looks like stone but only generates on stone/cave air (if there is even an option for cave air for a block) then just have your chest restricted to spawn only on that custom block.

Last seen on 09:42, 5. Sep 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove the restriction and…
Mon, 07/05/2021 - 20:12

Remove the restriction and make it  -y 50 or something. Use the latest Mcreator if possible. I have my structures spawning off one block.

Chew