Cobblemon 1.8.4 Battle Engine & Interactive Items Reference

Cobblemon 1.8.4 Showdown Battle Protocol (80 Tokens) & Interactive Items (25)

Bytecode-verified breakdown of ShowdownInterpreter.class inside Cobblemon 1.8.4: all 80 unique Showdown protocol tokens (81 static map puts across updateInstructionParser, splitInstructionParser, and sideInstructionParser) mapping to 65/67 instruction classes in battles/interpreter/instructions/, plus all 25 interactive item classes in item/interactive/.

Unique Protocol Tokens
80 (81 Static Puts)
Parser Map Split
73 Update · 5 Split · 2 Side
Instruction Classes
67 Total (65 Mapped · 2 Internal)
Interactive Item Classes
25 (item/interactive/)

Browse All 80 Showdown Battle Interpreter Tokens

Showdown Mod v19 →
Interpreter Parser Map
Battle Protocol Category
Ignored Update Tokens|split|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|player|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|teamsize|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|gametype|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|gen|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|tier|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|rated|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|clearpoke|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|poke|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|teampreview|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Update Parser|start|

Dispatched by updateInstructionParser → InitializeInstruction (Turn, Control & Cobblemon Hooks).

Fields (2): instructionSet (InstructionSet), message (BattleMessage)

Bytecode Note: Registered in ignored list first, then overwritten by InitializeInstruction in ShowdownInterpreter.<clinit>.

InitializeInstructionShowdown Mod →
Ignored Update Tokens|rule|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|t:|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens · Cobblemon Custom|capture|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Ignored Update Tokens|-anim|

Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).

IgnoredInstructionShowdown Mod →
Update Parser|-ability|

Dispatched by updateInstructionParser → AbilityInstruction (Boosts, Status, Ability & Items).

Fields (2): instructionSet (InstructionSet), message (BattleMessage)

AbilityInstructionShowdown Mod →
Update Parser|-activate|

Dispatched by updateInstructionParser → ActivateInstruction (Field, Side Conditions & Gimmicks).

Fields (5): instructionSet (InstructionSet), message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>) (+1 more)

ActivateInstructionShowdown Mod →
Update Parser · Cobblemon Custom|bagitem|

Dispatched by updateInstructionParser → BagItemInstruction (Turn, Control & Cobblemon Hooks).

Fields (1): message (BattleMessage)

BagItemInstructionShowdown Mod →
Update Parser|-boost|

Dispatched by updateInstructionParser → BoostInstruction (Boosts, Status, Ability & Items).

Fields (9): message (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>) (+5 more)

BoostInstructionShowdown Mod →
Update Parser|-block|

Dispatched by updateInstructionParser → BlockInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

BlockInstructionShowdown Mod →
Update Parser|cant|

Dispatched by updateInstructionParser → CantInstruction (Turn, Control & Cobblemon Hooks).

Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)

CantInstructionShowdown Mod →
Update Parser|-center|

Dispatched by updateInstructionParser → CenterInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

CenterInstructionShowdown Mod →
Update Parser|-clearallboost|

Dispatched by updateInstructionParser → ClearAllBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

ClearAllBoostInstructionShowdown Mod →
Update Parser|-clearnegativeboost|

Dispatched by updateInstructionParser → ClearNegativeBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

ClearNegativeBoostInstructionShowdown Mod →
Update Parser|-clearboost|

Dispatched by updateInstructionParser → ClearBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

ClearBoostInstructionShowdown Mod →
Update Parser|-combine|

Dispatched by updateInstructionParser → CombineInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

CombineInstructionShowdown Mod →
Update Parser|-copyboost|

Dispatched by updateInstructionParser → CopyBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

CopyBoostInstructionShowdown Mod →
Update Parser|-crit|

Dispatched by updateInstructionParser → CritInstruction (Damage, HP & Effectiveness).

Fields (2): message (BattleMessage), instructionSet (InstructionSet)

CritInstructionShowdown Mod →
Update Parser|-curestatus|

