Cobblemon 1.8.4 Combat Core API

Cobblemon 1.8.4 Move, Ability & Status Condition Engine (60 Classes)

Bytecode-verified reference for all 60 top-level classes across com/cobblemon/mod/common/api/moves/ (41), api/abilities/ (8), and pokemon/status/ (11): the exact HiddenPowerUtil 6-IV parity formula across 16 types, MoveSet (4 active slots), AbilityPool priority selection, and out-of-battle PoisonStatus / PoisonBadlyStatus tick mechanics (including Poison Heal).

Total Engine Classes
60 (41 Moves · 8 Abilities · 11 Status)
Active Move Slots
4 (MoveSet.MOVE_COUNT) + BenchedMoves
Hidden Power Table
16 Types (Fighting → Dark)
Status Conditions
8 (6 Persistent · 2 Volatile)
Subsystem
Kotlin / Java Kind
API Surface
Inheritance
Core Moves, Categories & Adapters · ClassBenchedMove

Learned but currently unequipped move stored in a Pokémon's benched move pool with its PP boost stages.

Fields: moveTemplate, ppRaisedStages, CODEC · Methods: BenchedMove, getMoveTemplate, getPpRaisedStages, saveToNBT (+7)

3 fields · 11 methods950 Moves Database →
Core Moves, Categories & Adapters · ClassBenchedMoves

Collection of BenchedMove entries allowing trainers to swap previously learned moves back into the 4-slot MoveSet.

Fields: changeFunction, emit, benchedMoves, CODEC · Methods: BenchedMoves, getChangeFunction, setChangeFunction, doWithoutEmitting (+15)

4 fields · 19 methods950 Moves Database →
Core Moves, Categories & Adapters · ClassDefaultMovesetBuilder

Default moveset builder that fills up to 4 slots from the species' level-up learnset at or below its current level.

Fields: type, id, slot1, slot2 (+3) · Methods: DefaultMovesetBuilder, getType, getId, setId (+6)

7 fields · 10 methods950 Moves Database →
Core Moves, Categories & Adapters · ObjectHiddenPowerUtil

Calculates Hidden Power's ElementalType from the 6 IV parities [HP, Atk, Def, Spe, SpA, SpD] via floor(sum * 15 / 63) across 16 types.

Fields: hiddenPowerTable · Methods: HiddenPowerUtil, getHiddenPowerTable, getHiddenPowerType

1 field · 3 methods950 Moves Database →
Core Moves, Categories & Adapters · ClassMove

Runtime move instance on a Pokémon storing its MoveTemplate, current/max PP, raisedPPStages, and NBT/Codec serialization.

Fields: delegatedProperties, template, emit, observable (+4) · Methods: Move, getTemplate, getObservable, getCurrentPp (+21)

8 fields · 25 methods950 Moves Database →
Core Moves, Categories & Adapters · InterfaceMoveSelector

Selection helper for choosing moves by filter/weight inside moveset builders.

Methods: invoke

0 fields · 1 method950 Moves Database →
Core Moves, Categories & Adapters · ClassMoveSet

4-slot active moveset container (MOVE_COUNT = 4) with observable mutation callbacks and Codec serialization.

Fields: changeFunction, emit, moves, 4 (+1) · Methods: MoveSet, getChangeFunction, setChangeFunction, toStruct (+22)

5 fields · 26 methods950 Moves Database →
Core Moves, Categories & Adapters · ClassMoveTemplate

Immutable blueprint for an official move loaded from Showdown data (name, ElementalType, DamageCategory, power, accuracy, PP, priority, target, flags).

Fields: name, num, elementalType, damageCategory (+10) · Methods: MoveTemplate, getName, getNum, getElementalType (+17)

14 fields · 21 methods950 Moves Database →
Core Moves, Categories & Adapters · ObjectMoves

Global DataRegistry holding all MoveTemplate entries indexed by Showdown move name.

Fields: id, type, observable, allMoves (+2) · Methods: Moves, getId, getType, getObservable (+12)

6 fields · 16 methods950 Moves Database →
Core Moves, Categories & Adapters · InterfaceMovesetBuilder

Interface for generating initial movesets when a Pokémon spawns or is created (e.g. DefaultMovesetBuilder, Alpha moveset builders).

Methods: getId, setId, getType, build

0 fields · 4 methods950 Moves Database →
Core Moves, Categories & Adapters · ObjectDamageCategoryAdapter

GSON adapter serializing DamageCategory by its string name.

Methods: DamageCategoryAdapter, serialize, deserialize

0 fields · 3 methods950 Moves Database →
Core Moves, Categories & Adapters · ObjectMoveTemplateAdapter

GSON adapter resolving MoveTemplate references from Showdown move IDs.

Methods: MoveTemplateAdapter, serialize, deserialize

0 fields · 3 methods950 Moves Database →
Action Effect Animations & Keyframes · ClassActionEffectContext

Runtime execution context passed to action-effect keyframes holding providers (users, targets, entities, NPCs) and MoLang runtime.

