Jump to content

Recommended Posts

Posted

Hi guys,

 

my mod spawn my mobs without any issues, but I want now to support Biome O Plenty and spawn my mobs in those Biome as well. I was not able to pinpoint how to this, but I do not expect it to be really hard to do.

 

Anyone could point me an example or give me some hint how to do it? I found some info on the net, but nothing really helpful and to the point.

 

Thanks guys!

 

Frag

Posted

You can use

BiomeDictionary.getBiomesForType

to get all

BiomeGenBase

instances registered as the specified

BiomeDictionary.Type

(e.g.

FOREST

or

PLAINS

).

 

1.7.10 is extremely outdated and no longer supported, update to 1.10.2.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

You can use

BiomeDictionary.getBiomesForType

to get all

BiomeGenBase

instances registered as the specified

BiomeDictionary.Type

(e.g.

FOREST

or

PLAINS

).

 

1.7.10 is extremely outdated and no longer supported, update to 1.10.2.

 

So would I need a specific Biome o Plenty API for the developers? So you are saying that when Biome O Plenty is installed, the BiomeDictionary should contains instances of BiomeGenBase for every biome contained in Biome O Plenty?

 

 

Posted

So would I need a specific Biome o Plenty API for the developers? So you are saying that when Biome O Plenty is installed, the BiomeDictionary should contains instances of BiomeGenBase for every biome contained in Biome O Plenty?

 

The Biome Dictionary is a part of Forge. BOP registers all of its biomes with the Biome Dictionary, using the appropriate types for each one.

 

In 1.7.10, this is done here.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.