Dispatched by updateInstructionParser → CureStatusInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

CureStatusInstructionShowdown Mod →
Update Parser|detailschange|

Dispatched by updateInstructionParser → FormeChangeInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

FormeChangeInstructionShowdown Mod →
Update Parser|-endability|

Dispatched by updateInstructionParser → EndAbilityInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

EndAbilityInstructionShowdown Mod →
Update Parser|-end|

Dispatched by updateInstructionParser → EndInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

EndInstructionShowdown Mod →
Update Parser|-enditem|

Dispatched by updateInstructionParser → EndItemInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

EndItemInstructionShowdown Mod →
Update Parser|-fail|

Dispatched by updateInstructionParser → FailInstruction (Turn, Control & Cobblemon Hooks).

Fields (3): battle (PokemonBattle), message (BattleMessage), target (BattlePokemon)

FailInstructionShowdown Mod →
Update Parser|faint|

Dispatched by updateInstructionParser → FaintInstruction (Damage, HP & Effectiveness).

Fields (3): message (BattleMessage), waitTime (float), faintingPokemon (BattlePokemon)

FaintInstructionShowdown Mod →
Update Parser|-fieldactivate|

Dispatched by updateInstructionParser → FieldActivateInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

FieldActivateInstructionShowdown Mod →
Update Parser|-fieldend|

Dispatched by updateInstructionParser → FieldEndInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

FieldEndInstructionShowdown Mod →
Update Parser|-fieldstart|

Dispatched by updateInstructionParser → FieldStartInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

FieldStartInstructionShowdown Mod →
Update Parser|-formechange|

Dispatched by updateInstructionParser → FormeChangeInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

FormeChangeInstructionShowdown Mod →
Update Parser|-hitcount|

Dispatched by updateInstructionParser → HitCountInstruction (Damage, HP & Effectiveness).

Fields (2): message (BattleMessage), hitCount (Integer)

HitCountInstructionShowdown Mod →
Update Parser|-immune|

Dispatched by updateInstructionParser → ImmuneInstruction (Damage, HP & Effectiveness).

Fields (1): message (BattleMessage)

ImmuneInstructionShowdown Mod →
Update Parser|-invertboost|

Dispatched by updateInstructionParser → InvertBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

InvertBoostInstructionShowdown Mod →
Update Parser|-item|

Dispatched by updateInstructionParser → ItemInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

ItemInstructionShowdown Mod →
Update Parser|-mega|

Dispatched by updateInstructionParser → MegaInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

MegaInstructionShowdown Mod →
Update Parser|-miss|

Dispatched by updateInstructionParser → MissInstruction (Turn, Control & Cobblemon Hooks).

Fields (3): battle (PokemonBattle), message (BattleMessage), target (BattlePokemon)

MissInstructionShowdown Mod →
Update Parser|move|

Dispatched by updateInstructionParser → MoveInstruction (Moves, Switches & Targeting).

Fields (9): instructionSet (InstructionSet), message (BattleMessage), effect (Effect), move (MoveTemplate) (+5 more)

MoveInstructionShowdown Mod →
Update Parser|-nothing|

Dispatched by updateInstructionParser → NothingInstruction (Turn, Control & Cobblemon Hooks).

NothingInstructionShowdown Mod →
Update Parser · Cobblemon Custom|pp_update|

Dispatched by updateInstructionParser → PpUpdateInstruction (Turn, Control & Cobblemon Hooks).

Fields (1): message (BattleMessage)

PpUpdateInstructionShowdown Mod →
Update Parser|-prepare|

Dispatched by updateInstructionParser → PrepareInstruction (Moves, Switches & Targeting).

Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)

PrepareInstructionShowdown Mod →
Update Parser|-mustrecharge|

Dispatched by updateInstructionParser → RechargeInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

RechargeInstructionShowdown Mod →
Update Parser|replace|

Dispatched by updateInstructionParser → ReplaceInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

