How to make cave biomes [Tutorial, kind of] [Old, out of date]

Started by Deadly_Golem on

Topic category: User side tutorials

Last seen on 03:38, 30. Dec 2023
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make cave biomes [Tutorial, kind of] [Old, out of date]
Tue, 08/29/2023 - 20:06 (edited)

This tutorial-ish thing is meant to show you how I made cave biomes in my mod Upcave, so you can add some to your own mods.

First download this tutorial mod by clicking on this green text. The tutorial mod adds one of the biomes from Upcave, as an example of how to do this. I forgot to delete my test worlds when creating this base mod, so have fun with those, I suppose. Have fun judging my choice to name multiple worlds "scree"

Now that you have the mod I will walk you through what every element does. Even the unimportant ones. If you think you can figure it out on your own, have fun. Feel free to use it as a base for your mods.

Fungal moss: (block)
Its just an underground type of grass exclusive to the cave biome. It is not required to generate cave biomes, and is just decoration

Toxishroom: (plant)
Just a type of mushroom that appears to decorate the cave. Not important.

Fungal Moss Floor: plant)
Just some more decoration for the cave. Not important.

Hanging Fungal Moss: (block)
An example of how i made the hanging blocks, like stalactites in the mod. Not really important, but may help you understand how to make your own hanging plants.

Hanging Fungal Moss Neighbour Block Changes: (procedure)
Detects if the block above it is broken, then breaks it's self it it is. This is used on the Hanging fungal moss.

Fungal Air: (block)
This is the block that actually spawns the cave itself. it does this through running the procedure "Fungus Air" every time the block is updated

Fungus Air: (Procedure)
Checks if the cave's spawning conditions are met (In this case, is it under y level 40), then if it is it will use the procedure "Fungal Air Update Tick" on each and every block in a 65x17x65 area around it. It then deletes itself by placing stone where it once was

Fungal Air Update Tick: (Procedure)
This block checks it's nearby surroundings to see if this is a valid place to place Fungal moss, Toxishroom, Fungal Moss Floor, or  Hanging Fungal Moss. This procedure only checks for the block it is being used at. Fungus Air makes sure this is used on every block in the cave biome, as previously said. The combination of these 2 are what causes the biome to look like how it looks.

Fungal Cave: (Structure)
This spawns in an underground structure, which is always just a single Fungal Air Block. This determines how common the cave biome will be. The reason I used this, rather than just making Fungal Air operate as an ore is because when I make it spawn as a structure I can have it use the procedure "Cave" instantly upon spawning, meanwhile if it were an ore i would have to wait for random ticks to spawn the cave for me. Some players would already be exploring the caves by the time random tick spawns the biomes.

Cave: (Procedure)
Forces Fungal Air to do a tick update right away, rather than waiting for random tick to deal with it. Without this it would take up to a minute for cave biomes to spawn. With this, they spawn 1 second after their surrounding terrain is generated. There is no reason why this is set to 1 full second.

Those are all the elements of this base mod explained. Hopefully you now understand them well enough to be able to make your own unique cave biomes. Sorry if I left you confused. Im not very good at explaining things.

Edited by Deadly_Golem on Tue, 08/29/2023 - 20:06
Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait. Now I might not need…
Fri, 09/04/2020 - 13:47

Wait. Now I might not need to spend ages building custom caves!!

thanks :)

 

this tutorial will make it about ten times easier to finish an update to my mod Cavecraft: Cave Update . I will use both custom built caves and this 

 

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am the only one to comment…
Sun, 09/06/2020 - 00:42

I am the only one to comment here somehow.

Last seen on 10:17, 8. Jan 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I might be wrong but I'm…
Sun, 09/06/2020 - 06:39

I might be wrong but I'm pretty sure most of the fungus air is unnecessary, if you have a procedure that runs through all 3 coordinates in a grid then surely you don't need to go to the effort of using a structure to place a block and update it which then calls it, just call the procedure from the structure.

Last seen on 03:38, 30. Dec 2023
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
... You are probably right…
Sun, 09/06/2020 - 13:46

... You are probably right about that. I didnt really think to do that, since the structure part was thrown in late in development of my mod that i developed this for. 

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well this will probably make…
Mon, 09/07/2020 - 00:18

Well this will probably make it easier for me to revamp caves in all biomes in the overworld. 

Last seen on 14:26, 1. Oct 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Very nice tutorial but you…
Mon, 09/07/2020 - 13:51

Very nice tutorial but you can't do this into a Dimension :/

Last seen on 15:49, 1. Dec 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What are the local variables…
Mon, 09/07/2020 - 19:20

What are the local variables? Are they logic, number or string?

Last seen on 03:38, 30. Dec 2023
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Frayseur, why cant you do…
Tue, 09/08/2020 - 02:22

Frayseur, why cant you do this in other dimensions?

BloxcastJason, the local variables are numbers

Last seen on 15:22, 28. Mar 2024
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was looking for help…
Wed, 10/21/2020 - 21:16

I was looking for help creating hangling plants for caves, this will be useful. Thanks so much dude

Last seen on 18:11, 18. Mar 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you are a god of mcreator,…
Fri, 02/19/2021 - 10:09

you are a god of mcreator, upcave is pretty much the best cave biome mod ive seen on mcreator

Last seen on 00:23, 6. Nov 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how would you make a cave…
Sun, 03/28/2021 - 06:59

how would you make a cave biome that's surrounded by a new block, not just the ground?

 

Last seen on 23:31, 3. Nov 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could someone explain to…
Tue, 04/20/2021 - 01:13

Could someone explain to detail the procedures and stuff? Thanks

Last seen on 00:47, 25. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This was not working for me…
Thu, 04/22/2021 - 14:50

This was not working for me Can someone help

Last seen on 12:19, 25. Jul 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Number
Wed, 05/05/2021 - 11:07

Number