promotional bannermobile promotional banner

Cobblemon Breeding API

A Cobblemon Breeding implementation focused on expansionability and customization

Cobblemon Breeding API is a base implementation of the breeding mechanics for Cobblemon, with one twist: It has several events that can be used to expand and add own Breeding mechanics through a mod.

This comes with a basic breeding mechanic out-of-the-box, with a separate mod (Cobblemon Breeding Extras) showcasing some options for expanding the breeding mechanics.

For the end user (mod user that does not expand on the mod), to use, craft an Egg Basket with a stick, a bale of hay and 5 planks of any kind. Place the basket anywhere, and on a 11x11x11 box around it, it will breed any pokemon that are out and about.

The basket will detect any pasture pokemon on pastures placed on that area as well as pokemon sent out from your party, and of other trainers. After a while (about 1 to 2 minutes), one eggs per valid couple will spawn in the basket, up to a max of 25 (configurable).

Right-click on the basket to withraw the eggs. If there aren't any, it will say so. (The basket does not show when there are eggs). These eggs will take some variable time to hatch, and depending on the config, your tooltip will tell when it's about to hatch, as well as a "durability" bar being filled up for when the egg will hatch.

On the configs, you can set it to also allow for wild pokemon to be able to lay eggs on the basket. Activate the option, place a basket in the middle of the wilderness, and come back later to find surprise eggs!

 

For those that want more, and are willing (and able) to code it, this mod offers the ability to override all steps of breeding and egg generation, from the choice of pokemon pairs that will breed, the species of the egg and its nature, gender, moves, abilities, ivs, how many ticks per tick should the breeding process advance by, ticks for hatching, and more. Check the source code of the mod or import it onto your development environment to see all the events.

 

Do note this mod is in Beta, right now. It is being released as-is so people can tell me what features they would like to be manipulated in the breeding steps, and check if there is anything missing from the current implementation (I tried to follow bulbapedia's article to a T, but some stuff had to be "improvised"...). Other reason for beta is due to the interface being able to change, before a final, finalized version of the API.

 

Finally, I hope you will enjoy this mod, and its companion Cobblemon Breeding Extras if you so would like. I'll be around for a while fixing whateever bugs are found on this mod.

The Cobblemon Breeding API Team

profile avatar
Owner
  • 9
    Followers
  • 8
    Projects
  • 765.0K
    Downloads

More from JPAN_v2View all