-
-
Notifications
You must be signed in to change notification settings - Fork 3
Events
All Daycare+ events can be found as constants in the DaycarePlusEvents interface. Cobblemon events triggered by Daycare+ are also included on this page for completeness.
Called immediately before a daycare creates a Pokemon Egg item. This event passes the Pokemon Properties objects onto listeners so it may be edited before the egg is produced.
Called immediately after the ItemStack object for a Pokemon egg is created, this includes both daycares and the Daycare+ give command. Called every time Pokemon egg data is converted into item form (such as the incubator GUI).
This event passes the ItemStack onto listeners so it may be edited before being added to the daycare's inventory.
Called when collapsing a potential Pokemon property into a standard Cobblemon one, after the data from the potential properties has been applied to the real properties.
This event passes three parameters onto listeners; the primary parent, the secondary parent, and the current PokemonProperties object. Use this event to edit the PokemonProperties object before it gets passed onto the Daycare GUI or egg production logic.
Daycare+ triggers several Cobblemon events to improve compatibility with other sidemods.
Called by the Pokemon Egg when it begins to hatch, immediately before creating the Pokemon object.
Called after creating the Pokemon object but before adding it to the player's party.
Called immediately before the Daycare+ PRE_EGG_PRODUCED event, but only when the player object is available.
Only triggered if enabled in the config as some mods are known to use this in incorrect ways and cause bugs.
Used as part of potential Pokemon properties to determine the shiny rate for any resulting PokemonProperty object.