Cobblemon 1.8.4 Minecraft 1.21.1 Data Components & Engine API

Cobblemon 1.8.4 Item Data Components (13), Mob Effects & Brigadier Arguments (39)

Bytecode-verified Minecraft 1.21.1 datapack and command reference extracted directly from Cobblemon 1.8.4 — all 13 CobblemonItemComponents (replacing legacy NBT tags in 1.21.1 /give commands), 3 CobblemonMobEffects, 8 Menus, Recipe Types & Serializers, and 15 Brigadier *ArgumentType parsers.

Item Data Components
13 Minecraft 1.21.1 Components
Custom Mob Effects
3 (CobblemonMobEffects)
Menus & Recipe Registries
2 Menus · 3 Types · 3 Serializers
Brigadier Parsers
15 *ArgumentType Classes

All 39 Minecraft 1.21.1 Data Components, Effects & Parsers

58 Official Commands →
Registry Group
Engine Area
Item Data Components · CobblemonItemComponentscobblemon:pokemon_item

Stores species ResourceLocation, aspect set, and optional RGBA tint on cobblemon:pokemon_model display items.

Example: /give @p cobblemon:pokemon_model[cobblemon:pokemon_item={species:"cobblemon:pikachu",aspects:["shiny"]}]

DataComponentType<PokemonItemComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:held_item_effect

Attaches a custom Showdown held-item ID and consumed flag to an item stack for battle item behavior.

Example: /give @p cobblemon:leftovers[cobblemon:held_item_effect={showdownId:"leftovers",consumed:false}]

DataComponentType<HeldItemEffectComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:bait

Stores the attached bait ItemStack (field: stack) currently equipped on a Cobblemon Poké Rod.

Example: /give @p cobblemon:poke_rod[cobblemon:bait={stack:{id:"cobblemon:starf_berry",count:1}}]

DataComponentType<RodBaitComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:cooking_pot_item

Stores the Campfire Pot ItemStack (field: potItem, xmap ItemStack codec) nested inside a pot-bearing stack.

Example: /give @p cobblemon:campfire_pot_red[cobblemon:cooking_pot_item={id:"cobblemon:campfire_pot_red",count:1}]

DataComponentType<PotComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:bait_effects

Stores a List<ResourceLocation> of SpawnBait effect IDs (field: effects, xmap list codec) on custom Poké Baits or Poké Snacks.

Example: /give @p cobblemon:poke_bait[cobblemon:bait_effects=["cobblemon:starf_berry"]]

DataComponentType<BaitEffectsComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:flavour

Stores Map<Flavour, Integer> flavor point totals (field: flavours) on cooked Aprijuices and Poké Cakes.

Example: /give @p cobblemon:aprijuice_red[cobblemon:flavour={flavours:{SPICY:80,SWEET:40}}]

DataComponentType<FlavourComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:ride_boosts

Stores Map<RidingStat, Integer> riding stat boosts (field: boosts) carried by Aprijuice.

Example: /give @p cobblemon:aprijuice_red[cobblemon:ride_boosts={boosts:{SPEED:12}}]

DataComponentType<RideBoostsComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:food_colour

Stores an ordered List<DyeColor> tint palette (field: colours, xmap list codec) rendered on seasoned Campfire Pot dishes.

Example: /give @p cobblemon:ponigiri[cobblemon:food_colour=["red","yellow"]]

DataComponentType<FoodColourComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:tm_move

Stores the MoveTemplate ID string (field: moveName, codec key: move) written onto a Technical Machine disc.

Example: /give @p cobblemon:tm_disc[cobblemon:tm_move={move:"earthquake"}]

DataComponentType<TMMoveComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:ingredient

Stores a List<ResourceLocation> of seasoning ingredient IDs (field: ingredientIds, xmap list codec) on cooked food or bait.

Example: /give @p cobblemon:ponigiri[cobblemon:ingredient=["cobblemon:oran_berry"]]

DataComponentType<IngredientComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:food

Stores custom hunger (int) and saturation (float) values computed from Campfire Pot seasonings.

Example: /give @p cobblemon:ponigiri[cobblemon:food={hunger:8,saturation:0.8f}]

DataComponentType<FoodComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:mob_effects

