Attacks hostile mobs that are nearby, even if unprovoked.
cobblemon:attack_hostile_mobs3 tasksEvery official AI behaviour preset shipped inside data/cobblemon/behaviours/ in Cobblemon 1.8.4—covering 42 visible presets plus 7 internal auto-applied brain profiles, species-specific AI assignments (Combee pollination, Mareep/Wooloo grazing, Vulpix berry harvesting), 4 NPC templates, and 12 bundled MoLang scripts.
Attacks hostile mobs that are nearby, even if unprovoked.
cobblemon:attack_hostile_mobs3 tasksTries to find air and then gets away from water.
cobblemon:avoids_water2 tasksRuns commands when battles end.
cobblemon:battle_commands2 variablesRuns MoLang scripts when battles end.
cobblemon:battle_scripts4 variablesStops and watches during battles.
cobblemon:battler5 tasksStops to look at the speaker during dialogue.
cobblemon:chats4 tasksNecessary for movement and looking at targets.
cobblemon:core2 tasksDefends its owner when they are attacked.
cobblemon:defend_owner3 tasksPauses idle activity when running action effects.
cobblemon:does_action_effects2 tasksKeeps itself above water when submerged.
cobblemon:floats1 taskOfficial Cobblemon 1.8.4 AI behaviour preset defined in data/cobblemon/behaviours/kitchen_sink.json.
cobblemon:kitchen_sink32 tasksLooks around at nearby entities.
cobblemon:looks_around2 tasksOfficial Cobblemon 1.8.4 AI behaviour preset defined in data/cobblemon/behaviours/looks_at_players.json.
cobblemon:looks_at_players1 taskLooks in a fixed direction at all times.
cobblemon:looks_in_one_direction1 taskMoves to lava when it is nearby.
cobblemon:moves_to_lava1 taskMoves to water when it is nearby.
cobblemon:moves_to_water1 taskAllows toggling the visibility of the entity's name tag.
cobblemon:name_tag_display1 variable · 1 MoLang scriptInternal preset in behaviours/npc/auto/ (visible: false) that adds one idle task running the MoLang script q.entity.get_wander_control_memory.reset().
cobblemon:npc_core1 taskAllows the NPC to talk with the player using the in-game chat when interacted with, optional animation support.
cobblemon:chatter_npc3 variables · 1 MoLang scriptAllows configuring NPC interaction to open a specific dialogue.
cobblemon:dialogue_selection1 variable · 1 MoLang scriptAllows configuring the render- and hitbox-scale of the NPC.
cobblemon:npc_scale_configuration5 variablesThe NPC will be textured based on a specific player username.
cobblemon:player_textured1 variableAllows changing the resource identifier that controls the NPC's appearance.
cobblemon:resource_identifier1 variable · 1 MoLang scriptPanics when hurt or near hostiles.
cobblemon:panics6 tasksOfficial Cobblemon 1.8.4 AI behaviour preset defined in data/cobblemon/behaviours/party_configuration.json.
cobblemon:party_configuration6 variables · 1 MoLang scriptInternal automatic preset (visible: false) that applies Fights Melee whenever a species sets behaviour.combat.fights_melee.
cobblemon:pokemon_combat1 sub-behaviourInternal base preset (visible: false): runs the apply_species_properties script early, always applies Core Movement & Looking and Pokémon Battles, applies Looks Around when the species can look and Pokémon Sleeps when it can sleep, and adds the pokemon_wander_control idle task.
cobblemon:pokemon_core1 task · 4 sub-behaviours · 1 MoLang scriptInternal automatic preset (visible: false) attaching Pokémon Herds and herd_size memory to non-party species with tolerated herd leaders.
cobblemon:pokemon_herdable1 sub-behaviour · 1 mem / 0 sensorInternal preset (visible: false): species that cannot breathe underwater get Avoids Water and Stays Afloat; if they can walk on water they get only Stays Afloat.
cobblemon:pokemon_no_underwater3 sub-behavioursInternal preset (visible: false) for Pokémon outside the party: applies Wanders, Wanders Hovering, Wanders Water, Panics, Retaliates and Returns To Water according to the species movement and combat flags, adds attacker and player sensors to wild Alphas, and adds item pickup and eat-held-item tasks when the entity has pickup items configured.
cobblemon:pokemon_non_party4 tasks · 6 sub-behaviours · 2 mem / 2 sensorInternal automatic preset (visible: false) attaching Pokémon Follows Owner, Sleeps on Trainer Bed, Attacks Hostile Mobs (pasture conflict), and Defend Owner to owned Pokémon.
cobblemon:pokemon_owned4 sub-behaviours · 1 mem / 1 sensorStops moving and looks at opponents during Pokémon battles.
cobblemon:pokemon_battles5 tasksPollinates flowers and adds honey to hives and Saccharine tree leaves.
Assigned species: Combee
cobblemon:pokemon_bee9 tasks · 1 MoLang scriptFollows the owner around, more rarely if in a pasture.
cobblemon:pokemon_follows_owner1 taskRuns apply_fox_properties (powder snow footing, sweet berry bush immunity, fox food pickup) and adds idle tasks to seek and harvest Sweet Berry Bushes (no en_us.json description in jar 1.8.4).
Assigned species: Vulpix
cobblemon:pokemon_fox3 tasks · 1 MoLang scriptGets angry at the player that threw a Poké Ball at it. Aggressive Pokémon will attack the player, while non-aggressive Pokémon will flee.
cobblemon:pokemon_gets_mad_at_thrower1 mem / 0 sensorPokémon will form herds with Pokémon they consider suitable leaders.
cobblemon:pokemon_herds6 tasksThe Pokémon will pick up items that it cares about.
cobblemon:pokemon_picks_up_items4 tasksPokémon can get drowsy and go to sleep if they aren't in battle or in a party.
cobblemon:pokemon_sleeps3 tasksPokémon that can sleep will rest on the trainer if the trainer gets into bed.
cobblemon:pokemon_sleeps_on_trainer_bed3 tasksAttacks back when hurt. Still needs a way to attack.
cobblemon:retaliates5 tasksDoes not move from a specific position.
cobblemon:stationary1 task · 1 mem / 0 sensorHeals at a healing machine when hurt.
cobblemon:uses_healing_machine2 tasksRandomly wanders around.
cobblemon:wanders1 taskRandomly flies around in the air.
cobblemon:wanders_air2 tasksRandomly hovers around in the air, sticking some distance from the ground.
cobblemon:wanders_hover1 taskRandomly swims around in water.
cobblemon:wanders_water2 tasksWhile most Pokémon inherit movement, sleeping, herding, and battle AI automatically through the 6 pokemon/auto/*.json presets, 4 presets are explicitly attached inside species[].ai in Cobblemon 1.8.4:
| Behaviour Preset | Assigned Species | Configurer Script | In-Game Behaviour |
|---|---|---|---|
Fights Meleecobblemon:fights_melee | Combee | — | Can move to and attack a target with melee. |
Pollinates Flowerscobblemon:pokemon_bee | Combee | cobblemon:apply_bee_properties | Pollinates flowers and adds honey to hives and Saccharine tree leaves. |
Eats Grasscobblemon:pokemon_eats_grass | Mareep, Dubwool, Wooloo | — | The Pokémon occasionally eats grass underfoot. |
Pokémon Foxcobblemon:pokemon_fox | Vulpix | cobblemon:apply_fox_properties | Runs apply_fox_properties (powder snow footing, sweet berry bush immunity, fox food pickup) and adds idle tasks to seek and harvest Sweet Berry Bushes (no en_us.json description in jar 1.8.4). |
Presets under pokemon/auto/ and npc/auto/ set visible: false and wire conditional sub-behaviours directly from each species file's behaviour flags:
| Auto Preset | Applied Sub-Behaviours & Conditions | Early Script |
|---|---|---|
NPC Core (Auto)npc/auto/npc_core.json | run_script | — |
Pokémon Combat (Auto)pokemon/auto/pokemon_combat.json | cobblemon:fights_melee when q.entity.behaviour.combat.fights_melee | — |
Pokémon Core (Auto)pokemon/auto/pokemon_core.json | cobblemon:corecobblemon:pokemon_battlescobblemon:looks_around when q.entity.behaviour.moving.can_lookcobblemon:pokemon_sleeps when q.entity.behaviour.resting.can_sleep | cobblemon:apply_species_properties |
Pokémon Herdable (Auto)pokemon/auto/pokemon_herdable.json | cobblemon:pokemon_herds when !q.entity.is_in_party && q.entity.behaviour.herd.has_tolerated_leaders | — |
Pokémon No Underwater (Auto)pokemon/auto/pokemon_no_underwater.json | cobblemon:avoids_water when !q.entity.behaviour.moving.swim.can_breathe_underwater && !q.entity.behaviour.moving.swim.can_walk_on_watercobblemon:floats when !q.entity.behaviour.moving.swim.can_breathe_underwater && !q.entity.behaviour.moving.swim.can_walk_on_watercobblemon:floats when !q.entity.behaviour.moving.swim.can_breathe_underwater && q.entity.behaviour.moving.swim.can_walk_on_water | — |
Pokémon Non-Party (Auto)pokemon/auto/pokemon_non_party.json | cobblemon:wanders when !q.entity.is_in_party && q.entity.behaviour.moving.walk.can_walkcobblemon:wanders_hover when !q.entity.is_in_party && q.entity.behaviour.moving.fly.can_flycobblemon:wanders_water when !q.entity.is_in_party && q.entity.behaviour.moving.swim.can_swim_in_water && !q.entity.behaviour.moving.swim.avoids_watercobblemon:panics when !q.entity.is_in_party && (q.entity.behaviour.combat.will_flee && !q.entity.behaviour.combat.will_defend_self)cobblemon:retaliates when !q.entity.is_in_party && (q.entity.behaviour.combat.will_defend_self || q.entity.is_alpha)cobblemon:moves_to_water when !q.entity.is_in_party && q.entity.behaviour.moving.walk.avoids_land && q.entity.behaviour.moving.swim.can_swim_in_water | — |
Pokémon Owned (Auto)pokemon/auto/pokemon_owned.json | cobblemon:pokemon_follows_owner when !q.entity.is_wildcobblemon:pokemon_sleeps_on_trainer_bed when !q.entity.is_wild && q.entity.behaviour.resting.will_sleep_on_bedcobblemon:attack_hostile_mobs when !q.entity.is_wild && (q.entity.is_pastured && q.entity.pasture_conflict_enabled == 1)cobblemon:defend_owner when !q.entity.is_wild && q.entity.is_in_party && q.entity.behaviour.combat.will_defend_owner | — |
| NPC Template | Hitbox | AI / Presets | Interaction / Dialogue | Config Vars |
|---|---|---|---|---|
AI Manai_test.json | player | cobblemon:core, cobblemon:battler_test | — | 0 |
The Kitchen Sinkkitchen_sink.json | player | cobblemon:kitchen_sink | — | 0 |
Professor Sacchisacchi.json | player | — | dialogue: cobblemon:sacchi_interaction | 0 |
Red, Green, Blue, Yellowstandard.json | player | — | dialogue: cobblemon:npc-example | 7 |
Verified from data/cobblemon/molang/ in Cobblemon 1.8.4:
data/cobblemon/molang/client/swing_arm.molangdata/cobblemon/molang/home_walk_task.molangdata/cobblemon/molang/npc/basic-npc-interaction.molangdata/cobblemon/molang/npc/chatter-npc-interaction.molangdata/cobblemon/molang/npc/configure_npc_party.molangdata/cobblemon/molang/npc/instant_battle_interaction.molangdata/cobblemon/molang/npc/run_callback_dialogue.molangdata/cobblemon/molang/pokemon/configurers/apply_bee_properties.molangdata/cobblemon/molang/pokemon/configurers/apply_fox_properties.molangdata/cobblemon/molang/pokemon/configurers/apply_species_properties.molangdata/cobblemon/molang/pokemon/get_mad_at_thrower.molangdata/cobblemon/molang/wander_around_hive.molang| Preset & File | Group | Entity Type | Visibility | Activities, Tasks, Variables & Rules |
|---|---|---|---|---|
Attacks Hostile Mobsattack_hostile_mobs.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core, idle, fight; Tasks: attack_hostile_mobs, switch_to_fight, switch_from_fight |
Avoids Wateravoids_water.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: find_air, go_to_land |
Battle Commandsbattle_commands.json | Core & Shared Behaviour | Any Entity | Visible | Vars: player_win_command, player_lose_command |
Battle Script Hooksbattle_scripts.json | Core & Shared Behaviour | Any Entity | Visible | Vars: on_defeat, on_victory, on_player_wins, on_player_loses |
Pokémon Battlerbattler.json | Core & Shared Behaviour | Any Entity | Visible | Activities: cobblemon:battling, idle; Tasks: switch_npc_from_battle, look_at_target, look_at_battling_pokemon, exit_battle_when_hurt, switch_npc_to_battle |
Stops During Chatchats.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle, cobblemon:npc_chatting; Tasks: switch_to_chatting, switch_from_chatting, look_at_speaker, look_at_target |
Core Movement & Lookingcore.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core, idle; Tasks: follow_walk_target, look_at_target |
Defend Ownerdefend_owner.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core, idle, fight; Tasks: defend_owner, switch_to_fight, switch_from_fight |
Action Effect Supportdoes_action_effects.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle, cobblemon:action_effect; Tasks: switch_to_action_effect, switch_from_action_effect |
Fights Meleefights_melee.json | Core & Shared Behaviour | Any Entity | Visible | Activities: fight; Tasks: stop_attacking_if_target_invalid, move_to_attack_target, melee_attack |
Stays Afloatfloats.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core; Tasks: stay_afloat |
Kitchen Sinkkitchen_sink.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: wander, look_at_target, follow_walk_target, stay_afloat, look_at_entities (+27 more) |
Looks Aroundlooks_around.json | Core & Shared Behaviour | Any Entity | Visible | Activities: minecraft:idle; Tasks: look_at_entities, look_at_speaker |
Looks At Playerslooks_at_players.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: look_at_entities |
Looks In One Directionlooks_in_one_direction.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core; Tasks: look_in_direction |
Returns To Lavamoves_to_lava.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: move_into_fluid |
Returns To Watermoves_to_water.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: move_into_fluid |
Name Tag Displayname_tag_display.json | Core & Shared Behaviour | cobblemon:npc | Visible | Vars: name_tag_display; Scripts: Inline MoLang (1 expressions) |
NPC Core (Auto)npc/auto/npc_core.json | NPC Behaviour | Any Entity | Auto (Internal) | Activities: minecraft:idle; Tasks: run_script |
Chatter NPCnpc/chatter_npc.json | NPC Behaviour | cobblemon:npc | Visible | Vars: chat_message, animation_name, play_animation; Scripts: Inline MoLang (1 expressions) |
Dialogue Selectionnpc/dialogue_selection.json | NPC Behaviour | cobblemon:npc | Visible | Vars: dialogue_selection; Scripts: Inline MoLang (1 expressions) |
NPC Entity Scalesnpc/npc_scale_configuration.json | NPC Behaviour | cobblemon:npc | Visible | Vars: npc_render_scale, npc_box_scale, npc_box_width, npc_box_height, npc_box_eyes_ratio |
Player Texturednpc/player_textured.json | NPC Behaviour | cobblemon:npc | Visible | Vars: player_texture |
Configurable Resource Identifiernpc/resource_identifier.json | NPC Behaviour | cobblemon:npc | Visible | Vars: resource_identifier; Scripts: Inline MoLang (2 expressions) |
Panicspanics.json | Core & Shared Behaviour | Any Entity | Visible | Activities: minecraft:idle, minecraft:panic; Tasks: flee_attacker, switch_to_panic_when_hurt, activity_change, flee_nearest_hostile, walk_away_from_avoid_target (+1 more) |
Party Configurationparty_configuration.json | Core & Shared Behaviour | cobblemon:npc | Visible | Vars: npc_party_pokemon1, npc_party_pokemon2, npc_party_pokemon3, npc_party_pokemon4, npc_party_pokemon5, npc_party_pokemon6; Scripts: cobblemon:configure_npc_party |
Pokémon Combat (Auto)pokemon/auto/pokemon_combat.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Applies: fights_melee |
Pokémon Core (Auto)pokemon/auto/pokemon_core.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Activities: minecraft:idle; Tasks: pokemon_wander_control; Applies: core, pokemon_battles, looks_around, pokemon_sleeps; Scripts: cobblemon:apply_species_properties |
Pokémon Herdable (Auto)pokemon/auto/pokemon_herdable.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Applies: pokemon_herds; Memories: cobblemon:herd_size |
Pokémon No Underwater (Auto)pokemon/auto/pokemon_no_underwater.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Applies: avoids_water, floats, floats |
Pokémon Non-Party (Auto)pokemon/auto/pokemon_non_party.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Activities: minecraft:idle; Tasks: eat_held_item, pickup_item, stop_moving_to_item, move_to_item; Applies: wanders, wanders_hover, wanders_water, panics, retaliates, moves_to_water; Memories: cobblemon:nearest_visible_attacker, minecraft:nearest_players; Sensors: cobblemon:alpha_level_matching, minecraft:nearest_players |
Pokémon Owned (Auto)pokemon/auto/pokemon_owned.json | Pokémon Auto (Internal) | Any Entity | Auto (Internal) | Applies: pokemon_follows_owner, pokemon_sleeps_on_trainer_bed, attack_hostile_mobs, defend_owner; Memories: cobblemon:nearest_visible_attacker; Sensors: cobblemon:pokemon_owner_under_attack |
Pokémon Battlespokemon/pokemon_battles.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: cobblemon:battling, core; Tasks: switch_pokemon_from_battle, manage_flight_in_battle, look_at_targeted_battle_pokemon, look_at_target, switch_pokemon_to_battle |
Pollinates Flowerspokemon/pokemon_bee.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: cobblemon:pokemon_pollination, minecraft:idle, minecraft:core; Tasks: activity_change, pollinate_flower, place_honey_in_hive, place_honey_in_sacc_leaves, path_to_flower (+4 more); Scripts: cobblemon:apply_bee_properties |
Eats Grasspokemon/pokemon_eats_grass.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: idle, cobblemon:pokemon_herd; Tasks: eat_grass |
Pokémon Follows Ownerpokemon/pokemon_follows_owner.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: idle; Tasks: move_to_owner |
Pokémon Foxpokemon/pokemon_fox.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: minecraft:idle; Tasks: harvest_sweet_berry_bush, move_to_sweet_berry_bush, stop_moving_to_sweet_berry_bush; Scripts: cobblemon:apply_fox_properties |
Gets Mad At Poké Ball Throwerpokemon/pokemon_gets_mad_at_thrower.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Memories: minecraft:flee_target |
Pokémon Herdspokemon/pokemon_herds.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: idle, cobblemon:pokemon_herd; Tasks: find_herd_leader, switch_to_herd, count_followers, switch_from_herd, follow_herd_leader (+1 more) |
Picks Up Itemspokemon/pokemon_picks_up_items.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: minecraft:idle; Tasks: eat_held_item, pickup_item, stop_moving_to_item, move_to_item |
Pokémon Sleepspokemon/pokemon_sleeps.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: idle, cobblemon:pokemon_sleeping; Tasks: find_resting_place, go_to_sleep, wake_up |
Pokémon Sleeps on Trainer Bedpokemon/pokemon_sleeps_on_trainer_bed.json | Pokémon Behaviour | cobblemon:pokemon | Visible | Activities: idle, cobblemon:pokemon_sleep_on_trainer_bed; Tasks: switch_to_sleep_on_trainer_bed, switch_from_sleep_on_trainer_bed, sleep_if_on_trainer_bed |
Retaliatesretaliates.json | Core & Shared Behaviour | Any Entity | Visible | Activities: core, idle, fight; Tasks: get_angry_at_attacker, stop_being_angry_if_attacker_dead, attack_angry_at, switch_to_fight, switch_from_fight |
Stays At Positionstationary.json | Core & Shared Behaviour | Any Entity | Visible | Activities: minecraft:idle; Tasks: run_script; Memories: minecraft:walk_target |
Uses Healing Machinesuses_healing_machine.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: heal_using_healing_machine, go_to_healing_machine |
Wanderswanders.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: wander |
Wanders Airwanders_air.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: air_wander, fly_in_circles |
Wanders Hoveringwanders_hover.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: wander |
Wanders Waterwanders_water.json | Core & Shared Behaviour | Any Entity | Visible | Activities: idle; Tasks: water_wander, fly_in_circles |