Fields: actionEffect, holds, providers, runtime (+4) · Methods: ActionEffectContext, getActionEffect, getHolds, getProviders (+10)

8 fields · 14 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassActionEffectTimeline

Ordered sequence of ActionEffectKeyframe entries executed asynchronously during battle moves and world events.

Fields: timeline, condition, NONE · Methods: ActionEffectTimeline, getTimeline, getCondition, run (+1)

3 fields · 5 methods156 Action Effects →
Action Effect Animations & Keyframes · ObjectActionEffects

JsonDataRegistry loading all 156 data/cobblemon/action_effects/**/*.json timelines and registering all 17 keyframe JSON types.

Fields: id, type, observable, gson (+3) · Methods: ActionEffects, getId, getType, getObservable (+8)

7 fields · 12 methods156 Action Effects →
Action Effect Animations & Keyframes · InterfaceEntityProvider

Context entity/target provider (EntityProvider) supplying references to ActionEffectContext in api/moves/animations.

Methods: getEntities

0 fields · 1 method156 Action Effects →
Action Effect Animations & Keyframes · ClassNPCProvider

Context entity/target provider (NPCProvider) supplying references to ActionEffectContext in api/moves/animations.

Fields: entities · Methods: NPCProvider, getEntities

1 field · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassTargetsProvider

Context entity/target provider (TargetsProvider) supplying references to ActionEffectContext in api/moves/animations.

Fields: entities · Methods: TargetsProvider, getEntities

1 field · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassUsersProvider

Context entity/target provider (UsersProvider) supplying references to ActionEffectContext in api/moves/animations.

Fields: entities · Methods: UsersProvider, getEntities

1 field · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · InterfaceActionEffectKeyframe

Action-effect timeline keyframe class () implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Methods: play, interrupt, skip

0 fields · 3 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassAddHoldsActionEffectKeyframe

Action-effect timeline keyframe class (AddHolds) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: holds · Methods: AddHoldsActionEffectKeyframe, getHolds, play, interrupt (+1)

1 field · 5 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassAnimationActionEffectKeyframe

Action-effect timeline keyframe class (Animation) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: delay, visibilityRange, animation, variables (+1) · Methods: AnimationActionEffectKeyframe, getDelay, setDelay, getVisibilityRange (+8)

5 fields · 12 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassCanInterruptActionEffectKeyframe

Action-effect timeline keyframe class (CanInterrupt) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Methods: CanInterruptActionEffectKeyframe, playWhenTrue

0 fields · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassCannotInterruptActionEffectKeyframe

Action-effect timeline keyframe class (CannotInterrupt) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Methods: CannotInterruptActionEffectKeyframe, playWhenTrue

0 fields · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · AbstractConditionalActionEffectKeyframe

Action-effect timeline keyframe class (Conditional) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: condition · Methods: ConditionalActionEffectKeyframe, getCondition, setCondition, play (+3)

1 field · 7 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassEntityMoLangActionEffectKeyframe

Action-effect timeline keyframe class (EntityMoLang) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: delay, expressions, visibilityRange, entityCondition · Methods: EntityMoLangActionEffectKeyframe, getDelay, setDelay, getExpressions (+4)

4 fields · 8 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassEntityParticlesActionEffectKeyframe

Action-effect timeline keyframe class (EntityParticles) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: entityCondition, effect, locators, targetLocators (+2) · Methods: EntityParticlesActionEffectKeyframe, getEntityCondition, getEffect, setEffect (+8)

6 fields · 12 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassEntitySoundActionEffectKeyframe

Action-effect timeline keyframe class (EntitySound) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: entityCondition, sound, delay · Methods: EntitySoundActionEffectKeyframe, getEntityCondition, getSound, setSound (+3)

3 fields · 7 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassForkActionEffectKeyframe

Action-effect timeline keyframe class (Fork) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: condition, ifTrue, ifFalse · Methods: ForkActionEffectKeyframe, getCondition, getIfTrue, getIfFalse (+3)

3 fields · 7 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassMoLangActionEffectKeyframe

Action-effect timeline keyframe class (MoLang) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: expressions, delay · Methods: MoLangActionEffectKeyframe, getExpressions, getDelay, play (+2)

2 fields · 6 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassMoveToTargetActionEffectKeyframe

Action-effect timeline keyframe class (MoveToTarget) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: speed, timeout, proximity, timeoutActionEffect · Methods: MoveToTargetActionEffectKeyframe, getSpeed, getTimeout, getProximity (+5)

4 fields · 9 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassParallelActionEffectKeyframe

Action-effect timeline keyframe class (Parallel) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: keyframes · Methods: ParallelActionEffectKeyframe, getKeyframes, setKeyframes, playWhenTrue

1 field · 4 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassPauseActionEffectKeyframe

Action-effect timeline keyframe class (Pause) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: pause · Methods: PauseActionEffectKeyframe, getPause, playWhenTrue

1 field · 3 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassRemoveHoldsActionEffectKeyframe

Action-effect timeline keyframe class (RemoveHolds) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: delay, holds · Methods: RemoveHoldsActionEffectKeyframe, getDelay, getHolds, play (+2)

2 fields · 6 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassReturnToPositionActionEffectKeyframe

Action-effect timeline keyframe class (ReturnToPosition) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: speed, timeout, timeoutActionEffect · Methods: ReturnToPositionActionEffectKeyframe, getSpeed, getTimeout, getTimeoutActionEffect (+3)

3 fields · 7 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassRunActionEffectKeyframe

Action-effect timeline keyframe class (Run) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: actionEffect, waitForActionEffect · Methods: RunActionEffectKeyframe, getActionEffect, getWaitForActionEffect, playWhenTrue

2 fields · 4 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassSavePositionActionEffectKeyframe

Action-effect timeline keyframe class (SavePosition) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Methods: SavePositionActionEffectKeyframe, playWhenTrue

0 fields · 2 methods156 Action Effects →
Action Effect Animations & Keyframes · ClassSequenceActionEffectKeyframe

Action-effect timeline keyframe class (Sequence) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.

Fields: keyframes · Methods: SequenceActionEffectKeyframe, getKeyframes, playWhenTrue

1 field · 3 methods156 Action Effects →
Core Moves, Categories & Adapters · ObjectDamageCategories

Registry of the 3 official DamageCategory instances: PHYSICAL, SPECIAL, and STATUS.

Fields: allCategories, PHYSICAL, SPECIAL, STATUS · Methods: DamageCategories, getPHYSICAL, getSPECIAL, getSTATUS (+4)

4 fields · 8 methods950 Moves Database →
Core Moves, Categories & Adapters · ClassDamageCategory

Data class defining a move damage category (name, translatable displayName, resourceLocation icon).

Fields: name, displayName, textureXMultiplier, resourceLocation · Methods: DamageCategory, getName, getDisplayName, getTextureXMultiplier (+1)

4 fields · 5 methods950 Moves Database →
Ability Registry & Pools · ObjectAbilities

Global registry of all official AbilityTemplate definitions loaded from Showdown data.

Fields: id, type, observable, DUMMY (+2) · Methods: Abilities, getId, getType, getObservable (+12)

6 fields · 16 methods310 Abilities Database →
Ability Registry & Pools · ClassAbility

Runtime ability instance attached to a Pokémon referencing its AbilityTemplate, forced flag, and display metadata.

Fields: template, forced, index, priority (+1) · Methods: Ability, getTemplate, setTemplate, getName (+13)

5 fields · 17 methods310 Abilities Database →
Ability Registry & Pools · ClassAbilityPool

PrioritizedList of PotentialAbility candidates; select() rolls across Priority tiers (HIGHEST..LOWEST) for wild/generated Pokémon.

Methods: AbilityPool, select

0 fields · 2 methods310 Abilities Database →
Ability Registry & Pools · ClassAbilityTemplate

Immutable blueprint for an ability storing its Showdown name, translation keys, and PotentialAbility factory.

Fields: name, builder, displayName, description (+1) · Methods: AbilityTemplate, getName, getBuilder, setBuilder (+4)

5 fields · 8 methods310 Abilities Database →
Ability Registry & Pools · ClassCommonAbility

Standard Ability implementation representing a normal non-hidden ability slot.

Fields: template, priority, type · Methods: CommonAbility, getTemplate, getPriority, getType (+1)

3 fields · 5 methods310 Abilities Database →
Ability Registry & Pools · ObjectCommonAbilityType

PotentialAbilityType descriptor for standard ability entries in species JSON.

Methods: CommonAbilityType, parseFromJSON

0 fields · 2 methods310 Abilities Database →
Ability Registry & Pools · InterfacePotentialAbility

Interface representing an ability candidate inside a species AbilityPool with its Priority tier and type.

Methods: getTemplate, getPriority, getType, isSatisfiedBy

0 fields · 4 methods310 Abilities Database →
Status Conditions & Out-of-Battle Ticks · ClassPersistentStatus

Base class for persistent out-of-battle status conditions with cobblemon:* ID, showdownName, messages, defaultDuration (180–300s), and onSecondPassed() hook.

Fields: defaultDuration, CODEC · Methods: PersistentStatus, onStatusExpire, onSecondPassed, statusPeriod (+2)

2 fields · 6 methods8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassPersistentStatusContainer

Wrapper attached to a Pokémon storing its active PersistentStatus and remaining seconds timer.

Fields: status, secondsLeft, CODEC · Methods: PersistentStatusContainer, getStatus, getSecondsLeft, setSecondsLeft (+5)

3 fields · 9 methods8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassVolatileStatus

Base class for non-persistent battle-only status conditions (attract, confusion) that clear when switching or ending battle.

Methods: VolatileStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassAttractStatus

Volatile infatuation status (cobblemon:attract, Showdown 'attract') used in battle.

Methods: AttractStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassConfuseStatus

Volatile confusion status (cobblemon:confused, Showdown 'confusion') used in battle.

Methods: ConfuseStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassBurnStatus

