|split|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →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/.
item/interactive/)|split|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|player|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|teamsize|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|gametype|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|gen|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|tier|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|rated|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|clearpoke|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|poke|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|teampreview|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|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 →|rule|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|t:|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|capture|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|-anim|Dispatched by updateInstructionParser → IgnoredInstruction (Ignored / Metadata).
IgnoredInstructionShowdown Mod →|-ability|Dispatched by updateInstructionParser → AbilityInstruction (Boosts, Status, Ability & Items).
Fields (2): instructionSet (InstructionSet), message (BattleMessage)
AbilityInstructionShowdown Mod →|-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 →|bagitem|Dispatched by updateInstructionParser → BagItemInstruction (Turn, Control & Cobblemon Hooks).
Fields (1): message (BattleMessage)
BagItemInstructionShowdown Mod →|-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 →|-block|Dispatched by updateInstructionParser → BlockInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
BlockInstructionShowdown Mod →|cant|Dispatched by updateInstructionParser → CantInstruction (Turn, Control & Cobblemon Hooks).
Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)
CantInstructionShowdown Mod →|-center|Dispatched by updateInstructionParser → CenterInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
CenterInstructionShowdown Mod →|-clearallboost|Dispatched by updateInstructionParser → ClearAllBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
ClearAllBoostInstructionShowdown Mod →|-clearnegativeboost|Dispatched by updateInstructionParser → ClearNegativeBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
ClearNegativeBoostInstructionShowdown Mod →|-clearboost|Dispatched by updateInstructionParser → ClearBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
ClearBoostInstructionShowdown Mod →|-combine|Dispatched by updateInstructionParser → CombineInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
CombineInstructionShowdown Mod →|-copyboost|Dispatched by updateInstructionParser → CopyBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
CopyBoostInstructionShowdown Mod →|-crit|Dispatched by updateInstructionParser → CritInstruction (Damage, HP & Effectiveness).
Fields (2): message (BattleMessage), instructionSet (InstructionSet)
CritInstructionShowdown Mod →|-curestatus|Dispatched by updateInstructionParser → CureStatusInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
CureStatusInstructionShowdown Mod →|detailschange|Dispatched by updateInstructionParser → FormeChangeInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
FormeChangeInstructionShowdown Mod →|-endability|Dispatched by updateInstructionParser → EndAbilityInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
EndAbilityInstructionShowdown Mod →|-end|Dispatched by updateInstructionParser → EndInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
EndInstructionShowdown Mod →|-enditem|Dispatched by updateInstructionParser → EndItemInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
EndItemInstructionShowdown Mod →|-fail|Dispatched by updateInstructionParser → FailInstruction (Turn, Control & Cobblemon Hooks).
Fields (3): battle (PokemonBattle), message (BattleMessage), target (BattlePokemon)
FailInstructionShowdown Mod →|faint|Dispatched by updateInstructionParser → FaintInstruction (Damage, HP & Effectiveness).
Fields (3): message (BattleMessage), waitTime (float), faintingPokemon (BattlePokemon)
FaintInstructionShowdown Mod →|-fieldactivate|Dispatched by updateInstructionParser → FieldActivateInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
FieldActivateInstructionShowdown Mod →|-fieldend|Dispatched by updateInstructionParser → FieldEndInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
FieldEndInstructionShowdown Mod →|-fieldstart|Dispatched by updateInstructionParser → FieldStartInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
FieldStartInstructionShowdown Mod →|-formechange|Dispatched by updateInstructionParser → FormeChangeInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
FormeChangeInstructionShowdown Mod →|-hitcount|Dispatched by updateInstructionParser → HitCountInstruction (Damage, HP & Effectiveness).
Fields (2): message (BattleMessage), hitCount (Integer)
HitCountInstructionShowdown Mod →|-immune|Dispatched by updateInstructionParser → ImmuneInstruction (Damage, HP & Effectiveness).
Fields (1): message (BattleMessage)
ImmuneInstructionShowdown Mod →|-invertboost|Dispatched by updateInstructionParser → InvertBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
InvertBoostInstructionShowdown Mod →|-item|Dispatched by updateInstructionParser → ItemInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
ItemInstructionShowdown Mod →|-mega|Dispatched by updateInstructionParser → MegaInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
MegaInstructionShowdown Mod →|-miss|Dispatched by updateInstructionParser → MissInstruction (Turn, Control & Cobblemon Hooks).
Fields (3): battle (PokemonBattle), message (BattleMessage), target (BattlePokemon)
MissInstructionShowdown Mod →|move|Dispatched by updateInstructionParser → MoveInstruction (Moves, Switches & Targeting).
Fields (9): instructionSet (InstructionSet), message (BattleMessage), effect (Effect), move (MoveTemplate) (+5 more)
MoveInstructionShowdown Mod →|-nothing|Dispatched by updateInstructionParser → NothingInstruction (Turn, Control & Cobblemon Hooks).
NothingInstructionShowdown Mod →|pp_update|Dispatched by updateInstructionParser → PpUpdateInstruction (Turn, Control & Cobblemon Hooks).
Fields (1): message (BattleMessage)
PpUpdateInstructionShowdown Mod →|-prepare|Dispatched by updateInstructionParser → PrepareInstruction (Moves, Switches & Targeting).
Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)
PrepareInstructionShowdown Mod →|-mustrecharge|Dispatched by updateInstructionParser → RechargeInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
RechargeInstructionShowdown Mod →|replace|Dispatched by updateInstructionParser → ReplaceInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
ReplaceInstructionShowdown Mod →|-resisted|Dispatched by updateInstructionParser → ResistedInstruction (Damage, HP & Effectiveness).
Fields (2): publicMessage (BattleMessage), instructionSet (InstructionSet)
ResistedInstructionShowdown Mod →|-setboost|Dispatched by updateInstructionParser → SetBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
SetBoostInstructionShowdown Mod →|-sideend|Dispatched by updateInstructionParser → SideEndInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
SideEndInstructionShowdown Mod →|-sidestart|Dispatched by updateInstructionParser → SideStartInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
SideStartInstructionShowdown Mod →|-singlemove|Dispatched by updateInstructionParser → SingleMoveInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
SingleMoveInstructionShowdown Mod →|-singleturn|Dispatched by updateInstructionParser → SingleTurnInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
SingleTurnInstructionShowdown Mod →|-start|Dispatched by updateInstructionParser → StartInstruction (Field, Side Conditions & Gimmicks).
Fields (4): message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation)
StartInstructionShowdown Mod →|-status|Dispatched by updateInstructionParser → StatusInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
StatusInstructionShowdown Mod →|-supereffective|Dispatched by updateInstructionParser → SuperEffectiveInstruction (Damage, HP & Effectiveness).
Fields (2): message (BattleMessage), instructionSet (InstructionSet)
SuperEffectiveInstructionShowdown Mod →|swap|Dispatched by updateInstructionParser → SwapInstruction (Moves, Switches & Targeting).
Fields (2): message (BattleMessage), instructionSet (InstructionSet)
SwapInstructionShowdown Mod →|-swapboost|Dispatched by updateInstructionParser → SwapBoostInstruction (Boosts, Status, Ability & Items).
Fields (1): message (BattleMessage)
SwapBoostInstructionShowdown Mod →|-swapsideconditions|Dispatched by updateInstructionParser → SwapSideConditionsInstruction (Moves, Switches & Targeting).
Fields (1): message (BattleMessage)
SwapSideConditionsInstructionShowdown Mod →|-terastallize|Dispatched by updateInstructionParser → TerastallizeInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
TerastallizeInstructionShowdown Mod →|-transform|Dispatched by updateInstructionParser → TransformInstruction (Field, Side Conditions & Gimmicks).
Fields (3): battle (PokemonBattle), message (BattleMessage), expectedTarget (BattlePokemon)
TransformInstructionShowdown Mod →|turn|Dispatched by updateInstructionParser → TurnInstruction (Turn, Control & Cobblemon Hooks).
Fields (1): message (BattleMessage)
TurnInstructionShowdown Mod →|-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 →|upkeep|Dispatched by updateInstructionParser → UpkeepInstruction (Turn, Control & Cobblemon Hooks).
UpkeepInstructionShowdown Mod →|-waiting|Dispatched by updateInstructionParser → WaitingInstruction (Turn, Control & Cobblemon Hooks).
Fields (1): message (BattleMessage)
WaitingInstructionShowdown Mod →|-weather|Dispatched by updateInstructionParser → WeatherInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
WeatherInstructionShowdown Mod →|win|Dispatched by updateInstructionParser → WinInstruction (Turn, Control & Cobblemon Hooks).
Fields (1): message (BattleMessage)
WinInstructionShowdown Mod →|-zbroken|Dispatched by updateInstructionParser → ZBrokenInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
ZBrokenInstructionShowdown Mod →|-zpower|Dispatched by updateInstructionParser → ZPowerInstruction (Field, Side Conditions & Gimmicks).
Fields (1): message (BattleMessage)
ZPowerInstructionShowdown Mod →|error|Dispatched by sideInstructionParser → ErrorInstruction (Turn, Control & Cobblemon Hooks).
Fields (2): battleActor (BattleActor), message (BattleMessage)
ErrorInstructionShowdown Mod →|request|Dispatched by sideInstructionParser → RequestInstruction (Turn, Control & Cobblemon Hooks).
Fields (2): battleActor (BattleActor), message (BattleMessage)
RequestInstructionShowdown Mod →|-damage|Dispatched by splitInstructionParser → DamageInstruction (Damage, HP & Effectiveness).
Fields (8): instructionSet (InstructionSet), actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage) (+4 more)
DamageInstructionShowdown Mod →|drag|Dispatched by splitInstructionParser → DragInstruction (Moves, Switches & Targeting).
Fields (4): instructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)
DragInstructionShowdown Mod →|-heal|Dispatched by splitInstructionParser → HealInstruction (Damage, HP & Effectiveness).
Fields (3): actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)
HealInstructionShowdown Mod →|-sethp|Dispatched by splitInstructionParser → SetHpInstruction (Damage, HP & Effectiveness).
Fields (3): actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)
SetHpInstructionShowdown Mod →|switch|Dispatched by splitInstructionParser → SwitchInstruction (Moves, Switches & Targeting).
Fields (4): instructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage)
SwitchInstructionShowdown Mod →| Protocol Token | Parser Map | Instruction Class | Category | Bytecode Fields | Notes |
|---|---|---|---|---|---|
|split| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|player| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|teamsize| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|gametype| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|gen| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|tier| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|rated| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|clearpoke| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|poke| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|teampreview| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|start| | updateInstructionParser | InitializeInstruction | Turn, Control & Cobblemon Hooks | instructionSet (InstructionSet), message (BattleMessage) | Registered in ignored list first, then overwritten by InitializeInstruction in ShowdownInterpreter.<clinit>. |
|rule| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|t:| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|capture| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | Cobblemon-specific protocol hook |
|-anim| | updateInstructionParser | IgnoredInstruction | Ignored / Metadata | — | — |
|-ability| | updateInstructionParser | AbilityInstruction | Boosts, Status, Ability & Items | instructionSet (InstructionSet), message (BattleMessage) | — |
|-activate| | updateInstructionParser | ActivateInstruction | Field, Side Conditions & Gimmicks | instructionSet (InstructionSet), message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation) | — |
|bagitem| | updateInstructionParser | BagItemInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage) | Cobblemon-specific protocol hook |
|-boost| | updateInstructionParser | BoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation), pokemon (BattlePokemon), statKey (String), stages (int), stat (Component) | — |
|-block| | updateInstructionParser | BlockInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|cant| | updateInstructionParser | CantInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation) | — |
|-center| | updateInstructionParser | CenterInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|-clearallboost| | updateInstructionParser | ClearAllBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-clearnegativeboost| | updateInstructionParser | ClearNegativeBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-clearboost| | updateInstructionParser | ClearBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-combine| | updateInstructionParser | CombineInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|-copyboost| | updateInstructionParser | CopyBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-crit| | updateInstructionParser | CritInstruction | Damage, HP & Effectiveness | message (BattleMessage), instructionSet (InstructionSet) | — |
|-curestatus| | updateInstructionParser | CureStatusInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|detailschange| | updateInstructionParser | FormeChangeInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-endability| | updateInstructionParser | EndAbilityInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-end| | updateInstructionParser | EndInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-enditem| | updateInstructionParser | EndItemInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-fail| | updateInstructionParser | FailInstruction | Turn, Control & Cobblemon Hooks | battle (PokemonBattle), message (BattleMessage), target (BattlePokemon) | — |
|faint| | updateInstructionParser | FaintInstruction | Damage, HP & Effectiveness | message (BattleMessage), waitTime (float), faintingPokemon (BattlePokemon) | — |
|-fieldactivate| | updateInstructionParser | FieldActivateInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-fieldend| | updateInstructionParser | FieldEndInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-fieldstart| | updateInstructionParser | FieldStartInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-formechange| | updateInstructionParser | FormeChangeInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-hitcount| | updateInstructionParser | HitCountInstruction | Damage, HP & Effectiveness | message (BattleMessage), hitCount (Integer) | — |
|-immune| | updateInstructionParser | ImmuneInstruction | Damage, HP & Effectiveness | message (BattleMessage) | — |
|-invertboost| | updateInstructionParser | InvertBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-item| | updateInstructionParser | ItemInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-mega| | updateInstructionParser | MegaInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-miss| | updateInstructionParser | MissInstruction | Turn, Control & Cobblemon Hooks | battle (PokemonBattle), message (BattleMessage), target (BattlePokemon) | — |
|move| | updateInstructionParser | MoveInstruction | Moves, Switches & Targeting | instructionSet (InstructionSet), message (BattleMessage), effect (Effect), move (MoveTemplate), spreadTargets (List<String>), future (concurrent.CompletableFuture<Unit>), holds (Set<String>), userPokemon (BattlePokemon), targetPokemon (BattlePokemon) | — |
|-nothing| | updateInstructionParser | NothingInstruction | Turn, Control & Cobblemon Hooks | — | — |
|pp_update| | updateInstructionParser | PpUpdateInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage) | Cobblemon-specific protocol hook |
|-prepare| | updateInstructionParser | PrepareInstruction | Moves, Switches & Targeting | message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation) | — |
|-mustrecharge| | updateInstructionParser | RechargeInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|replace| | updateInstructionParser | ReplaceInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|-resisted| | updateInstructionParser | ResistedInstruction | Damage, HP & Effectiveness | publicMessage (BattleMessage), instructionSet (InstructionSet) | — |
|-setboost| | updateInstructionParser | SetBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-sideend| | updateInstructionParser | SideEndInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-sidestart| | updateInstructionParser | SideStartInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-singlemove| | updateInstructionParser | SingleMoveInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|-singleturn| | updateInstructionParser | SingleTurnInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-start| | updateInstructionParser | StartInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation) | — |
|-status| | updateInstructionParser | StatusInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-supereffective| | updateInstructionParser | SuperEffectiveInstruction | Damage, HP & Effectiveness | message (BattleMessage), instructionSet (InstructionSet) | — |
|swap| | updateInstructionParser | SwapInstruction | Moves, Switches & Targeting | message (BattleMessage), instructionSet (InstructionSet) | — |
|-swapboost| | updateInstructionParser | SwapBoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage) | — |
|-swapsideconditions| | updateInstructionParser | SwapSideConditionsInstruction | Moves, Switches & Targeting | message (BattleMessage) | — |
|-terastallize| | updateInstructionParser | TerastallizeInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-transform| | updateInstructionParser | TransformInstruction | Field, Side Conditions & Gimmicks | battle (PokemonBattle), message (BattleMessage), expectedTarget (BattlePokemon) | — |
|turn| | updateInstructionParser | TurnInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage) | — |
|-unboost| | updateInstructionParser | BoostInstruction | Boosts, Status, Ability & Items | message (BattleMessage), isBoost (boolean), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation), pokemon (BattlePokemon), statKey (String), stages (int), stat (Component) | — |
|upkeep| | updateInstructionParser | UpkeepInstruction | Turn, Control & Cobblemon Hooks | — | — |
|-waiting| | updateInstructionParser | WaitingInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage) | — |
|-weather| | updateInstructionParser | WeatherInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|win| | updateInstructionParser | WinInstruction | Turn, Control & Cobblemon Hooks | message (BattleMessage) | — |
|-zbroken| | updateInstructionParser | ZBrokenInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|-zpower| | updateInstructionParser | ZPowerInstruction | Field, Side Conditions & Gimmicks | message (BattleMessage) | — |
|error| | sideInstructionParser | ErrorInstruction | Turn, Control & Cobblemon Hooks | battleActor (BattleActor), message (BattleMessage) | — |
|request| | sideInstructionParser | RequestInstruction | Turn, Control & Cobblemon Hooks | battleActor (BattleActor), message (BattleMessage) | — |
|-damage| | splitInstructionParser | DamageInstruction | Damage, HP & Effectiveness | instructionSet (InstructionSet), actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage), expectedTarget (BattlePokemon), future (concurrent.CompletableFuture<?>), holds (Set<String>), id (ResourceLocation) | — |
|drag| | splitInstructionParser | DragInstruction | Moves, Switches & Targeting | instructionSet (InstructionSet), battleActor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage) | — |
|-heal| | splitInstructionParser | HealInstruction | Damage, HP & Effectiveness | actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage) | — |
|-sethp| | splitInstructionParser | SetHpInstruction | Damage, HP & Effectiveness | actor (BattleActor), publicMessage (BattleMessage), privateMessage (BattleMessage) | — |
|switch| | splitInstructionParser | SwitchInstruction | Moves, Switches & Targeting | instructionSet (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>.bagitem (BagItemInstruction) and pp_update (PPUpdateInstruction); capture is explicitly bound to IgnoredInstruction in updateInstructionParser.item/interactive/)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 Class | CobblemonItems Fields | Bytecode Fields | Verified Mechanics |
|---|---|---|---|
BerryJuiceItem | 1 BERRY_JUICE | bagItem (BagItem) | Heals 20 HP on a selected Pokémon (also usable as an in-battle BagItem). |
CandyItem | 6 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. |
EVIncreaseItem | 0 | — | Shared interface for EV-boosting interactive items (VitaminItem, MochiItem, FeatherItem) respecting the 252/stat & 510 total caps. |
ElixirItem | 2 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. |
EnergyRootItem | 0 | runtime (MoLangRuntime), bagItem (BagItem) | Heals 120 HP (RemedyItem) and lowers Friendship per data/cobblemon/mechanics/remedies.json. |
EtherItem | 2 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. |
FeatherItem | 6 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). |
FreshStartMochiItem | 1 FRESH_START_MOCHI | bagItem (Void) | Resets all 6 EV stats of the selected Pokémon back to 0 (no in-battle use). |
HealPowderItem | 1 HEAL_POWDER | bagItem (BagItem), runtime (MoLangRuntime) | Cures persistent status conditions and lowers Friendship per mechanics/remedies.json. |
HyperTrainingItem | 12 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). |
LinkCableItem | 1 LINK_CABLE | accepted (Set<PokemonEntityInteraction.Ownership>) | Triggers trade evolutions (TradeEvolution) on a single Pokémon without trading to another player. |
MintItem | 21 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). |
MochiItem | 6 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). |
PPUpItem | 2 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). |
PokerodItem | 48 POKE_ROD, CITRINE_ROD, VERDANT_ROD, AZURE_ROD... | pokeRodId (ResourceLocation) | Cobblemon Poké Rod item supporting attached SpawnBait components, 256 durability, and enchantability 1. |
PonigiriItem | 1 PONIGIRI | — | Edible cooked food item (stack size 64, base nutrition 2, saturation 0.55) enhanced via seasoning food/mob_effects components. |
PotionItem | 5 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). |
PotionType | 0 | amountToHeal (Function0<ExpressionLike>), curesStatus (boolean) | Enum backing PotionItem values and in-battle BagItem behavior. |
RemedyItem | 0 | remedyStrength (String), bagItem (BagItem) | Herbal medicine healing HP (Remedy 20 · Fine Remedy 60 · Superb Remedy 100) while reducing Friendship per mechanics/remedies.json. |
ReviveItem | 2 REVIVE, MAX_REVIVE | max (boolean), bagItem (BagItem) | Revives a fainted Pokémon at half HP (Revive) or full HP (Max Revive); usable in battle. |
StatusCureItem | 6 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). |
TechnicalMachineItem | 1 TECHNICAL_MACHINE | accepted (Set<PokemonEntityInteraction.Ownership>), sound (SoundEvent) | Teaches the move stored in its cobblemon:tm_move Data Component to an eligible Pokémon. |
VitaminItem | 6 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). |
AbilityChangeItem | 0 | changer (AbilityChanger<T>), accepted (Set<PokemonEntityInteraction.Ownership>) | Item base for Ability Capsule / Ability Patch applying an AbilityTypeChanger to a selected Pokémon. |
AbilityTypeChanger | 0 | type (PotentialAbilityType<T>), supportsChangingFrom (Function1<PotentialAbilityType<?>, Boolean>) | Interface defining how an AbilityChangeItem checks eligibility and switches standard vs Hidden Ability. |