Events live in the us.timinc.mc.cobblemon.unchained.event package.

BoostCalculation

Fired off before applying the boost, as an opportunity for subscribers to mutate the unlocked boost value for the booster.

Params

boostKey

The id of the boost module/context this was fired for, given in the format <booster>.<context>. For example, iv.hatch.

pokemonRep

A PokemonRepresentation for the target of the boost.

player

The ServerPlayer being taken into consideration for the boost.

unlockedBoost

The current unlocked boost value. The meaning of this is relevant to each individual one of The Boosters.

BoostApplication.Pre

Fired off after the roll and test have gone off for a boost. Can be cancelled. If cancelled, the boost is never applied, and the clean up (breaking streaks, locking to player, notifying player) don’t go off either.

Params

boostKey

The id of the boost module/context going off, given in the format <booster>.<context>. For example, iv.hatch.

pokemonRep

A PokemonRepresentation for the target of the boost.