POKEMON_PROPERTY_INITIALISEDCobblemon 1.8.4 Mod Events API (102) & Bundled Showdown Mod
Bytecode-verified reference to all 102 official event observables declared on com.cobblemon.mod.common.api.events.CobblemonEvents.class in Cobblemon 1.8.4 — 40 CancelableObservable, 58 EventObservable, 3 SimpleObservable, and 1 TransformObservable (POKEMON_ENTITY_SPAWN) — plus the bundled Pokémon Showdown engine (data/cobblemon/showdown.zip, showdownVersion: 19, 845 files) and exact wildalpha / alphaboost stat scaling math.
- All 102 Events
- Payload Fields Table
- Showdown Mod & alphaboost
- 24 Custom Criteria Triggers
- 12 MoLang Callbacks
- 492 MoLang Functions
- 112 Core Registries
- Battle Protocol (80 Tokens)
- Battle AI & Catching (42)
- Battle Engine API (67)
- Riding Engine API (81)
- Storage & Pokédex API (108)
- Spawner Engine API (119)
- Network Packets (237)
- Battle Rules & Formats
- Official Event Observables
- 102 (40 Cancelable · 58 Event)
- Special Observables
- 3 Simple · 1 Transform
- Bundled Showdown Engine
- Version 19 (845 ZIP Files)
- MoLang Callback Matches
- 7 Events Linked To
callbacks/
All 102 Official CobblemonEvents Observables
MoLang Callbacks →COBBLEMON_INITIALISEDDATA_SYNCHRONIZEDPayload: ServerPlayer
Emits Minecraft ServerPlayer when Cobblemon finishes syncing registries/datapacks to a connecting client.
SHOULDER_MOUNTPayload: ShoulderMountEvent
player, pokemon, isLeft, context, functions
FRIENDSHIP_UPDATEDPayload: FriendshipUpdatedEvent
pokemon, newFriendshipInitial, earned, newFriendship, context +1 more
FULLNESS_UPDATEDPayload: FullnessUpdatedEvent
pokemon, newFullnessInitial, newFullness, context, functions
POKEMON_FAINTEDEVOLUTION_ACCEPTEDPayload: EvolutionAcceptedEvent
pokemon, evolution, context, functions
EVOLUTION_DISPLAYEVOLUTION_TESTEDPayload: EvolutionTestedEvent
pokemon, evolution, originalResult, result, context +1 more
EVOLUTION_COMPLETEPayload: EvolutionCompleteEvent
pokemon, sourcePokemon, evolution, context
POKEMON_NICKNAMEDPayload: PokemonNicknamedEvent
player, pokemon, nickname, functions
THROWN_POKEBALL_HITPayload: ThrownPokeballHitEvent
pokeBall, pokemon, functions
POKEMON_CATCH_RATEPayload: PokemonCatchRateEvent
thrower, pokeBallEntity, pokemonEntity, catchRate, context +1 more
POKE_BALL_CAPTURE_CALCULATEDPayload: PokeBallCaptureCalculatedEvent
thrower, pokemonEntity, pokeBallEntity, captureResult, context +1 more
POKEMON_CAPTUREDPayload: PokemonCapturedEvent
pokemon, player, pokeBallEntity, context
FOSSIL_REVIVEDBATTLE_STARTED_PREPayload: BattleStartedEvent.Pre
battle, reason, context, functions
BATTLE_STARTED_POSTBATTLE_FLEE_ATTEMPTBATTLE_FLEDBATTLE_VICTORYPayload: BattleVictoryEvent
battle, winners, losers, wasWildCapture, context
BATTLE_FAINTEDPayload: BattleFaintedEvent
battle, killed, context, pnx, structContext
BATTLE_ENDEDPayload: BattleEndedEvent
battle, result, forfeitedBy, hasWinner, wasVictory +8 more
MEGA_EVOLUTIONTERASTALLIZATIONZPOWER_USEDFORME_CHANGEPOKEMON_SENT_PREPayload: PokemonSentEvent.Pre
pokemon, level, position, context, functions
POKEMON_SENT_POSTPayload: PokemonSentEvent.Post
pokemon, level, position, pokemonEntity, context
POKEMON_RECALL_PREPayload: PokemonRecallEvent.Pre
pokemon, oldEntity, context, functions
POKEMON_RECALL_POSTTRADE_EVENT_PREPayload: TradeEvent.Pre
tradeParticipant1, tradeParticipant1Pokemon, tradeParticipant2, tradeParticipant2Pokemon, context +1 more
TRADE_EVENT_POSTPayload: TradeEvent.Post
tradeParticipant1, tradeParticipant1Pokemon, tradeParticipant2, tradeParticipant2Pokemon, context
RIDE_EVENT_PREPayload: RidePokemonEvent.Pre
player, pokemon, context, functions
RIDE_EVENT_APPLY_STAMINAPayload: RidePokemonEvent.ApplyStamina
player, pokemon, rideStamina, context, functions
RIDE_EVENT_POSTLEVEL_UP_EVENTPOKEMON_HEALEDPayload: PokemonHealedEvent
pokemon, amount, source, context, functions
POKEMON_INTERACTION_GUI_CREATIONPayload: PokemonInteractionGUICreationEvent
pokemonID, mountShoulder, giveHeld, giveCosmetic, canRide +1 more
POKEMON_ENTITY_SAVEPOKEMON_ENTITY_LOADPOKEMON_ENTITY_SAVE_TO_WORLDENTITY_SPAWNSHINY_CHANCE_CALCULATIONPayload: ShinyChanceCalculationEvent
baseChance, pokemon, chance, isShiny, modifiers +1 more
POKEMON_ENTITY_SPAWNPayload: SpawnEvent<PokemonEntity>
entity, spawnablePosition
EXPERIENCE_GAINED_EVENT_PREPayload: ExperienceGainedEvent.Pre
pokemon, source, experience, context, functions
EXPERIENCE_GAINED_EVENT_POSTPayload: ExperienceGainedEvent.Post
pokemon, source, experience, previousLevel, currentLevel +2 more
EXPERIENCE_CANDY_USE_PREPayload: ExperienceCandyUseEvent.Pre
player, pokemon, item, baseExperienceYield, experienceYield
EXPERIENCE_CANDY_USE_POSTPayload: ExperienceCandyUseEvent.Post
player, pokemon, item, experienceResult
EV_GAINED_EVENT_PREPayload: EvGainedEvent.Pre
stat, amount, source, context, functions
EV_GAINED_EVENT_POSTHYPER_TRAINED_IV_PREPayload: HyperTrainedIvEvent.Pre
pokemon, stat, value, context, functions
HYPER_TRAINED_IV_POSTPOKEMON_RELEASED_EVENT_PREPayload: ReleasePokemonEvent.Pre
player, pokemon, storage, functions
POKEMON_RELEASED_EVENT_POSTRENAME_PC_BOX_EVENT_PRERENAME_PC_BOX_EVENT_POSTWALLPAPER_COLLECTION_EVENTWALLPAPER_UNLOCKED_EVENTPayload: WallpaperUnlockedEvent
pc, wallpaper, shouldNotify, players, functions
CHANGE_PC_BOX_WALLPAPER_EVENT_PREPayload: ChangePCBoxWallpaperEvent.Pre
player, box, wallpaper, altWallpaper, context +1 more
CHANGE_PC_BOX_WALLPAPER_EVENT_POSTPayload: ChangePCBoxWallpaperEvent.Post
player, box, wallpaper, altWallpaper, context
LOOT_DROPPEDPayload: LootDroppedEvent
table, player, entity, drops, context +1 more
STARTER_CHOSENPayload: StarterChosenEvent
player, properties, pokemon, functions
POKEMON_SCANNEDPayload: PokemonScannedEvent
player, scannedPokemonEntityData, scannedEntity, context
APRICORN_HARVESTEDBERRY_HARVESTBERRY_MUTATION_OFFERBERRY_MUTATION_RESULTPayload: BerryMutationResultEvent
berry, world, state, pos, mutations +1 more
BERRY_YIELDPayload: BerryYieldCalculationEvent
berry, world, state, pos, placer +2 more
LEFTOVERS_CREATEDBIG_ROOT_PROPAGATEDPayload: BigRootPropagatedEvent
world, pos, newRootPosition, resultingSpread
HELD_ITEM_PREPayload: HeldItemEvent.Pre
pokemon, receiving, returning, decrement, functions
HELD_ITEM_POSTCOSMETIC_ITEM_PREPayload: HeldItemEvent.Pre
pokemon, receiving, returning, decrement, functions
COSMETIC_ITEM_POSTPOKEMON_GAINEDPOKEMON_SEENPayload: PokemonSeenEvent
playerId, pokemon, context, functions
POKEMON_ASPECTS_CHANGEDPOKEDEX_DATA_CHANGED_PREPayload: PokedexDataChangedEvent.Pre
dataSource, knowledge, playerUUID, record, functions
POKEDEX_DATA_CHANGED_POSTPayload: PokedexDataChangedEvent.Post
dataSource, knowledge, playerUUID, record
BAIT_SETBAIT_SET_PREBAIT_CONSUMEDPOKEROD_CAST_PREPayload: PokerodCastEvent.Pre
rod, bobber, bait, context, functions
POKEROD_CAST_POSTPOKEROD_REELPayload: PokerodReelEvent
player, rod, context, functions
BOBBER_SPAWN_POKEMON_PREPayload: BobberSpawnPokemonEvent.Pre
bobber, spawnAction, rod, context, functions
BOBBER_SPAWN_POKEMON_MODIFYBOBBER_SPAWN_POKEMON_POSTPayload: BobberSpawnPokemonEvent.Post
bobber, spawnAction, bait, pokemon, context
POKE_SNACK_SPAWN_POKEMON_PREPayload: PokeSnackSpawnPokemonEvent.Pre
pokeSnackBlockEntity, spawnAction, context, functions
POKE_SNACK_SPAWN_POKEMON_POSTPayload: PokeSnackSpawnPokemonEvent.Post
pokeSnackBlockEntity, spawnAction, pokemonEntity, context
BAIT_EFFECT_REGISTRATIONSPAWN_BUCKET_CHOSENPayload: SpawnBucketChosenEvent
spawner, spawnCause, bucket, bucketWeights
BAIT_SPAWN_POKEMON_MODIFYCOLLECT_EGGPayload: CollectEggEvent
egg, maleParent, femaleParent, player, context +1 more
HATCH_EGG_PREPayload: HatchEggEvent.Pre
egg, player, context, functions
HATCH_EGG_POSTSELECT_DRIVERHABITAT_SPAWN_ACTIVATEDPayload: HabitatSpawnActivatedEvent
habitatBlockEntity, activatedHabitatSpawning, cause, maxSpawns
HABITAT_SETTINGS_SAVED_PREPayload: SaveHabitatBlockSettingsEvent.Pre
player, world, blockPos, habitatBlockEntity, settings
HABITAT_SETTINGS_SAVED_POSTPayload: SaveHabitatBlockSettingsEvent.Post
player, world, blockPos, habitatBlockEntity, settings
Cobblemon 1.8.4 Bundled Showdown Mod & alphaboost Formula
426 Alpha Bosses →Cobblemon 1.8.4 bundles Pokémon Showdown inside data/cobblemon/showdown.zip (845 files, showdownVersion: 19 in data/cobblemon/showdown.json) with 3 Cobblemon mod files (data/mods/cobblemon/) and 5 simulation bridge modules (sim/cobblemon/).
Exact Wild Alpha Boost Formula (verified from data/mods/cobblemon/rulesets.js, data/mods/cobblemon/conditions.js, and sim/pokemon.js): when a battle includes the wildalpha rule, onSwitchIn applies the alphaboost volatile to the opposing lead (this.sides[1].active[0]). On start, alphaboost executes Math.floor(target.level / 10) + 1 random draws from [atk, def, spa, spd, spe], incrementing target.alphaBoosts[stat] by +1 per draw up to a cap of +6 per stat. Inside sim/pokemon.js, alphaBoosts scales stored stats separately from normal battle stat stages using alphaBoostTable = [1, 1.5, 2, 2.5, 3, 3.5, 4]: +0 = 1× · +1 = 1.5× · +2 = 2× · +3 = 2.5× · +4 = 3× · +5 = 3.5× · +6 = 4×.
| Wild Alpha Level | Total Random Boosts Rolled | Formula Verification |
|---|---|---|
| Lv. 10 | 2 random stat boosts | floor(10 / 10) + 1 = 2 |
| Lv. 30 | 4 random stat boosts | floor(30 / 10) + 1 = 4 |
| Lv. 50 | 6 random stat boosts | floor(50 / 10) + 1 = 6 |
| Lv. 70 | 8 random stat boosts | floor(70 / 10) + 1 = 8 |
| Lv. 100 | 11 random stat boosts | floor(100 / 10) + 1 = 11 |
| Bundled Cobblemon Showdown Module | Role | Size |
|---|---|---|
data/mods/cobblemon/conditions.js | Custom Mod | 1,811 bytes |
data/mods/cobblemon/rulesets.js | Custom Mod | 1,352 bytes |
data/mods/cobblemon/scripts.js | Custom Mod | 1,005 bytes |
sim/cobblemon/bag-item.js | Cobblemon Sim Bridge | 786 bytes |
sim/cobblemon/cobbled-debug-client.js | Cobblemon Sim Bridge | 2,178 bytes |
sim/cobblemon/cobbled-debug-server.js | Cobblemon Sim Bridge | 7,060 bytes |
sim/cobblemon/cobblemon.js | Cobblemon Sim Bridge | 2,222 bytes |
sim/cobblemon/registries.js | Cobblemon Sim Bridge | 3,994 bytes |
Complete 102-Event Reference & Bytecode Payload Fields
24 Advancement Triggers →| Event Observable & Domain | Observable Type | Payload Class & Notes | Verified Bytecode Fields |
|---|---|---|---|
POKEMON_PROPERTY_INITIALISEDPokédex, Eggs & Mod Init | SimpleObservable | Unit | None (signal payload) |
COBBLEMON_INITIALISEDPokédex, Eggs & Mod Init | SimpleObservable | Unit | None (signal payload) |
DATA_SYNCHRONIZEDPokédex, Eggs & Mod Init | SimpleObservable | ServerPlayerEmits Minecraft ServerPlayer when Cobblemon finishes syncing registries/datapacks to a connecting client. | None (signal payload) |
SHOULDER_MOUNTPokémon Lifecycle & Evolution | CancelableObservable | ShoulderMountEvent | player (ServerPlayer), pokemon (Pokemon), isLeft (boolean), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
FRIENDSHIP_UPDATEDXP, EVs, IVs & Healing | EventObservable | FriendshipUpdatedEvent | pokemon (Pokemon), newFriendshipInitial (int), earned (boolean), newFriendship (int), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
FULLNESS_UPDATEDXP, EVs, IVs & Healing | EventObservable | FullnessUpdatedEvent | pokemon (Pokemon), newFullnessInitial (int), newFullness (int), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_FAINTEDPokémon Lifecycle & Evolution | EventObservable | PokemonFaintedEvent | pokemon (Pokemon), faintedTimer (int), context (Map<String, MoValue>) |
EVOLUTION_ACCEPTEDPokémon Lifecycle & Evolution | CancelableObservable | EvolutionAcceptedEvent | pokemon (Pokemon), evolution (Evolution), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
EVOLUTION_DISPLAYPokémon Lifecycle & Evolution | EventObservable | EvolutionDisplayEvent | pokemon (Pokemon), display (EvolutionDisplay), evolution (Evolution) |
EVOLUTION_TESTEDPokémon Lifecycle & Evolution | EventObservable | EvolutionTestedEvent | pokemon (Pokemon), evolution (Evolution), originalResult (boolean), result (boolean), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
EVOLUTION_COMPLETEPokémon Lifecycle & Evolution | EventObservable | EvolutionCompleteEvent | pokemon (Pokemon), sourcePokemon (Pokemon), evolution (Evolution), context (Map<String, MoValue>) |
POKEMON_NICKNAMEDPokémon Lifecycle & Evolution | CancelableObservable | PokemonNicknamedEvent | player (ServerPlayer), pokemon (Pokemon), nickname (MutableComponent), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
THROWN_POKEBALL_HITCatching, Poké Balls & Riding | CancelableObservable | ThrownPokeballHitEvent | pokeBall (EmptyPokeBallEntity), pokemon (PokemonEntity), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_CATCH_RATECatching, Poké Balls & Riding | EventObservable | PokemonCatchRateEvent | thrower (LivingEntity), pokeBallEntity (EmptyPokeBallEntity), pokemonEntity (PokemonEntity), catchRate (float), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKE_BALL_CAPTURE_CALCULATEDCatching, Poké Balls & Riding | EventObservable | PokeBallCaptureCalculatedEvent | thrower (LivingEntity), pokemonEntity (PokemonEntity), pokeBallEntity (EmptyPokeBallEntity), captureResult (CaptureContext), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_CAPTUREDCatching, Poké Balls & Riding | EventObservable | PokemonCapturedEventCallbacks: apply_marks.molang, remove_aspects.molang, wallpaper_unlocks.molang | pokemon (Pokemon), player (ServerPlayer), pokeBallEntity (EmptyPokeBallEntity), context (Map<String, MoValue>) |
FOSSIL_REVIVEDCatching, Poké Balls & Riding | EventObservable | FossilRevivedEventCallbacks: apply_marks.molang | pokemon (Pokemon), player (ServerPlayer), context (Map<String, MoValue>) |
BATTLE_STARTED_PREBattle & Gimmicks | CancelableObservable | BattleStartedEvent.Pre | battle (PokemonBattle), reason (MutableComponent), context (Map<String, MoStruct>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
BATTLE_STARTED_POSTBattle & Gimmicks | EventObservable | BattleStartedEvent.Post | battle (PokemonBattle), context (Map<String, MoStruct>) |
BATTLE_FLEE_ATTEMPTBattle & Gimmicks | EventObservable | BattleFleeAttemptEvent | battle (PokemonBattle), player (PlayerBattleActor), context (Map<String, MoValue>) |
BATTLE_FLEDBattle & Gimmicks | EventObservable | BattleFledEvent | battle (PokemonBattle), player (PlayerBattleActor), context (Map<String, MoValue>) |
BATTLE_VICTORYBattle & Gimmicks | EventObservable | BattleVictoryEventCallbacks: npc_battle_end_scripts.molang | battle (PokemonBattle), winners (List<BattleActor>), losers (List<BattleActor>), wasWildCapture (boolean), context (Map<String, MoValue>) |
BATTLE_FAINTEDBattle & Gimmicks | EventObservable | BattleFaintedEventCallbacks: pokemon_alpha_drops.molang | battle (PokemonBattle), killed (BattlePokemon), context (BattleContext), pnx (String), structContext (Map<String, MoValue>) |
BATTLE_ENDEDBattle & Gimmicks | EventObservable | BattleEndedEventCallbacks: burmy_cloak_change.molang | battle (PokemonBattle), result (BattleEndResult), forfeitedBy (BattleActor), hasWinner (boolean), wasVictory (boolean), wasCapture (boolean), wasForfeit (boolean), wasFled (boolean), wasStopped (boolean), isPvW (boolean), isPvN (boolean), isPvP (boolean), context (Map<String, MoValue>) |
MEGA_EVOLUTIONBattle & Gimmicks | EventObservable | MegaEvolutionEvent | battle (PokemonBattle), pokemon (BattlePokemon), context (Map<String, MoValue>) |
TERASTALLIZATIONBattle & Gimmicks | EventObservable | TerastallizationEvent | battle (PokemonBattle), pokemon (BattlePokemon), teraType (TeraType), context (Map<String, MoValue>) |
ZPOWER_USEDBattle & Gimmicks | EventObservable | ZMoveUsedEvent | battle (PokemonBattle), pokemon (BattlePokemon), context (Map<String, MoValue>) |
FORME_CHANGEBattle & Gimmicks | EventObservable | FormeChangeEvent | battle (PokemonBattle), pokemon (BattlePokemon), formeName (String), pnx (String), context (Map<String, MoValue>) |
POKEMON_SENT_PREPokémon Lifecycle & Evolution | CancelableObservable | PokemonSentEvent.Pre | pokemon (Pokemon), level (ServerLevel), position (Vec3), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_SENT_POSTPokémon Lifecycle & Evolution | EventObservable | PokemonSentEvent.Post | pokemon (Pokemon), level (ServerLevel), position (Vec3), pokemonEntity (PokemonEntity), context (Map<String, QueryStruct>) |
POKEMON_RECALL_PREPokémon Lifecycle & Evolution | CancelableObservable | PokemonRecallEvent.Pre | pokemon (Pokemon), oldEntity (PokemonEntity), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_RECALL_POSTPokémon Lifecycle & Evolution | EventObservable | PokemonRecallEvent.Post | pokemon (Pokemon), oldEntity (PokemonEntity), context (Map<String, MoValue>) |
TRADE_EVENT_PREPokémon Lifecycle & Evolution | CancelableObservable | TradeEvent.Pre | tradeParticipant1 (TradeParticipant), tradeParticipant1Pokemon (Pokemon), tradeParticipant2 (TradeParticipant), tradeParticipant2Pokemon (Pokemon), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
TRADE_EVENT_POSTPokémon Lifecycle & Evolution | EventObservable | TradeEvent.Post | tradeParticipant1 (TradeParticipant), tradeParticipant1Pokemon (Pokemon), tradeParticipant2 (TradeParticipant), tradeParticipant2Pokemon (Pokemon), context (Map<String, MoValue>) |
RIDE_EVENT_PRECatching, Poké Balls & Riding | CancelableObservable | RidePokemonEvent.Pre | player (ServerPlayer), pokemon (PokemonEntity), context (Map<String, ObjectValue<? extends LivingEntity>>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
RIDE_EVENT_APPLY_STAMINACatching, Poké Balls & Riding | EventObservable | RidePokemonEvent.ApplyStamina | player (ServerPlayer), pokemon (PokemonEntity), rideStamina (float), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
RIDE_EVENT_POSTCatching, Poké Balls & Riding | EventObservable | RidePokemonEvent.Post | player (ServerPlayer), pokemon (PokemonEntity), context (Map<String, ObjectValue<? extends LivingEntity>>) |
LEVEL_UP_EVENTXP, EVs, IVs & Healing | EventObservable | LevelUpEvent | pokemon (Pokemon), oldLevel (int), newLevel (int), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_HEALEDXP, EVs, IVs & Healing | CancelableObservable | PokemonHealedEvent | pokemon (Pokemon), amount (int), source (HealingSource), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_INTERACTION_GUI_CREATIONPokémon Lifecycle & Evolution | EventObservable | PokemonInteractionGUICreationEvent | pokemonID (UUID), mountShoulder (boolean), giveHeld (boolean), giveCosmetic (boolean), canRide (boolean), options (com.google.common.collect.Multimap<Orientation, InteractWheelOption>) |
POKEMON_ENTITY_SAVESpawning, Habitats & Farming | EventObservable | PokemonEntitySaveEvent | pokemonEntity (PokemonEntity), nbt (CompoundTag) |
POKEMON_ENTITY_LOADSpawning, Habitats & Farming | CancelableObservable | PokemonEntityLoadEvent | pokemonEntity (PokemonEntity), nbt (CompoundTag) |
POKEMON_ENTITY_SAVE_TO_WORLDSpawning, Habitats & Farming | CancelableObservable | PokemonEntitySaveToWorldEvent | pokemonEntity (PokemonEntity) |
ENTITY_SPAWNSpawning, Habitats & Farming | CancelableObservable | SpawnEvent<?> | entity (T), spawnablePosition (SpawnablePosition) |
SHINY_CHANCE_CALCULATIONPokémon Lifecycle & Evolution | EventObservable | ShinyChanceCalculationEvent | baseChance (float), pokemon (Pokemon), chance (float), isShiny (boolean), modifiers (List<Float>), modificationFunctions (List<jvm.functions.Function3<Float, ServerPlayer, Pokemon, Float>>) |
POKEMON_ENTITY_SPAWNSpawning, Habitats & Farming | TransformObservable | SpawnEvent<PokemonEntity>TransformObservable filtered from ENTITY_SPAWN (SpawnEvent<?> -> SpawnEvent<PokemonEntity>); cancels underlying SpawnEvent when canceled. Callbacks: apply_marks.molang, apply_potential_marks.molang | entity (T), spawnablePosition (SpawnablePosition) |
EXPERIENCE_GAINED_EVENT_PREXP, EVs, IVs & Healing | CancelableObservable | ExperienceGainedEvent.Pre | pokemon (Pokemon), source (ExperienceSource), experience (int), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
EXPERIENCE_GAINED_EVENT_POSTXP, EVs, IVs & Healing | EventObservable | ExperienceGainedEvent.Post | pokemon (Pokemon), source (ExperienceSource), experience (int), previousLevel (int), currentLevel (int), learnedMoves (Set<MoveTemplate>), context (Map<String, MoValue>) |
EXPERIENCE_CANDY_USE_PREXP, EVs, IVs & Healing | CancelableObservable | ExperienceCandyUseEvent.Pre | player (ServerPlayer), pokemon (Pokemon), item (CandyItem), baseExperienceYield (int), experienceYield (int) |
EXPERIENCE_CANDY_USE_POSTXP, EVs, IVs & Healing | EventObservable | ExperienceCandyUseEvent.Post | player (ServerPlayer), pokemon (Pokemon), item (CandyItem), experienceResult (AddExperienceResult) |
EV_GAINED_EVENT_PREXP, EVs, IVs & Healing | CancelableObservable | EvGainedEvent.Pre | stat (Stat), amount (int), source (EvSource), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
EV_GAINED_EVENT_POSTXP, EVs, IVs & Healing | EventObservable | EvGainedEvent.Post | stat (Stat), amount (int), source (EvSource), context (Map<String, MoValue>) |
HYPER_TRAINED_IV_PREXP, EVs, IVs & Healing | CancelableObservable | HyperTrainedIvEvent.Pre | pokemon (Pokemon), stat (Stat), value (int), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
HYPER_TRAINED_IV_POSTXP, EVs, IVs & Healing | EventObservable | HyperTrainedIvEvent.Post | pokemon (Pokemon), stat (Stat), value (int), context (Map<String, MoValue>) |
POKEMON_RELEASED_EVENT_PREPC, Storage & Items | CancelableObservable | ReleasePokemonEvent.Pre | player (ServerPlayer), pokemon (Pokemon), storage (PokemonStore<?>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_RELEASED_EVENT_POSTPC, Storage & Items | EventObservable | ReleasePokemonEvent.Post | player (ServerPlayer), pokemon (Pokemon), storage (PokemonStore<?>) |
RENAME_PC_BOX_EVENT_PREPC, Storage & Items | CancelableObservable | RenamePCBoxEvent.Pre | player (ServerPlayer), box (PCBox), name (String) |
RENAME_PC_BOX_EVENT_POSTPC, Storage & Items | EventObservable | RenamePCBoxEvent.Post | player (ServerPlayer), box (PCBox), name (String) |
WALLPAPER_COLLECTION_EVENTPC, Storage & Items | EventObservable | WallpaperCollectionEvent | player (ServerPlayer), wallpapers (Set<ResourceLocation>) |
WALLPAPER_UNLOCKED_EVENTPC, Storage & Items | CancelableObservable | WallpaperUnlockedEvent | pc (PCStore), wallpaper (UnlockablePCWallpaper), shouldNotify (boolean), players (List<ServerPlayer>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
CHANGE_PC_BOX_WALLPAPER_EVENT_PREPC, Storage & Items | CancelableObservable | ChangePCBoxWallpaperEvent.Pre | player (ServerPlayer), box (PCBox), wallpaper (ResourceLocation), altWallpaper (ResourceLocation), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
CHANGE_PC_BOX_WALLPAPER_EVENT_POSTPC, Storage & Items | EventObservable | ChangePCBoxWallpaperEvent.Post | player (ServerPlayer), box (PCBox), wallpaper (ResourceLocation), altWallpaper (ResourceLocation), context (Map<String, MoValue>) |
LOOT_DROPPEDPC, Storage & Items | CancelableObservable | LootDroppedEvent | table (DropTable), player (ServerPlayer), entity (LivingEntity), drops (List<DropEntry>), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
STARTER_CHOSENPokédex, Eggs & Mod Init | CancelableObservable | StarterChosenEvent | player (ServerPlayer), properties (PokemonProperties), pokemon (Pokemon), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_SCANNEDPokédex, Eggs & Mod Init | EventObservable | PokemonScannedEvent | player (ServerPlayer), scannedPokemonEntityData (PokedexEntityData), scannedEntity (ScannableEntity), context (Map<String, MoValue>) |
APRICORN_HARVESTEDSpawning, Habitats & Farming | EventObservable | ApricornHarvestEvent | player (ServerPlayer), apricorn (Apricorn), world (ServerLevel), pos (BlockPos), context (Map<String, MoValue>) |
BERRY_HARVESTSpawning, Habitats & Farming | EventObservable | BerryHarvestEvent | berry (Berry), player (ServerPlayer), world (Level), pos (BlockPos), state (BlockState), blockEntity (BerryBlockEntity), drops (List<ItemStack>), context (Map<String, MoValue>) |
BERRY_MUTATION_OFFERSpawning, Habitats & Farming | EventObservable | BerryMutationOfferEvent | berry (Berry), world (Level), state (BlockState), pos (BlockPos), mutations (Set<Berry>) |
BERRY_MUTATION_RESULTSpawning, Habitats & Farming | EventObservable | BerryMutationResultEvent | berry (Berry), world (Level), state (BlockState), pos (BlockPos), mutations (Set<Berry>), pickedMutation (Berry) |
BERRY_YIELDSpawning, Habitats & Farming | EventObservable | BerryYieldCalculationEvent | berry (Berry), world (Level), state (BlockState), pos (BlockPos), placer (LivingEntity), passedGrowthFactors (Collection<GrowthFactor>), yield (int) |
LEFTOVERS_CREATEDPC, Storage & Items | CancelableObservable | LeftoversCreatedEvent | playerEntity (ServerPlayer), leftovers (ItemStack) |
BIG_ROOT_PROPAGATEDSpawning, Habitats & Farming | CancelableObservable | BigRootPropagatedEvent | world (ServerLevel), pos (BlockPos), newRootPosition (BlockPos), resultingSpread (BlockState) |
HELD_ITEM_PREPC, Storage & Items | CancelableObservable | HeldItemEvent.Pre | pokemon (Pokemon), receiving (ItemStack), returning (ItemStack), decrement (boolean), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
HELD_ITEM_POSTPC, Storage & Items | EventObservable | HeldItemEvent.Post | pokemon (Pokemon), received (ItemStack), returned (ItemStack), decremented (boolean) |
COSMETIC_ITEM_PREPC, Storage & Items | CancelableObservable | HeldItemEvent.Pre | pokemon (Pokemon), receiving (ItemStack), returning (ItemStack), decrement (boolean), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
COSMETIC_ITEM_POSTPC, Storage & Items | EventObservable | HeldItemEvent.Post | pokemon (Pokemon), received (ItemStack), returned (ItemStack), decremented (boolean) |
POKEMON_GAINEDPokédex, Eggs & Mod Init | EventObservable | PokemonGainedEvent | playerId (UUID), pokemon (Pokemon), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_SEENPokédex, Eggs & Mod Init | CancelableObservable | PokemonSeenEvent | playerId (UUID), pokemon (Pokemon), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEMON_ASPECTS_CHANGEDPokémon Lifecycle & Evolution | EventObservable | PokemonAspectsChangedEvent | ownerId (UUID), pokemon (Pokemon), context (Map<String, MoValue>) |
POKEDEX_DATA_CHANGED_PREPokédex, Eggs & Mod Init | CancelableObservable | PokedexDataChangedEvent.Pre | dataSource (PokedexEntityData), knowledge (PokedexEntryProgress), playerUUID (UUID), record (FormDexRecord), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEDEX_DATA_CHANGED_POSTPokédex, Eggs & Mod Init | EventObservable | PokedexDataChangedEvent.Post | dataSource (PokedexEntityData), knowledge (PokedexEntryProgress), playerUUID (UUID), record (FormDexRecord) |
BAIT_SETFishing, Baits & Poké Snack | CancelableObservable | BaitSetEventAlias / event observable sharing BaitSetEvent with BAIT_SET_PRE. | rod (ItemStack), bait (ItemStack), context (Map<String, QueryStruct>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
BAIT_SET_PREFishing, Baits & Poké Snack | CancelableObservable | BaitSetEvent | rod (ItemStack), bait (ItemStack), context (Map<String, QueryStruct>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
BAIT_CONSUMEDFishing, Baits & Poké Snack | CancelableObservable | BaitConsumedEvent | rod (ItemStack), context (Map<String, QueryStruct>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEROD_CAST_PREFishing, Baits & Poké Snack | CancelableObservable | PokerodCastEvent.Pre | rod (ItemStack), bobber (PokeRodFishingBobberEntity), bait (ItemStack), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKEROD_CAST_POSTFishing, Baits & Poké Snack | EventObservable | PokerodCastEvent.Post | rod (ItemStack), bobber (PokeRodFishingBobberEntity), bait (ItemStack), context (Map<String, MoValue>) |
POKEROD_REELFishing, Baits & Poké Snack | CancelableObservable | PokerodReelEvent | player (Player), rod (ItemStack), context (Map<String, QueryStruct>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
BOBBER_SPAWN_POKEMON_PREFishing, Baits & Poké Snack | CancelableObservable | BobberSpawnPokemonEvent.Pre | bobber (PokeRodFishingBobberEntity), spawnAction (SpawnAction<?>), rod (ItemStack), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
BOBBER_SPAWN_POKEMON_MODIFYFishing, Baits & Poké Snack | EventObservable | BobberSpawnPokemonEvent.Modify | spawnAction (SpawnAction<?>), rod (ItemStack), pokemon (PokemonEntity) |
BOBBER_SPAWN_POKEMON_POSTFishing, Baits & Poké Snack | EventObservable | BobberSpawnPokemonEvent.PostCallbacks: apply_marks.molang | bobber (PokeRodFishingBobberEntity), spawnAction (SpawnAction<?>), bait (ItemStack), pokemon (PokemonEntity), context (Map<String, MoValue>) |
POKE_SNACK_SPAWN_POKEMON_PREFishing, Baits & Poké Snack | CancelableObservable | PokeSnackSpawnPokemonEvent.Pre | pokeSnackBlockEntity (PokeSnackBlockEntity), spawnAction (SpawnAction<?>), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
POKE_SNACK_SPAWN_POKEMON_POSTFishing, Baits & Poké Snack | EventObservable | PokeSnackSpawnPokemonEvent.Post | pokeSnackBlockEntity (PokeSnackBlockEntity), spawnAction (SpawnAction<?>), pokemonEntity (PokemonEntity), context (Map<String, MoValue>) |
BAIT_EFFECT_REGISTRATIONFishing, Baits & Poké Snack | EventObservable | BaitEffectFunctionRegistryEvent | functions (Map<ResourceLocation, jvm.functions.Function2<PokemonEntity, SpawnBait.Effect, Unit>>) |
SPAWN_BUCKET_CHOSENSpawning, Habitats & Farming | EventObservable | SpawnBucketChosenEvent | spawner (Spawner), spawnCause (SpawnCause), bucket (String), bucketWeights (Map<String, Float>) |
BAIT_SPAWN_POKEMON_MODIFYFishing, Baits & Poké Snack | EventObservable | BaitSpawnPokemonEvent.Modify | chosenBucket (String), rod (ItemStack), pokemon (PokemonEntity) |
COLLECT_EGGPokédex, Eggs & Mod Init | CancelableObservable | CollectEggEvent | egg (PokemonProperties), maleParent (Pokemon), femaleParent (Pokemon), player (ServerPlayer), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
HATCH_EGG_PREPokédex, Eggs & Mod Init | CancelableObservable | HatchEggEvent.Pre | egg (PokemonProperties), player (ServerPlayer), context (Map<String, MoValue>), functions (Map<String, jvm.functions.Function1<MoParams, MoValue>>) |
HATCH_EGG_POSTPokédex, Eggs & Mod Init | EventObservable | HatchEggEvent.Post | player (ServerPlayer), pokemon (Pokemon), context (Map<String, MoValue>) |
SELECT_DRIVERCatching, Poké Balls & Riding | EventObservable | SelectDriverEvent | options (Set<LivingEntity>), result (SelectDriverEvent.DriverSuggestion) |
HABITAT_SPAWN_ACTIVATEDSpawning, Habitats & Farming | CancelableObservable | HabitatSpawnActivatedEvent | habitatBlockEntity (HabitatBlockEntity), activatedHabitatSpawning (ActivatedHabitatSpawning), cause (SpawnCause), maxSpawns (int) |
HABITAT_SETTINGS_SAVED_PRESpawning, Habitats & Farming | CancelableObservable | SaveHabitatBlockSettingsEvent.Pre | player (ServerPlayer), world (ServerLevel), blockPos (BlockPos), habitatBlockEntity (HabitatBlockEntity), settings (HabitatSettingsDTO) |
HABITAT_SETTINGS_SAVED_POSTSpawning, Habitats & Farming | EventObservable | SaveHabitatBlockSettingsEvent.Post | player (ServerPlayer), world (ServerLevel), blockPos (BlockPos), habitatBlockEntity (HabitatBlockEntity), settings (HabitatSettingsDTO) |