Stores List<MobEffectInstance> entries (codec key: mob_effects) granted when eating a seasoned Campfire Pot dish.

Example: /give @p cobblemon:sinister_tea[cobblemon:mob_effects={mob_effects:[...]}]

DataComponentType<MobEffectsComponent>Related Hub →
Item Data Components · CobblemonItemComponentscobblemon:crafted

Boolean flag marking whether a Cobblemon item was player-crafted (used by crafting advancements/checks).

Example: /give @p cobblemon:poke_ball[cobblemon:crafted=true]

DataComponentType<Boolean>Related Hub →
Custom Mob Effects · CobblemonMobEffectscobblemon:cleanse_negative

Iterates every active MobEffectInstance on the target and removes all effects whose MobEffectCategory is HARMFUL (leaves beneficial and neutral buffs intact).

Example: /effect give @p cobblemon:cleanse_negative 10 0

CleanseNegativeEffectRelated Hub →
Custom Mob Effects · CobblemonMobEffectscobblemon:mental_restoration

Runs every tick (shouldApplyEffectTickThisTick = true): subtracts 31 × (amplifier + 1) ticks per tick (620 ticks/second at Level I) from ServerPlayer Stats.TIME_SINCE_REST, clamped at 0—delaying or preventing Phantom spawns without sleeping.

Example: /effect give @p cobblemon:mental_restoration 10 0

MentalRestorationEffectRelated Hub →
Custom Mob Effects · CobblemonMobEffectscobblemon:cleanse_all

Calls LivingEntity.removeAllEffects(), clearing every active potion and status effect on the target (both harmful debuffs and beneficial buffs).

Example: /effect give @p cobblemon:cleanse_all 10 0

CleanseAllEffectRelated Hub →
Menus & Recipe Types · CobblemonMenuTypecobblemon:cooking_pot_menu

Server/client container menu synchronizing the Campfire Pot 3×3 cooking grid, 3 seasoning slots, and brew progress.

MenuType<CookingPotMenu>Related Hub →
Menus & Recipe Types · CobblemonMenuTypecobblemon:tm_machine_menu

Server/client container menu backing the Technical Machine (TM) crafting station for all 334 TMs.

MenuType<TMMachineMenu>Related Hub →
Menus & Recipe Types · CobblemonRecipeTypescobblemon:cooking_pot

Recipe type for all 27 shaped 3×3 Campfire Pot recipes (24 Hyper Training IV Candies, Cake, Poké Cake, Poké Snack).

RecipeType<CookingPotRecipe>Related Hub →
Menus & Recipe Types · CobblemonRecipeTypescobblemon:cooking_pot_shapeless

Recipe type for all 90 shapeless Campfire Pot recipes (Aprijuices, EV Mochis, Remedies, Sinister Tea, Poké Baits, Stews).

RecipeType<CookingPotShapelessRecipe>Related Hub →
Menus & Recipe Types · CobblemonRecipeTypescobblemon:brewing_stand

Recipe type for all 27 Cobblemon Brewing Stand formulas (Potions, Vitamins, Status Cures, Throat Spray).

RecipeType<BrewingStandRecipe>Related Hub →
Menus & Recipe Types · CobblemonRecipeSerializerscobblemon:cooking_pot

JSON & packet serializer parsing shaped Campfire Pot recipes, seasoningTag, and seasoningProcessors.

RecipeSerializer<CookingPotRecipe>Related Hub →
Menus & Recipe Types · CobblemonRecipeSerializerscobblemon:cooking_pot_shapeless

JSON & packet serializer parsing shapeless Campfire Pot recipes, seasoningTag, and seasoningProcessors.

RecipeSerializer<CookingPotShapelessRecipe>Related Hub →
Menus & Recipe Types · CobblemonRecipeSerializerscobblemon:brewing_stand