ReplaceInstructionShowdown Mod →
Update Parser|-resisted|

Dispatched by updateInstructionParser → ResistedInstruction (Damage, HP & Effectiveness).

Fields (2): publicMessage (BattleMessage), instructionSet (InstructionSet)

ResistedInstructionShowdown Mod →
Update Parser|-setboost|

Dispatched by updateInstructionParser → SetBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

SetBoostInstructionShowdown Mod →
Update Parser|-sideend|

Dispatched by updateInstructionParser → SideEndInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

SideEndInstructionShowdown Mod →
Update Parser|-sidestart|

Dispatched by updateInstructionParser → SideStartInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

SideStartInstructionShowdown Mod →
Update Parser|-singlemove|

Dispatched by updateInstructionParser → SingleMoveInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

SingleMoveInstructionShowdown Mod →
Update Parser|-singleturn|

Dispatched by updateInstructionParser → SingleTurnInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

SingleTurnInstructionShowdown Mod →
Update Parser|-start|

Dispatched by updateInstructionParser → StartInstruction (Field, Side Conditions & Gimmicks).

Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)

StartInstructionShowdown Mod →
Update Parser|-status|

Dispatched by updateInstructionParser → StatusInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

StatusInstructionShowdown Mod →
Update Parser|-supereffective|

Dispatched by updateInstructionParser → SuperEffectiveInstruction (Damage, HP & Effectiveness).

Fields (2): message (BattleMessage), instructionSet (InstructionSet)

SuperEffectiveInstructionShowdown Mod →
Update Parser|swap|

Dispatched by updateInstructionParser → SwapInstruction (Moves, Switches & Targeting).

Fields (2): message (BattleMessage), instructionSet (InstructionSet)

SwapInstructionShowdown Mod →
Update Parser|-swapboost|

Dispatched by updateInstructionParser → SwapBoostInstruction (Boosts, Status, Ability & Items).

Fields (1): message (BattleMessage)

SwapBoostInstructionShowdown Mod →
Update Parser|-swapsideconditions|

Dispatched by updateInstructionParser → SwapSideConditionsInstruction (Moves, Switches & Targeting).

Fields (1): message (BattleMessage)

SwapSideConditionsInstructionShowdown Mod →
Update Parser|-terastallize|

Dispatched by updateInstructionParser → TerastallizeInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

TerastallizeInstructionShowdown Mod →
Update Parser|-transform|

Dispatched by updateInstructionParser → TransformInstruction (Field, Side Conditions & Gimmicks).

Fields (3): battle (PokemonBattle), message (BattleMessage), expectedTarget (BattlePokemon)

TransformInstructionShowdown Mod →
Update Parser|turn|

Dispatched by updateInstructionParser → TurnInstruction (Turn, Control & Cobblemon Hooks).

Fields (1): message (BattleMessage)

TurnInstructionShowdown Mod →
Update Parser|-unboost|

Dispatched by updateInstructionParser → BoostInstruction (Boosts, Status, Ability & Items).

Fields (9): message (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>) (+5 more)

BoostInstructionShowdown Mod →
Update Parser|upkeep|

Dispatched by updateInstructionParser → UpkeepInstruction (Turn, Control & Cobblemon Hooks).

UpkeepInstructionShowdown Mod →
Update Parser|-waiting|

Dispatched by updateInstructionParser → WaitingInstruction (Turn, Control & Cobblemon Hooks).

Fields (1): message (BattleMessage)

WaitingInstructionShowdown Mod →
Update Parser|-weather|

Dispatched by updateInstructionParser → WeatherInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

WeatherInstructionShowdown Mod →
Update Parser|win|

Dispatched by updateInstructionParser → WinInstruction (Turn, Control & Cobblemon Hooks).

Fields (1): message (BattleMessage)

WinInstructionShowdown Mod →
Update Parser|-zbroken|

Dispatched by updateInstructionParser → ZBrokenInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