Persistent burn status (cobblemon:burn, Showdown 'brn', defaultDuration 180–300s).

Methods: BurnStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassFrozenStatus

Persistent freeze status (cobblemon:frozen, Showdown 'frz', defaultDuration 180–300s).

Methods: FrozenStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassParalysisStatus

Persistent paralysis status (cobblemon:paralysis, Showdown 'par', defaultDuration 180–300s).

Methods: ParalysisStatus

0 fields · 1 method8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassPoisonBadlyStatus

Persistent toxic poison (cobblemon:poisonbadly, 'tox', 180–300s): 1/15 chance per second out of battle to deal max(1, rint(maxHP * 0.10)) damage — or heal & cure at full HP with Poison Heal.

Methods: PoisonBadlyStatus, onSecondPassed

0 fields · 2 methods8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassPoisonStatus

Persistent poison (cobblemon:poison, 'psn', 180–300s): 1/15 chance per second out of battle to deal max(1, rint(maxHP * 0.05)) damage — or heal & cure at full HP with Poison Heal.

Methods: PoisonStatus, onSecondPassed

0 fields · 2 methods8 Status Conditions →
Status Conditions & Out-of-Battle Ticks · ClassSleepStatus

Persistent sleep status (cobblemon:sleep, Showdown 'slp', defaultDuration 180–300s).

Methods: SleepStatus

0 fields · 1 method8 Status Conditions →

HiddenPowerUtil (16 Types), MoveSet, MoveTarget & AbilityPool

IV & Stat Calculator →

Verified from HiddenPowerUtil.class in Cobblemon 1.8.4: getHiddenPowerType(pokemon) reads the six IV values in the exact bit order HP, Attack, Defense, Speed, Sp. Atk, Sp. Def, computes index = floor(sum((iv_i % 2) << i for i in 0..5) * 15 / 63) (bit-shifting each odd IV by index 0..5), and indexes hiddenPowerTable (length 16). Neither Normal nor Fairy appears in the table (ElementalTypes.NORMAL is returned only if the Pokémon reference or any IV is null).

MoveSet & Targeting: MoveSet allocates a fixed 4-slot active array (MOVE_COUNT = 4) backed by BenchedMoves for move relearning, classifies every MoveTemplate across 3 DamageCategories (PHYSICAL · SPECIAL · STATUS), and resolves targets via all 15 MoveTarget enum values: any all allAdjacent allAdjacentFoes self normal randomNormal allies allySide allyTeam adjacentAlly adjacentAllyOrSelf adjacentFoe foeSide scripted.

AbilityPool Selection: AbilityPool.select(species, aspects) iterates across all 5 Priority tiers in descending order (HIGHEST → HIGH → NORMAL → LOW → LOWEST) to pick a standard or Hidden Ability candidate.

Table IndexHidden Power TypeCobblemon ConstantType Moves
0FightingElementalTypes.FIGHTINGFighting Moves →
1FlyingElementalTypes.FLYINGFlying Moves →
2PoisonElementalTypes.POISONPoison Moves →
3GroundElementalTypes.GROUNDGround Moves →
4RockElementalTypes.ROCKRock Moves →
5BugElementalTypes.BUGBug Moves →
6GhostElementalTypes.GHOSTGhost Moves →
7SteelElementalTypes.STEELSteel Moves →
8FireElementalTypes.FIREFire Moves →
9WaterElementalTypes.WATERWater Moves →
10GrassElementalTypes.GRASSGrass Moves →
11ElectricElementalTypes.ELECTRICElectric Moves →
12PsychicElementalTypes.PSYCHICPsychic Moves →
13IceElementalTypes.ICEIce Moves →
14DragonElementalTypes.DRAGONDragon Moves →
15DarkElementalTypes.DARKDark Moves →

All 8 Official Status Condition Classes & Out-Of-Battle Bytecode

Game Rules & Battle Formats →

Verified from pokemon/status/statuses/**/*.class in Cobblemon 1.8.4: all 6 PersistentStatus subclasses (BurnStatus, FrozenStatus, ParalysisStatus, PoisonStatus, PoisonBadlyStatus, SleepStatus) share a default out-of-battle duration range of 180–300 seconds (3–5 minutes). Both PoisonStatus and PoisonBadlyStatus override onSecondPassed(): each second while unfainted there is a 1-in-15 chance (Random.nextInt(15) == 0) to deal 5% (Poison) or 10% (Badly Poisoned) of max HP (rounded via Math.rint, minimum 1 HP). If the Pokémon holds the Ability Poison Heal (poisonheal), the sign flips to -1 so it heals instead and automatically clears the poison status once current HP reaches max HP.

