How to make a block from a structure do not spawn in air?

Started by TroanParra on

Topic category: Help with MCreator software

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block from a structure do not spawn in air?

I'm doing a geologcal mod and I'm trying to add some rock structures as layers and boulders on the map, the idea was creating a bunch of structure of those rock layers, this worked but those structures passes underground and goes in air on mountains or caves, blocking them and it's sometimes do not make sense geologicaly speaking. 

I tried this but nothing changed if: get blox at x y z = air_block ] Do: remove block at x y z

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
they don't work in the…
Thu, 01/27/2022 - 21:51

they don't work in the fabric plugin

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can u please elaborate…
Sat, 04/02/2022 - 04:05

can u please elaborate klemen? im trying to write a code that says "if the block is air, do NOT spawn tree" because some of my trees float a bit. theyre custom trees. pls help a lil :( i tried making a topic thing ab this but no one really gave me advice that worked.