Make an ore spawn only in a specific biome - Tutorial

Started by UnderWaves on Sun, 07/07/2019 - 18:00

Topic category: User side tutorials

Last seen on 12:14, 21. Aug 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Make an ore spawn only in a specific biome - Tutorial
Sun, 07/07/2019 - 18:00

Hello everyone!

This topic is to teach you how to make your ore spawn only in a specific biome. I don't really know is there is any functionality to do this in MCreator, but I'll show you my way to do it.

In the Events tab of your block, search the event called "On block added", then add a new procedure for this one. Call it whatever you want.

Now just place a "if" condition, and add in condition a "not" block, followed by "is biome at X Y Z type *the biome you want the ore to spawn in*". Use OR conditions and place in them every biome you want the ore to spawn in. The whole condition will detect if the ore spawned in another biome.

In the IF block, put a "place BLOCK.STONE at X Y Z". The entire procedure will replace every ore that didn't spawn in the biomes you want with regular stone (as ore always spawn in stone).

It's a very quick way, but maybe there's even quicker... don't hesitate to try it and to send me your feedback about this idea!

Last seen on 12:05, 21. Aug 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
We can already choose a…
Sun, 07/07/2019 - 23:53

We can already choose a spefic or many biomes for the spawn of our blocks.

Last seen on 12:14, 21. Aug 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I didn't see this??
Mon, 07/08/2019 - 10:08

I didn't see this??

Last seen on 12:14, 21. Aug 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh yeah, I discovered the…
Thu, 07/11/2019 - 05:57

Oh yeah, I discovered the function. I was using 1.8.2 before