Status Class & IDPersistenceShowdown IDDefault DurationOut-Of-Battle Bytecode & Lang Keys
BurnStatus
cobblemon:burn
Persistentbrn180–300sBattle effect only; auto-expires after defaultDuration out of battle.
Lang: cobblemon.status.burn.apply / cobblemon.status.burn.cure
FrozenStatus
cobblemon:frozen
Persistentfrz180–300sBattle effect only; auto-expires after defaultDuration out of battle.
Lang: cobblemon.status.frozen.apply / cobblemon.status.frozen.cure
ParalysisStatus
cobblemon:paralysis
Persistentpar180–300sBattle effect only; auto-expires after defaultDuration out of battle.
Lang: cobblemon.status.paralysis.apply / cobblemon.status.paralysis.cure
PoisonStatus
cobblemon:poison
Persistentpsn180–300s1-in-15 chance/sec out of battle: deals max(1, rint(maxHP × 5%)) damage (with Poison Heal: heals instead and cures status at full HP).
Lang: cobblemon.status.poison.apply / cobblemon.status.poison.cure
PoisonBadlyStatus
cobblemon:poisonbadly
Persistenttox180–300s1-in-15 chance/sec out of battle: deals max(1, rint(maxHP × 10%)) damage (with Poison Heal: heals instead and cures status at full HP).
Lang: cobblemon.status.poisonbadly.apply / cobblemon.status.poison.cure
SleepStatus
cobblemon:sleep
Persistentslp180–300sBattle effect only; auto-expires after defaultDuration out of battle.
Lang: cobblemon.status.sleep.apply / cobblemon.status.sleep.cure
AttractStatus
cobblemon:attract
VolatileattractBattle-only (clears on switch/end)Non-persistent VolatileStatus; active during battle only.
Lang: cobblemon.battle.attract_start / cobblemon.battle.attract_snapped
ConfuseStatus
cobblemon:confused
VolatileconfusionBattle-only (clears on switch/end)Non-persistent VolatileStatus; active during battle only.
Lang: cobblemon.battle.confusion_start / cobblemon.battle.confusion_snapped

Complete 60-Class Move, Ability & Status Reference

