How do i disable biomes and blocks spawning naturally? help please?

Started by SquidkingInc on

Topic category: Advanced modding

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
How do i disable biomes and blocks spawning naturally? help please?

I want to disable vanilla biomes from spawning, i know this takes custom code.

Active 1 year ago
Joined Aug 2013
Points:
1163

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Don't open 2 threads with…
Sun, 05/12/2019 - 09:55

Don't open 2 threads with the very same question in such a short time. Anyway, you should check BiomeManager#removeBiome().

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
@nuparu00 what do i do there…
Sun, 05/12/2019 - 19:27

@nuparu00 what do i do there?

 

Active 1 year ago
Joined Aug 2013
Points:
1163

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Well, that is the method you…
Sun, 05/12/2019 - 20:48

Well, that is the method you should use..... so call it either from FMLPreInitializationEvent or FMLInitializationEvent and pass the right arguments. Most likely you will have to iterate BiomeManager.biomes and use each entry in the method mentioned before. However, because you have mentioned in the original post that you want to remove rivers as well, the "easiest" route is to create your own WorldType and replace the default one.

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
Yes! thats what i want to do…
Mon, 05/13/2019 - 18:18

Yes! thats what i want to do, but could you simplify this into steps? i really don't know what i am doing

 

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
@nuparu00  
Tue, 05/14/2019 - 18:43

@nuparu00

 

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
You there?
Thu, 05/16/2019 - 02:52

You there?

Active 5 hours ago
Joined Apr 2014
Points:
1228

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 663
Ehh to disable Biome from…
Fri, 05/17/2019 - 00:40

Ehh to disable Biome from spawning in Overworld just hit the tick box that says "Generate Biome in the overworld?" this will disable it from spawning unless you will add it to custom dimension.

For Block just remove don't add dimension to the list that says "Dimension to generate in" in the block editing window

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
I meant vanilla biomes how…
Fri, 05/17/2019 - 01:40

I meant vanilla biomes

how do i disable those, not my own .-.

Active 5 hours ago
Joined Apr 2014
Points:
1228

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 663
You cant disable Vanilla…
Fri, 05/17/2019 - 18:31

You cant disable Vanilla Biomes 

Active 9 months ago
Joined Dec 2017
Points:
863

User statistics:

  • Modifications: 8
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 98
you can by using…
Wed, 06/12/2019 - 15:27

you can by using BiomeManager#removeBiome()

Active 2 years ago
Joined Sep 2018
Points:
806

User statistics:

  • Modifications: 2
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
where can I find that??
Wed, 06/12/2019 - 19:15

where can I find that??