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

Started by TroanParra on

Topic category: Help with MCreator software

Active 3 years ago
Joined Oct 2020
Points:
604

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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

Active 6 hours ago
Joined Jan 2021
Points:
850

User statistics:

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

they don't work in the fabric plugin

Active 7 months ago
Joined Apr 2020
Points:
749

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 98
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.