JSON & packet serializer parsing bottle, input, and result fields in data/cobblemon/recipe/brewing_stand/*.json.

RecipeSerializer<BrewingStandRecipe>Related Hub →
Brigadier Argument Types · command.argumentDexArgumentType

Parses a registered Pokédex ResourceLocation (e.g. cobblemon:national, cobblemon:kanto). Used by: PokedexCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentDialogueArgumentType

Parses a registered Cobblemon dialogue tree ID from data/cobblemon/dialogues/. Used by: OpenDialogueCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentFormArgumentType

Parses a Pokémon form name (e.g. alola, galar, hisui) for commands targeting forms. Used by: PokedexCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentMarkArgumentType

Parses any of the 168 official Mark or Ribbon IDs from data/cobblemon/marks/. Used by: MarkGiveCommand, MarkTakeCommand.

ArgumentType (2 commands)Related Hub →
Brigadier Argument Types · command.argumentModelPartArgumentType

Parses a Bedrock model locator / part identifier for client rendering and particle targeting. Used by: TransformModelPartCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentMoveArgumentType

Parses any of the 950 official Cobblemon move identifiers (e.g. earthquake, thunderbolt). Used by: GiveTmCommand, QueryLearnsetCommand, TeachCommand.

ArgumentType (3 commands)Related Hub →
Brigadier Argument Types · command.argumentNPCClassArgumentType

Parses a registered NPC class ID from data/cobblemon/npcs/ for /spawnnpc. Used by: SpawnNPCCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentPartySlotArgumentType

Parses a 1–6 player party slot integer for party-slot commands. Used by: FriendshipCommand, HeldItemCommand, MarkGiveAllCommand, MarkGiveCommand, MarkTakeCommand, PokeboxCommand (+3 more).

ArgumentType (9 commands)Related Hub →
Brigadier Argument Types · command.argumentPokemonPropertiesArgumentType

Parses full space-separated Cobblemon Pokémon property strings (species, lvl, shiny, alpha, IVs/EVs). Used by: GivePokemon, PcSearchCommand, PokemonEditCommand, SpawnPokemon, TestPartySlotCommand, TestPcSlotCommand (+1 more).

ArgumentType (7 commands)Related Hub →
Brigadier Argument Types · command.argumentPokemonStoreArgumentType

Parses a Pokémon storage container selector (party or PC box reference). Used by: TestStoreCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentSpawnBucketArgumentType

Parses a valid spawn bucket name (common, uncommon, rare, ultra-rare, boss) for /checkspawn. Used by: CheckSpawnsCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentSpeciesArgumentType

Parses any of the 1,025 registered Pokémon species identifiers. Used by: ChangeEyeHeight, ChangeScaleAndSize, ChangeWalkSpeed, PokedexCommand.

ArgumentType (4 commands)Related Hub →
Brigadier Argument Types · command.argumentTmArgumentType

Parses any of the 334 official Technical Machine (TM) identifiers. Used by: TmCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentTransformTypeArgumentType

Parses a 3D transform type enum for model/display debug commands. Used by: TransformModelPartCommand.

ArgumentType (1 commands)Related Hub →
Brigadier Argument Types · command.argumentUnlockablePCBoxWallpaperArgumentType

Parses one of the 6 unlockable PC Box Wallpaper ResourceLocations. Used by: UnlockPCBoxWallpaperCommand.

ArgumentType (1 commands)Related Hub →

All 3 Exclusive CobblemonMobEffects Bytecode Mechanics

Campfire Seasonings →
Effect ID & ClassCategory & ColorExact Bytecode BehaviorVerified Seasoning Sources
cobblemon:cleanse_negative
CleanseNegativeEffect
Instant Beneficial (#FFFFFF)Iterates every active MobEffectInstance on the target and removes all effects whose MobEffectCategory is HARMFUL (leaves beneficial and neutral buffs intact).White Herb (1t) and Pa'uvillea (1t) in data/cobblemon/seasonings/.
cobblemon:mental_restoration
MentalRestorationEffect
Ticking Beneficial (#AA66FF)Runs every tick (shouldApplyEffectTickThisTick = true): subtracts 31 × (amplifier + 1) ticks per tick (620 ticks/second at Level I) from ServerPlayer Stats.TIME_SINCE_REST, clamped at 0—delaying or preventing Phantom spawns without sleeping.Lucibell (100t = 5s, -3,100 ticks) and Mental Herb (200t = 10s, -6,200 ticks) in data/cobblemon/seasonings/.
cobblemon:cleanse_all
CleanseAllEffect
Instant Neutral (#FFFFFF)Calls LivingEntity.removeAllEffects(), clearing every active potion and status effect on the target (both harmful debuffs and beneficial buffs).Milk Bucket (1t) and Moomoo Milk (1t) in data/cobblemon/seasonings/.

Complete 39-Entry Codec Fields & 1.21.1 Syntax Table

Registry ID & FieldGroupJava TypeCodec Fields / Details1.21.1 Command Example
cobblemon:pokemon_item
CobblemonItemComponents.POKEMON_ITEM
Item Data ComponentsDataComponentType<PokemonItemComponent>species (ResourceLocation), aspects (Set<String>), tint (org.joml.Vector4f)/give @p cobblemon:pokemon_model[cobblemon:pokemon_item={species:"cobblemon:pikachu",aspects:["shiny"]}]
cobblemon:held_item_effect
CobblemonItemComponents.HELD_ITEM_EFFECT
Item Data ComponentsDataComponentType<HeldItemEffectComponent>showdownId (String), consumed (boolean)/give @p cobblemon:leftovers[cobblemon:held_item_effect={showdownId:"leftovers",consumed:false}]
cobblemon:bait
CobblemonItemComponents.BAIT
Item Data ComponentsDataComponentType<RodBaitComponent>stack (ItemStack)/give @p cobblemon:poke_rod[cobblemon:bait={stack:{id:"cobblemon:starf_berry",count:1}}]
cobblemon:cooking_pot_item
CobblemonItemComponents.POT_DATA
Item Data ComponentsDataComponentType<PotComponent>potItem (ItemStack)/give @p cobblemon:campfire_pot_red[cobblemon:cooking_pot_item={id:"cobblemon:campfire_pot_red",count:1}]
cobblemon:bait_effects
CobblemonItemComponents.BAIT_EFFECTS
Item Data ComponentsDataComponentType<BaitEffectsComponent>effects (List<ResourceLocation>)/give @p cobblemon:poke_bait[cobblemon:bait_effects=["cobblemon:starf_berry"]]
cobblemon:flavour
CobblemonItemComponents.FLAVOUR
Item Data ComponentsDataComponentType<FlavourComponent>flavours (Map<Flavour, Integer>)/give @p cobblemon:aprijuice_red[cobblemon:flavour={flavours:{SPICY:80,SWEET:40}}]
cobblemon:ride_boosts
CobblemonItemComponents.RIDE_BOOST
Item Data ComponentsDataComponentType<RideBoostsComponent>boosts (Map<RidingStat, Integer>)/give @p cobblemon:aprijuice_red[cobblemon:ride_boosts={boosts:{SPEED:12}}]
cobblemon:food_colour
CobblemonItemComponents.FOOD_COLOUR
Item Data ComponentsDataComponentType<FoodColourComponent>colours (List<DyeColor>)/give @p cobblemon:ponigiri[cobblemon:food_colour=["red","yellow"]]
cobblemon:tm_move
CobblemonItemComponents.TM_MOVE
Item Data ComponentsDataComponentType<TMMoveComponent>moveName (String)/give @p cobblemon:tm_disc[cobblemon:tm_move={move:"earthquake"}]
cobblemon:ingredient
CobblemonItemComponents.INGREDIENT
Item Data ComponentsDataComponentType<IngredientComponent>ingredientIds (List<ResourceLocation>)/give @p cobblemon:ponigiri[cobblemon:ingredient=["cobblemon:oran_berry"]]
cobblemon:food
CobblemonItemComponents.FOOD
Item Data ComponentsDataComponentType<FoodComponent>hunger (int), saturation (float)/give @p cobblemon:ponigiri[cobblemon:food={hunger:8,saturation:0.8f}]
cobblemon:mob_effects
CobblemonItemComponents.MOB_EFFECTS
Item Data ComponentsDataComponentType<MobEffectsComponent>mobEffects (List<MobEffectInstance>)/give @p cobblemon:sinister_tea[cobblemon:mob_effects={mob_effects:[...]}]
cobblemon:crafted
CobblemonItemComponents.CRAFTED
Item Data ComponentsDataComponentType<Boolean>—/give @p cobblemon:poke_ball[cobblemon:crafted=true]
cobblemon:cleanse_negative
CobblemonMobEffects.CLEANSE_NEGATIVE
Custom Mob EffectsCleanseNegativeEffectbehavior (Instant Beneficial (#FFFFFF)), source (White Herb (1t) and Pa'uvillea (1t) in data/cobblemon/seasonings/.)/effect give @p cobblemon:cleanse_negative 10 0
cobblemon:mental_restoration
CobblemonMobEffects.MENTAL_RESTORATION
Custom Mob EffectsMentalRestorationEffectbehavior (Ticking Beneficial (#AA66FF)), source (Lucibell (100t = 5s, -3,100 ticks) and Mental Herb (200t = 10s, -6,200 ticks) in data/cobblemon/seasonings/.)/effect give @p cobblemon:mental_restoration 10 0
cobblemon:cleanse_all
CobblemonMobEffects.CLEANSE_ALL
Custom Mob EffectsCleanseAllEffectbehavior (Instant Neutral (#FFFFFF)), source (Milk Bucket (1t) and Moomoo Milk (1t) in data/cobblemon/seasonings/.)/effect give @p cobblemon:cleanse_all 10 0
cobblemon:cooking_pot_menu
CobblemonMenuType.COOKING_POT
Menus & Recipe TypesMenuType<CookingPotMenu>——
cobblemon:tm_machine_menu
CobblemonMenuType.TM_MACHINE
Menus & Recipe TypesMenuType<TMMachineMenu>——
cobblemon:cooking_pot
CobblemonRecipeTypes.COOKING_POT_COOKING
Menus & Recipe TypesRecipeType<CookingPotRecipe>——
cobblemon:cooking_pot_shapeless
CobblemonRecipeTypes.COOKING_POT_SHAPELESS
Menus & Recipe TypesRecipeType<CookingPotShapelessRecipe>——
cobblemon:brewing_stand
CobblemonRecipeTypes.BREWING_STAND
Menus & Recipe TypesRecipeType<BrewingStandRecipe>——
cobblemon:cooking_pot
CobblemonRecipeSerializers.COOKING_POT_COOKING
Menus & Recipe TypesRecipeSerializer<CookingPotRecipe>——
cobblemon:cooking_pot_shapeless
CobblemonRecipeSerializers.COOKING_POT_SHAPELESS
Menus & Recipe TypesRecipeSerializer<CookingPotShapelessRecipe>——
cobblemon:brewing_stand
CobblemonRecipeSerializers.BREWING_STAND
Menus & Recipe TypesRecipeSerializer<BrewingStandRecipe>——
DexArgumentType
command.argument.DexArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
DialogueArgumentType
command.argument.DialogueArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
FormArgumentType
command.argument.FormArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
MarkArgumentType
command.argument.MarkArgumentType
Brigadier Argument TypesArgumentType (2 commands)commands (2 command classes)—
ModelPartArgumentType
command.argument.ModelPartArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
MoveArgumentType
command.argument.MoveArgumentType
Brigadier Argument TypesArgumentType (3 commands)commands (3 command classes)—
NPCClassArgumentType
command.argument.NPCClassArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
PartySlotArgumentType
command.argument.PartySlotArgumentType
Brigadier Argument TypesArgumentType (9 commands)commands (9 command classes)—
PokemonPropertiesArgumentType
command.argument.PokemonPropertiesArgumentType
Brigadier Argument TypesArgumentType (7 commands)commands (7 command classes)—
PokemonStoreArgumentType
command.argument.PokemonStoreArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
SpawnBucketArgumentType
command.argument.SpawnBucketArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
SpeciesArgumentType
command.argument.SpeciesArgumentType
Brigadier Argument TypesArgumentType (4 commands)commands (4 command classes)—
TmArgumentType
command.argument.TmArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
TransformTypeArgumentType
command.argument.TransformTypeArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—
UnlockablePCBoxWallpaperArgumentType
command.argument.UnlockablePCBoxWallpaperArgumentType
Brigadier Argument TypesArgumentType (1 commands)commands (1 command classes)—

Unregistered Helper Classes In item/components/: Two additional classes ship inside the package without being registered on CobblemonItemComponents.class:

  • CaptureRateComponent: Internal helper class in item/components/ (2 fields) — not registered on CobblemonItemComponents.
  • GuaranteedCaptureComponent: Internal helper class in item/components/ (1 field) — not registered on CobblemonItemComponents.