Class & SubpackageSubsystem & KindSuperclass / InterfacesFields / MethodsBytecode Role & Members
BenchedMove
(root)
Core Moves, Categories & Adapters
Class
—3 / 11Learned but currently unequipped move stored in a Pokémon's benched move pool with its PP boost stages.
Fields: moveTemplate: MoveTemplate, ppRaisedStages: int, CODEC: Codec<BenchedMove> | Methods: BenchedMove, getMoveTemplate, getPpRaisedStages, saveToNBT, saveToJSON
BenchedMoves
(root)
Core Moves, Categories & Adapters
Class
—
implements Iterable
4 / 19Collection of BenchedMove entries allowing trainers to swap previously learned moves back into the 4-slot MoveSet.
Fields: changeFunction: Function1<? super BenchedMoves, Unit>, emit: boolean, benchedMoves: List<BenchedMove>, CODEC: Codec<BenchedMoves> | Methods: BenchedMoves, getChangeFunction, setChangeFunction, doWithoutEmitting, copyFrom
DefaultMovesetBuilder
(root)
Core Moves, Categories & Adapters
Class
—
implements MovesetBuilder
7 / 10Default moveset builder that fills up to 4 slots from the species' level-up learnset at or below its current level.
Fields: type: ResourceLocation, id: ResourceLocation, slot1: List<MoveSelector>, slot2: List<MoveSelector> | Methods: DefaultMovesetBuilder, getType, getId, setId, getSlot1
HiddenPowerUtil
(root)
Core Moves, Categories & Adapters
Object
—1 / 3Calculates Hidden Power's ElementalType from the 6 IV parities [HP, Atk, Def, Spe, SpA, SpD] via floor(sum * 15 / 63) across 16 types.
Fields: hiddenPowerTable: ElementalType[] | Methods: HiddenPowerUtil, getHiddenPowerTable, getHiddenPowerType
Move
(root)
Core Moves, Categories & Adapters
Class
—8 / 25Runtime move instance on a Pokémon storing its MoveTemplate, current/max PP, raisedPPStages, and NBT/Codec serialization.
Fields: delegatedProperties: KProperty<Object>[] $$delegatedProperties;, template: MoveTemplate, emit: boolean, observable: SimpleObservable<Move> | Methods: Move, getTemplate, getObservable, getCurrentPp, setCurrentPp
MoveSelector
(root)
Core Moves, Categories & Adapters
Interface
—0 / 1Selection helper for choosing moves by filter/weight inside moveset builders.
Methods: invoke
MoveSet
(root)
Core Moves, Categories & Adapters
Class
—
implements Iterable
5 / 264-slot active moveset container (MOVE_COUNT = 4) with observable mutation callbacks and Codec serialization.
Constants: MOVE_COUNT = 4 | Fields: changeFunction: Function1<? super MoveSet, Unit>, emit: boolean, moves: Move[], 4: int MOVE_COUNT = | Methods: MoveSet, getChangeFunction, setChangeFunction, toStruct, iterator
MoveTemplate
(root)
Core Moves, Categories & Adapters
Class
—14 / 21Immutable blueprint for an official move loaded from Showdown data (name, ElementalType, DamageCategory, power, accuracy, PP, priority, target, flags).
Fields: name: String, num: int, elementalType: ElementalType, damageCategory: DamageCategory | Methods: MoveTemplate, getName, getNum, getElementalType, getDamageCategory
Moves
(root)
Core Moves, Categories & Adapters
Object
—
implements DataRegistry
6 / 16Global DataRegistry holding all MoveTemplate entries indexed by Showdown move name.
Fields: id: ResourceLocation, type: PackType, observable: SimpleObservable<Moves>, allMoves: Map<String, MoveTemplate> | Methods: Moves, getId, getType, getObservable, getMoveScripts$common
MovesetBuilder
(root)
Core Moves, Categories & Adapters
Interface
—0 / 4Interface for generating initial movesets when a Pokémon spawns or is created (e.g. DefaultMovesetBuilder, Alpha moveset builders).
Methods: getId, setId, getType, build
DamageCategoryAdapter
adapters
Core Moves, Categories & Adapters
Object
—
implements JsonSerializer, JsonDeserializer
0 / 3GSON adapter serializing DamageCategory by its string name.
Methods: DamageCategoryAdapter, serialize, deserialize
MoveTemplateAdapter
adapters
Core Moves, Categories & Adapters
Object
—
implements JsonSerializer, JsonDeserializer
0 / 3GSON adapter resolving MoveTemplate references from Showdown move IDs.
Methods: MoveTemplateAdapter, serialize, deserialize
ActionEffectContext
animations
Action Effect Animations & Keyframes
Class
—8 / 14Runtime execution context passed to action-effect keyframes holding providers (users, targets, entities, NPCs) and MoLang runtime.
Fields: actionEffect: ActionEffectTimeline, holds: Set<String>, providers: List<Object>, runtime: MoLangRuntime | Methods: ActionEffectContext, getActionEffect, getHolds, getProviders, getRuntime
ActionEffectTimeline
animations
Action Effect Animations & Keyframes
Class
—3 / 5Ordered sequence of ActionEffectKeyframe entries executed asynchronously during battle moves and world events.
Fields: timeline: List<ActionEffectKeyframe>, condition: ExpressionLike, NONE: ActionEffectTimeline | Methods: ActionEffectTimeline, getTimeline, getCondition, run, chainKeyframes
ActionEffects
animations
Action Effect Animations & Keyframes
Object
—
implements JsonDataRegistry
7 / 12JsonDataRegistry loading all 156 data/cobblemon/action_effects/**/*.json timelines and registering all 17 keyframe JSON types.
Fields: id: ResourceLocation, type: PackType, observable: SimpleObservable<ActionEffects>, gson: Gson | Methods: ActionEffects, getId, getType, getObservable, getGson
EntityProvider
animations
Action Effect Animations & Keyframes
Interface
—0 / 1Context entity/target provider (EntityProvider) supplying references to ActionEffectContext in api/moves/animations.
Methods: getEntities
NPCProvider
animations
Action Effect Animations & Keyframes
Class
—
implements EntityProvider
1 / 2Context entity/target provider (NPCProvider) supplying references to ActionEffectContext in api/moves/animations.
Fields: entities: List<NPCEntity> | Methods: NPCProvider, getEntities
TargetsProvider
animations
Action Effect Animations & Keyframes
Class
—
implements EntityProvider
1 / 2Context entity/target provider (TargetsProvider) supplying references to ActionEffectContext in api/moves/animations.
Fields: entities: List<Entity> | Methods: TargetsProvider, getEntities
UsersProvider
animations
Action Effect Animations & Keyframes
Class
—
implements EntityProvider
1 / 2Context entity/target provider (UsersProvider) supplying references to ActionEffectContext in api/moves/animations.
Fields: entities: List<Entity> | Methods: UsersProvider, getEntities
ActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Interface
—0 / 3Action-effect timeline keyframe class () implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Methods: play, interrupt, skip
AddHoldsActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
1 / 5Action-effect timeline keyframe class (AddHolds) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: holds: Set<String> | Methods: AddHoldsActionEffectKeyframe, getHolds, play, interrupt, skip
AnimationActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe
implements EntityConditionalActionEffectKeyframe
5 / 12Action-effect timeline keyframe class (Animation) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: delay: ExpressionLike, visibilityRange: int, animation: Set<String>, variables: List<? extends Expression> | Methods: AnimationActionEffectKeyframe, getDelay, setDelay, getVisibilityRange, setVisibilityRange
CanInterruptActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe0 / 2Action-effect timeline keyframe class (CanInterrupt) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Methods: CanInterruptActionEffectKeyframe, playWhenTrue
CannotInterruptActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe0 / 2Action-effect timeline keyframe class (CannotInterrupt) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Methods: CannotInterruptActionEffectKeyframe, playWhenTrue
ConditionalActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Abstract
—
implements ActionEffectKeyframe
1 / 7Action-effect timeline keyframe class (Conditional) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: condition: ExpressionLike | Methods: ConditionalActionEffectKeyframe, getCondition, setCondition, play, playWhenTrue
EntityConditionalActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Interface
—0 / 2Action-effect timeline keyframe class (EntityConditional) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Methods: getEntityCondition, test
EntityMoLangActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe
implements EntityConditionalActionEffectKeyframe
4 / 8Action-effect timeline keyframe class (EntityMoLang) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: delay: ExpressionLike, expressions: Set<String>, visibilityRange: int, entityCondition: ExpressionLike | Methods: EntityMoLangActionEffectKeyframe, getDelay, setDelay, getExpressions, getVisibilityRange
EntityParticlesActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe
implements EntityConditionalActionEffectKeyframe
6 / 12Action-effect timeline keyframe class (EntityParticles) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: entityCondition: ExpressionLike, effect: String, locators: List<String>, targetLocators: Set<String> | Methods: EntityParticlesActionEffectKeyframe, getEntityCondition, getEffect, setEffect, getLocators
EntitySoundActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe
implements EntityConditionalActionEffectKeyframe
3 / 7Action-effect timeline keyframe class (EntitySound) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: entityCondition: ExpressionLike, sound: String, delay: ExpressionLike | Methods: EntitySoundActionEffectKeyframe, getEntityCondition, getSound, setSound, getDelay
ForkActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
3 / 7Action-effect timeline keyframe class (Fork) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: condition: ExpressionLike, ifTrue: List<ActionEffectKeyframe>, ifFalse: List<ActionEffectKeyframe> | Methods: ForkActionEffectKeyframe, getCondition, getIfTrue, getIfFalse, play
MoLangActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
2 / 6Action-effect timeline keyframe class (MoLang) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: expressions: ExpressionLike, delay: ExpressionLike | Methods: MoLangActionEffectKeyframe, getExpressions, getDelay, play, interrupt
MoveToTargetActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
4 / 9Action-effect timeline keyframe class (MoveToTarget) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: speed: float, timeout: ExpressionLike, proximity: float, timeoutActionEffect: ResourceLocation | Methods: MoveToTargetActionEffectKeyframe, getSpeed, getTimeout, getProximity, setProximity
ParallelActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe1 / 4Action-effect timeline keyframe class (Parallel) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: keyframes: List<ActionEffectKeyframe> | Methods: ParallelActionEffectKeyframe, getKeyframes, setKeyframes, playWhenTrue
PauseActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe1 / 3Action-effect timeline keyframe class (Pause) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: pause: ExpressionLike | Methods: PauseActionEffectKeyframe, getPause, playWhenTrue
RemoveHoldsActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
2 / 6Action-effect timeline keyframe class (RemoveHolds) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: delay: float, holds: Set<String> | Methods: RemoveHoldsActionEffectKeyframe, getDelay, getHolds, play, interrupt
ReturnToPositionActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
—
implements ActionEffectKeyframe
3 / 7Action-effect timeline keyframe class (ReturnToPosition) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: speed: float, timeout: ExpressionLike, timeoutActionEffect: ResourceLocation | Methods: ReturnToPositionActionEffectKeyframe, getSpeed, getTimeout, getTimeoutActionEffect, play
RunActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe2 / 4Action-effect timeline keyframe class (Run) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: actionEffect: ResourceLocation, waitForActionEffect: boolean | Methods: RunActionEffectKeyframe, getActionEffect, getWaitForActionEffect, playWhenTrue
SavePositionActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe0 / 2Action-effect timeline keyframe class (SavePosition) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Methods: SavePositionActionEffectKeyframe, playWhenTrue
SequenceActionEffectKeyframe
animations.keyframes
Action Effect Animations & Keyframes
Class
ConditionalActionEffectKeyframe1 / 3Action-effect timeline keyframe class (Sequence) implementing ActionEffectKeyframe inside api/moves/animations.keyframes.
Fields: keyframes: List<ActionEffectKeyframe> | Methods: SequenceActionEffectKeyframe, getKeyframes, playWhenTrue
DamageCategories
categories
Core Moves, Categories & Adapters
Object
—4 / 8Registry of the 3 official DamageCategory instances: PHYSICAL, SPECIAL, and STATUS.
Fields: allCategories: List<DamageCategory>, PHYSICAL: DamageCategory, SPECIAL: DamageCategory, STATUS: DamageCategory | Methods: DamageCategories, getPHYSICAL, getSPECIAL, getSTATUS, register
DamageCategory
categories
Core Moves, Categories & Adapters
Class
—4 / 5Data class defining a move damage category (name, translatable displayName, resourceLocation icon).
Fields: name: String, displayName: Component, textureXMultiplier: int, resourceLocation: ResourceLocation | Methods: DamageCategory, getName, getDisplayName, getTextureXMultiplier, getResourceLocation
Abilities
api/abilities
Ability Registry & Pools
Object
—
implements DataRegistry
6 / 16Global registry of all official AbilityTemplate definitions loaded from Showdown data.
Fields: id: ResourceLocation, type: PackType, observable: SimpleObservable<Abilities>, DUMMY: AbilityTemplate | Methods: Abilities, getId, getType, getObservable, getDUMMY
Ability
api/abilities
Ability Registry & Pools
Class
—5 / 17Runtime ability instance attached to a Pokémon referencing its AbilityTemplate, forced flag, and display metadata.
Fields: template: AbilityTemplate, forced: boolean, index: int, priority: Priority | Methods: Ability, getTemplate, setTemplate, getName, getDisplayName
AbilityPool
api/abilities
Ability Registry & Pools
Class
PrioritizedList0 / 2PrioritizedList of PotentialAbility candidates; select() rolls across Priority tiers (HIGHEST..LOWEST) for wild/generated Pokémon.
Methods: AbilityPool, select
AbilityTemplate
api/abilities
Ability Registry & Pools
Class
—5 / 8Immutable blueprint for an ability storing its Showdown name, translation keys, and PotentialAbility factory.
Fields: name: String, builder: Function3<? super AbilityTemplate, ? super Boolean, ? super Priority, ? extends Ability>, displayName: String, description: String | Methods: AbilityTemplate, getName, getBuilder, setBuilder, getDisplayName
CommonAbility
api/abilities
Ability Registry & Pools
Class
—
implements PotentialAbility
3 / 5Standard Ability implementation representing a normal non-hidden ability slot.
Fields: template: AbilityTemplate, priority: Priority, type: CommonAbilityType | Methods: CommonAbility, getTemplate, getPriority, getType, isSatisfiedBy
CommonAbilityType
api/abilities
Ability Registry & Pools
Object
—
implements PotentialAbilityType
0 / 2PotentialAbilityType descriptor for standard ability entries in species JSON.
Methods: CommonAbilityType, parseFromJSON
PotentialAbility
api/abilities
Ability Registry & Pools
Interface
—0 / 4Interface representing an ability candidate inside a species AbilityPool with its Priority tier and type.
Methods: getTemplate, getPriority, getType, isSatisfiedBy
PotentialAbilityType
api/abilities
Ability Registry & Pools
Interface
PotentialAbility>0 / 1Descriptor interface classifying PotentialAbility variants (common vs hidden ability types).
Methods: parseFromJSON
PersistentStatus
(root)
Status Conditions & Out-of-Battle Ticks
Class
Status2 / 6Base class for persistent out-of-battle status conditions with cobblemon:* ID, showdownName, messages, defaultDuration (180–300s), and onSecondPassed() hook.
Fields: defaultDuration: IntRange, CODEC: Codec<PersistentStatus> | Methods: PersistentStatus, onStatusExpire, onSecondPassed, statusPeriod, configEntry
PersistentStatusContainer
(root)
Status Conditions & Out-of-Battle Ticks
Class
—3 / 9Wrapper attached to a Pokémon storing its active PersistentStatus and remaining seconds timer.
Fields: status: PersistentStatus, secondsLeft: int, CODEC: Codec<PersistentStatusContainer> | Methods: PersistentStatusContainer, getStatus, getSecondsLeft, setSecondsLeft, isExpired
VolatileStatus
(root)
Status Conditions & Out-of-Battle Ticks
Class
Status0 / 1Base class for non-persistent battle-only status conditions (attract, confusion) that clear when switching or ending battle.
Methods: VolatileStatus
AttractStatus
statuses.nonpersistent
Status Conditions & Out-of-Battle Ticks
Class
VolatileStatus0 / 1Volatile infatuation status (cobblemon:attract, Showdown 'attract') used in battle.
Methods: AttractStatus
ConfuseStatus
statuses.nonpersistent
Status Conditions & Out-of-Battle Ticks
Class
VolatileStatus0 / 1Volatile confusion status (cobblemon:confused, Showdown 'confusion') used in battle.
Methods: ConfuseStatus
BurnStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 1Persistent burn status (cobblemon:burn, Showdown 'brn', defaultDuration 180–300s).
Methods: BurnStatus
FrozenStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 1Persistent freeze status (cobblemon:frozen, Showdown 'frz', defaultDuration 180–300s).
Methods: FrozenStatus
ParalysisStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 1Persistent paralysis status (cobblemon:paralysis, Showdown 'par', defaultDuration 180–300s).
Methods: ParalysisStatus
PoisonBadlyStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 2Persistent toxic poison (cobblemon:poisonbadly, 'tox', 180–300s): 1/15 chance per second out of battle to deal max(1, rint(maxHP * 0.10)) damage — or heal & cure at full HP with Poison Heal.
Methods: PoisonBadlyStatus, onSecondPassed
PoisonStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 2Persistent poison (cobblemon:poison, 'psn', 180–300s): 1/15 chance per second out of battle to deal max(1, rint(maxHP * 0.05)) damage — or heal & cure at full HP with Poison Heal.
Methods: PoisonStatus, onSecondPassed
SleepStatus
statuses.persistent
Status Conditions & Out-of-Battle Ticks
Class
PersistentStatus0 / 1Persistent sleep status (cobblemon:sleep, Showdown 'slp', defaultDuration 180–300s).
Methods: SleepStatus