ZBrokenInstructionShowdown Mod →
Update Parser|-zpower|

Dispatched by updateInstructionParser → ZPowerInstruction (Field, Side Conditions & Gimmicks).

Fields (1): message (BattleMessage)

ZPowerInstructionShowdown Mod →
Split & Side Parsers|error|

Dispatched by sideInstructionParser → ErrorInstruction (Turn, Control & Cobblemon Hooks).

Fields (2): battleActor (BattleActor), message (BattleMessage)

ErrorInstructionShowdown Mod →
Split & Side Parsers|request|

Dispatched by sideInstructionParser → RequestInstruction (Turn, Control & Cobblemon Hooks).

Fields (2): battleActor (BattleActor), message (BattleMessage)

RequestInstructionShowdown Mod →
Split & Side Parsers|-damage|

Dispatched by splitInstructionParser → DamageInstruction (Damage, HP & Effectiveness).

Fields (8): instructionSet (InstructionSet), actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage) (+4 more)

DamageInstructionShowdown Mod →
Split & Side Parsers|drag|

Dispatched by splitInstructionParser → DragInstruction (Moves, Switches & Targeting).

Fields (4): instructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)

DragInstructionShowdown Mod →
Split & Side Parsers|-heal|

Dispatched by splitInstructionParser → HealInstruction (Damage, HP & Effectiveness).

Fields (3): actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)

HealInstructionShowdown Mod →
Split & Side Parsers|-sethp|

Dispatched by splitInstructionParser → SetHpInstruction (Damage, HP & Effectiveness).

Fields (3): actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)

SetHpInstructionShowdown Mod →
Split & Side Parsers|switch|

Dispatched by splitInstructionParser → SwitchInstruction (Moves, Switches & Targeting).

Fields (4): instructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)

SwitchInstructionShowdown Mod →

Complete 80-Token ShowdownInterpreter Dispatch Table

