[Tutorial] how to create a plant / crystal that only spawns in caves

Started by The_librarian on

Topic category: User side tutorials

Last seen on 13:14, 23. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] how to create a plant / crystal that only spawns in caves
Sat, 09/11/2021 - 12:08 (edited)

If in a programming phase of your mod you encountered the problem of creating a plant / mushroom / crystal etc that you would like to spawn only in caves but you have not found options in Mcreator that allow you to do so, you are in the right place (or forum, like do you want). Just follow my steps and in the end you will have your cave plan:
1) In the workspace of your plant, in the properties tab, you will first have to select as plant type cave, in this way your plant can be placed on all solid blocks (with solid blocks I mean the blocks that are transparent like glass or with different hitbox)
2) Now go to the generation tab of the plant and select the spawn values ​​you want of your plant, i.e. in what size / biome it should generate and in what quantity. I advise you not to set values ​​too low, otherwise it will be too rare, or too high, otherwise the caves will fill up and the world could crash (not to me that one of the two is not your project :))
3) Still in the generation tab go to addition generation condition create a new procedure that you can see in this image. The first block controls the height at which you want your plant to spawn, in this case I recommend that you put values ​​below 50 otherwise your plant will spawn on the surface. The second procedure instead checks that the block above which the plant will generate is cave air, a special block that is generated in caves.

.

4) Now test your plant and enjoy :)
This tutorial is only valid for the most recent versions of Mcreator. In case of any problems, please write below.

Edited by The_librarian on Sat, 09/11/2021 - 12:08
Last seen on 18:41, 22. Dec 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is too helpful, thank…
Wed, 01/05/2022 - 19:50

This is too helpful, thank you.

Last seen on 19:27, 6. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The_librarian can u help me…
Thu, 01/06/2022 - 11:46

The_librarian can u help me with some problem?
if yes tell me your discord

Last seen on 13:14, 23. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sure @Sertobul The_librarian…
Fri, 01/07/2022 - 08:54

Sure @Sertobul

The_librarian#2220

Last seen on 19:27, 6. Jul 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The_librarian, thanks! I…
Fri, 01/07/2022 - 10:54

The_librarian, thanks! I sent a friend request.

Last seen on 21:37, 20. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't seem to get my and…
Thu, 01/13/2022 - 09:21

I can't seem to get my and procedure block to look like yours :( what am I doing wrong?

Last seen on 21:37, 20. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry for double post but I…
Thu, 01/13/2022 - 09:22

sorry for double post but I tried to include an image here

https://imgur.com/a/huP8ofE

Last seen on 03:04, 18. Dec 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
will this still work or its…
Sun, 08/06/2023 - 03:28

will this still work or its outdated? I can't find the yellow block that has the = sign