Plant Spawning only in Cave

Started by Sasky on

Topic category: Help with MCreator software

Last seen on 20:09, 31. Aug 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plant Spawning only in Cave

I made my Plant Typ cave. Its Spawn all over

its need to spawn in cave

 

Last seen on 23:19, 13. Nov 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello there! I have 2…
Tue, 03/31/2020 - 15:43

Hello there!

I have 2 solutions for you, that should work.

 

First, you can make the plant block that it spawns on stone.(Overworld) (So in caves it would replace stone for the new block).

Second, you could make a whole new biome for the overworld which is similar to caves, and then adding your plant (not as block) to appear in that biome.

Let me know if i helped you.

Last seen on 23:55, 15. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a block for your plant…
Tue, 03/31/2020 - 16:02

Make a block for your plant. Customize the block however, but since it's a plant, make the model a Cross-Model.

Next, on the final tab of the block, make the min spawn height to 0 and the max to 20 - 50 so that it hopefully won't spawn above ground.

Then, make a procedure that checks if the block is on stone or some other ore found underground, and make it so if the plant is not on stone, it removes the block WITHOUT a drop. 

This is the best way I could think of, but do try and play around with it. There may be a much better way of doing this.

Last seen on 23:55, 15. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I forgot to mention, make…
Tue, 03/31/2020 - 16:04

I forgot to mention, make sure the procedure for checking if it's on stone is under the tick update procedure. This may cause lag, but it is the only way I can think of doing it automatically.

Last seen on 12:47, 26. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could you a "first time"…
Mon, 04/27/2020 - 17:50

you could you a "first time" local variable to only remove it once.