Protocol TokenParser MapInstruction ClassCategoryBytecode FieldsNotes
|split|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|player|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|teamsize|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|gametype|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|gen|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|tier|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|rated|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|clearpoke|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|poke|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|teampreview|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|start|updateInstructionParserInitializeInstructionTurn, Control & Cobblemon HooksinstructionSet (InstructionSet), message (BattleMessage)Registered in ignored list first, then overwritten by InitializeInstruction in ShowdownInterpreter.<clinit>.
|rule|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|t:|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|capture|updateInstructionParserIgnoredInstructionIgnored / Metadata—Cobblemon-specific protocol hook
|-anim|updateInstructionParserIgnoredInstructionIgnored / Metadata——
|-ability|updateInstructionParserAbilityInstructionBoosts, Status, Ability & ItemsinstructionSet (InstructionSet), message (BattleMessage)—
|-activate|updateInstructionParserActivateInstructionField, Side Conditions & GimmicksinstructionSet (InstructionSet), message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)—
|bagitem|updateInstructionParserBagItemInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage)Cobblemon-specific protocol hook
|-boost|updateInstructionParserBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation), pokemon (BattlePokemon), statKey (String), stages (int), stat (Component)—
|-block|updateInstructionParserBlockInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|cant|updateInstructionParserCantInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)—
|-center|updateInstructionParserCenterInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|-clearallboost|updateInstructionParserClearAllBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-clearnegativeboost|updateInstructionParserClearNegativeBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-clearboost|updateInstructionParserClearBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-combine|updateInstructionParserCombineInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|-copyboost|updateInstructionParserCopyBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-crit|updateInstructionParserCritInstructionDamage, HP & Effectivenessmessage (BattleMessage), instructionSet (InstructionSet)—
|-curestatus|updateInstructionParserCureStatusInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|detailschange|updateInstructionParserFormeChangeInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-endability|updateInstructionParserEndAbilityInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-end|updateInstructionParserEndInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-enditem|updateInstructionParserEndItemInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-fail|updateInstructionParserFailInstructionTurn, Control & Cobblemon Hooksbattle (PokemonBattle), message (BattleMessage), target (BattlePokemon)—
|faint|updateInstructionParserFaintInstructionDamage, HP & Effectivenessmessage (BattleMessage), waitTime (float), faintingPokemon (BattlePokemon)—
|-fieldactivate|updateInstructionParserFieldActivateInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-fieldend|updateInstructionParserFieldEndInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-fieldstart|updateInstructionParserFieldStartInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-formechange|updateInstructionParserFormeChangeInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-hitcount|updateInstructionParserHitCountInstructionDamage, HP & Effectivenessmessage (BattleMessage), hitCount (Integer)—
|-immune|updateInstructionParserImmuneInstructionDamage, HP & Effectivenessmessage (BattleMessage)—
|-invertboost|updateInstructionParserInvertBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-item|updateInstructionParserItemInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-mega|updateInstructionParserMegaInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-miss|updateInstructionParserMissInstructionTurn, Control & Cobblemon Hooksbattle (PokemonBattle), message (BattleMessage), target (BattlePokemon)—
|move|updateInstructionParserMoveInstructionMoves, Switches & TargetinginstructionSet (InstructionSet), message (BattleMessage), effect (Effect), move (MoveTemplate), spreadTargets (List<String>), future (concurrent.CompletableFuture<Unit>), holds (Set<String>), userPokemon (BattlePokemon), targetPokemon (BattlePokemon)—
|-nothing|updateInstructionParserNothingInstructionTurn, Control & Cobblemon Hooks——
|pp_update|updateInstructionParserPpUpdateInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage)Cobblemon-specific protocol hook
|-prepare|updateInstructionParserPrepareInstructionMoves, Switches & Targetingmessage (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)—
|-mustrecharge|updateInstructionParserRechargeInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|replace|updateInstructionParserReplaceInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|-resisted|updateInstructionParserResistedInstructionDamage, HP & EffectivenesspublicMessage (BattleMessage), instructionSet (InstructionSet)—
|-setboost|updateInstructionParserSetBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-sideend|updateInstructionParserSideEndInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-sidestart|updateInstructionParserSideStartInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-singlemove|updateInstructionParserSingleMoveInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|-singleturn|updateInstructionParserSingleTurnInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-start|updateInstructionParserStartInstructionField, Side Conditions & Gimmicksmessage (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)—
|-status|updateInstructionParserStatusInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-supereffective|updateInstructionParserSuperEffectiveInstructionDamage, HP & Effectivenessmessage (BattleMessage), instructionSet (InstructionSet)—
|swap|updateInstructionParserSwapInstructionMoves, Switches & Targetingmessage (BattleMessage), instructionSet (InstructionSet)—
|-swapboost|updateInstructionParserSwapBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage)—
|-swapsideconditions|updateInstructionParserSwapSideConditionsInstructionMoves, Switches & Targetingmessage (BattleMessage)—
|-terastallize|updateInstructionParserTerastallizeInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-transform|updateInstructionParserTransformInstructionField, Side Conditions & Gimmicksbattle (PokemonBattle), message (BattleMessage), expectedTarget (BattlePokemon)—
|turn|updateInstructionParserTurnInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage)—
|-unboost|updateInstructionParserBoostInstructionBoosts, Status, Ability & Itemsmessage (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation), pokemon (BattlePokemon), statKey (String), stages (int), stat (Component)—
|upkeep|updateInstructionParserUpkeepInstructionTurn, Control & Cobblemon Hooks——
|-waiting|updateInstructionParserWaitingInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage)—
|-weather|updateInstructionParserWeatherInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|win|updateInstructionParserWinInstructionTurn, Control & Cobblemon Hooksmessage (BattleMessage)—
|-zbroken|updateInstructionParserZBrokenInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|-zpower|updateInstructionParserZPowerInstructionField, Side Conditions & Gimmicksmessage (BattleMessage)—
|error|sideInstructionParserErrorInstructionTurn, Control & Cobblemon HooksbattleActor (BattleActor), message (BattleMessage)—
|request|sideInstructionParserRequestInstructionTurn, Control & Cobblemon HooksbattleActor (BattleActor), message (BattleMessage)—
|-damage|splitInstructionParserDamageInstructionDamage, HP & EffectivenessinstructionSet (InstructionSet), actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage), expectedTarget (BattlePokemon), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)—
|drag|splitInstructionParserDragInstructionMoves, Switches & TargetinginstructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)—
|-heal|splitInstructionParserHealInstructionDamage, HP & Effectivenessactor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)—
|-sethp|splitInstructionParserSetHpInstructionDamage, HP & Effectivenessactor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)—
|switch|splitInstructionParserSwitchInstructionMoves, Switches & TargetinginstructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)—

Key Bytecode Observations In ShowdownInterpreter.class:

  • |start| in updateInstructionParser: initially placed in the ignored array (IgnoredInstruction), then overwritten by InitializeInstruction — explaining why 81 puts produce 80 unique keys.
  • PostUpdateInstruction — internal instruction class not bound to a single protocol string in ShowdownInterpreter.<clinit>.
  • UnknownInstruction — internal instruction class not bound to a single protocol string in ShowdownInterpreter.<clinit>.
  • Cobblemon adds custom protocol tokens bagitem (BagItemInstruction) and pp_update (PPUpdateInstruction); capture is explicitly bound to IgnoredInstruction in updateInstructionParser.

All 25 Interactive Pokémon Item Classes (item/interactive/)

13 Data Components →

Every consumable, EV/IV training item, medicine, PP restorative, and evolution utility applied directly to a Pokémon in Cobblemon 1.8.4 is implemented across these 25 classes (base 1.8.4 has 12 HyperTrainingItem IV Candies and no Bottle Caps):

Interactive Item ClassCobblemonItems FieldsBytecode FieldsVerified Mechanics
BerryJuiceItem1
BERRY_JUICE
bagItem (BagItem)Heals 20 HP on a selected Pokémon (also usable as an in-battle BagItem).
CandyItem6
RARE_CANDY, EXPERIENCE_CANDY_XS, EXPERIENCE_CANDY_S, EXPERIENCE_CANDY_M...
item_rarity (Rarity), calculator (CandyItem.Calculator), bagItem (Void)Grants fixed XP (XS 100 · S 800 · M 3,000 · L 10,000 · XL 30,000) or +1 level (Rare Candy); triggers evolution checks.
EVIncreaseItem0—Shared interface for EV-boosting interactive items (VitaminItem, MochiItem, FeatherItem) respecting the 252/stat & 510 total caps.
ElixirItem2
ELIXIR, MAX_ELIXIR
max (boolean), bagItem (BagItem)Restores 10 PP to all moves (Elixir, max=false) or full PP to all moves (Max Elixir, max=true); usable in battle.
EnergyRootItem0runtime (MoLangRuntime), bagItem (BagItem)Heals 120 HP (RemedyItem) and lowers Friendship per data/cobblemon/mechanics/remedies.json.
EtherItem2
ETHER, MAX_ETHER
max (boolean), bagItem (BagItem)Restores 10 PP to one selected move (Ether, max=false) or full PP (Max Ether, max=true); usable in battle.
FeatherItem6
GENIUS_FEATHER, SWIFT_FEATHER, HEALTH_FEATHER, RESIST_FEATHER...
stat (Stat), evIncreaseAmount (int)Increases a single target stat's EV by +1 (Health, Muscle, Resist, Genius, Clever, Swift Feather).
FreshStartMochiItem1
FRESH_START_MOCHI
bagItem (Void)Resets all 6 EV stats of the selected Pokémon back to 0 (no in-battle use).
HealPowderItem1
HEAL_POWDER
bagItem (BagItem), runtime (MoLangRuntime)Cures persistent status conditions and lowers Friendship per mechanics/remedies.json.
HyperTrainingItem12
HEALTH_CANDY, MIGHTY_CANDY, TOUGH_CANDY, SMART_CANDY...
ivIncreaseAmount (int), targetStats (Set<Stat>), validRange (IntRange), bagItem (Void)Adjusts a target stat's effective Hyper Trained IV within 0..31 by +1 (6 positive IV Candies) or -1 (6 negative IV Candies).
LinkCableItem1
LINK_CABLE
accepted (Set<PokemonEntityInteraction.Ownership>)Triggers trade evolutions (TradeEvolution) on a single Pokémon without trading to another player.
MintItem21
LONELY_MINT, ADAMANT_MINT, NAUGHTY_MINT, BRAVE_MINT...
nature (Nature), bagItem (Void)Changes a Pokémon's minted Nature stat modifiers (21 Mints registered in jar: 20 stat-modifying + Serious Mint).
MochiItem6
HEALTH_MOCHI, MUSCLE_MOCHI, RESIST_MOCHI, GENIUS_MOCHI...
stat (Stat), evIncreaseAmount (int)Increases a single target stat's EV by +10 (6 Campfire Pot shapeless EV Mochis).
PPUpItem2
PP_UP, PP_MAX
amount (int), bagItem (Void)Raises a move's raisedPPStages by +1 (PP Up, +20% base PP) or to +3 max (PP Max, +60% base PP).
PokerodItem48
POKE_ROD, CITRINE_ROD, VERDANT_ROD, AZURE_ROD...
pokeRodId (ResourceLocation)Cobblemon Poké Rod item supporting attached SpawnBait components, 256 durability, and enchantability 1.
PonigiriItem1
PONIGIRI
—Edible cooked food item (stack size 64, base nutrition 2, saturation 0.55) enhanced via seasoning food/mob_effects components.
PotionItem5
POTION, SUPER_POTION, HYPER_POTION, MAX_POTION...
type (PotionType), bagItem (PotionType)Heals a selected Pokémon according to its PotionType (Potion 20 · Super 60 · Hyper 120 · Max full · Full Restore full + status).
PotionType0amountToHeal (Function0<ExpressionLike>), curesStatus (boolean)Enum backing PotionItem values and in-battle BagItem behavior.
RemedyItem0remedyStrength (String), bagItem (BagItem)Herbal medicine healing HP (Remedy 20 · Fine Remedy 60 · Superb Remedy 100) while reducing Friendship per mechanics/remedies.json.
ReviveItem2
REVIVE, MAX_REVIVE
max (boolean), bagItem (BagItem)Revives a fainted Pokémon at half HP (Revive) or full HP (Max Revive); usable in battle.
StatusCureItem6
FULL_HEAL, ANTIDOTE, AWAKENING, BURN_HEAL...
itemName (String), status (Status[]), bagItem (BagItem)Cures a specific persistent status (Antidote, Burn Heal, Ice Heal, Awakening, Paralyze Heal) or all statuses (Full Heal).
TechnicalMachineItem1
TECHNICAL_MACHINE
accepted (Set<PokemonEntityInteraction.Ownership>), sound (SoundEvent)Teaches the move stored in its cobblemon:tm_move Data Component to an eligible Pokémon.
VitaminItem6
CALCIUM, CARBOS, HP_UP, IRON...
stat (Stat), evIncreaseAmount (int)Placeable BlockItem increasing a single target stat's EV by +10 (HP Up, Protein, Iron, Calcium, Zinc, Carbos).
AbilityChangeItem0changer (AbilityChanger<T>), accepted (Set<PokemonEntityInteraction.Ownership>)Item base for Ability Capsule / Ability Patch applying an AbilityTypeChanger to a selected Pokémon.
AbilityTypeChanger0type (PotentialAbilityType<T>), supportsChangingFrom (Function1<PotentialAbilityType<?>, Boolean>)Interface defining how an AbilityChangeItem checks eligibility and switches standard vs Hidden Ability.