(added descriptions of triggers)
 
(Added new triggers and updated changed triggers for pre-1.7.)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Advancements''' are Minecraft's modern Achievement system that can be used to provide rewards  for completing certain tasks. For more information refer to the Minecraft Wiki: https://minecraft.wiki/w/Advancement and https://minecraft.wiki/w/Advancement_definition
==Triggers==
==Triggers==
{| class="wikitable"
{| class="wikitable"
! Trigger !! Conditions !! Description
! Trigger !! Conditions !! Description
|-
|-
| <code>cobblemon:pick_starter</code> || None || Activates when a Player selects a starter.
| <code>cobblemon:pick_starter</code> || "species" : "cobblemon:pokemon"
"properties" : "property=true"
| Activates when a Player selects a starter.
|-
|-
| <code>cobblemon:catch_pokemon</code> || count : # <p>type : "cobblemon:pokemon" || Activates when a Player catches the specified number of the specified Pokémon.<p> Type can also be listed as "any".
| <code>cobblemon:catch_pokemon</code> || "count" : # <p> "type" : "elemental type" <p> "species" : "cobblemon:pokemon" || Activates when a Player catches the specified number of the Pokémon type. <p> Type can also be listed as "any".
|-
|-
| <code>cobblemon:catch_shiny_pokemon</code> || count : # <p>type : "cobblemon:pokemon" || Activates when a Player catches the specified number of the specified shiny Pokémon.<p> Type can also be listed as "any".
| <code>cobblemon:catch_shiny_pokemon</code> || "count" : #|| Activates when a Player catches the specified number of shiny Pokémon.
|-
|-
| <code>cobblemon:eggs_hatched</code> || count : # <p>type : "cobblemon:pokemon" || Activates when a Player hatches the specified number of the specified Pokémon.<p> Type can also be listed as "any".
|"Will be available once breeding is added" <p> <code>cobblemon:eggs_collected</code>  
|"count" : #
|Activates when a Player collects an Egg.
|-
|-
| '''Not currently active'''<p><code>cobblemon:pokemon_evolved</code> || count : # <p>type : "cobblemon:pokemon" || Activates when a Player evolves the specified number of the specified Pokémon.<p> Type can also be listed as "any".
| "Will be available once breeding is added" <p> <code>cobblemon:eggs_hatched</code> || "count" : #|| Activates when a Player hatches the specified number of Eggs.
|-
|-
| <code>cobblemon:battles_won</code> || count : # || Activates when a Player wins the specified number of battles.
| <code>cobblemon:pokemon_evolved</code> || "count" : # <p> "species" : "cobblemon:pokemon" <p> "evolution" : "cobblemon:pokemon" || Activates when a Player evolves the specified number of the specified Pokémon. <p> Species and Evolution can also be listed as "any".
|-
|-
| <code>cobblemon:pokemon_defeated</code> || count : # <p>type : "cobblemon:pokemon" || Activates when a Player defeats the specified number of the specified Pokémon.<p> Type can also be listed as "any".
| <code>cobblemon:battles_won</code> || "count" : #
"battle_types" : "pvp"
| Activates when a Player wins the specified number of battles of the specific format.
Format options include: "pvp", "pvw" and "pvn".
|-
|-
| '''Not currently active'''<p><code>cobblemon:aspect_collected</code> || aspect : "aspect_name" || Activates when a Player collects every aspect in the feature provided (eg "snake_pattern" for collecting all Arbok skins).
| <code>cobblemon:pokemon_defeated</code> || "count" : # || Activates when a Player defeats the specified number of Pokémon.
|-
| <code>cobblemon:aspects_collected</code> || "aspects" : ["aspect_1", "aspect_2"] <p> "species" : "cobblemon:pokemon" || Activates when a Player collects every aspect listed for the specified Pokémon.
|-
| <code>cobblemon:pokemon_interact</code> || "species" : "cobblemon:pokemon" <p> "item" : "minecraft:item" || Activates when a Player uses the specified item on the specified Pokémon. <p> Both species and item can also be listed as "any".
|-
| <code>cobblemon:party</code> || "party" : ["cobblemon:pokemon", "cobblemon:pokemon"] || Activates when a Player has the specified Pokémon in their party. <p> Each listed species can also be listed as "any".
|-
| <code>cobblemon:level_up</code> || "level" : # <p> "has_evolved" : boolean || Activates when a Player levels up a Pokémon to the specified level.
|-
| <code>cobblemon:pasture_use</code> || "species" : "cobblemon:pokemon"
"properties" : "property=true"
| Activates when a Player uses a Pasture block.
|-
|<code>cobblemon:resurrect_pokemon</code>
|"species" : "cobblemon:pokemon"
"properties" : "property=true"
|Activates when a Player collects a revived Pokémon.
|-
| <code>cobblemon:trade_pokemon</code> || "traded" : "cobblemon:pokemon" <p> "received" : "cobblemon:pokemon" <p> "traded_held_item" : "minecraft:air" <p> "received_held_item" : "minecraft:air" || Activates when a Player trades the specified Pokémon for the other specidied Pokémon including held item. <p> Traded and received can be listed as "any". The held items can be skipped or set as <code>"minecraft:air"</code>
|-
|<code>cobblemon:cast_poke_rod</code>
|"baitId" : "empty_bait"
|Activates when any PokéRod is cast.
Bait can be skipped or set as "empty_bait"
|-
|<code>cobblemon:reel_in_pokemon</code>
|"species" : "cobblemon:pokemon"
"baitId" : "empty_bait"
|Activates when any PokéRod catch is reeled in.
Bait can be skipped or set as "empty_bait"
|-
|<code>cobblemon:plant_tumblestone</code>
|None
|Activates when tumblestone is planted.
|}
|}
==Examples==
Some examples for Triggers that don't have existing Advancements:
===Aspects===
<syntaxhighlight>
{
  "display": {
    "icon": {
      "item": "cobblemon:great_ball"
    },
    "title": {
      "translate": "advancements.cobblemon.snakesss"
    },
    "description": {
      "translate": "advancements.cobblemon.snakesss.description"
    },
    "background": "cobblemon:textures/blocks/apricorn_planks.png"
  },
  "parent": "cobblemon:root",
  "criteria": {
    "catch": {
      "trigger": "cobblemon:aspects_collected",
      "conditions": {
        "pokemon": "cobblemon:arbok",
        "aspects": ["snake-pattern-classic", "snake-pattern-sound", "snake-pattern-legacy"]
      }
    }
  }
}
</syntaxhighlight>

Latest revision as of 00:09, 4 August 2025

Advancements are Minecraft's modern Achievement system that can be used to provide rewards for completing certain tasks. For more information refer to the Minecraft Wiki: https://minecraft.wiki/w/Advancement and https://minecraft.wiki/w/Advancement_definition

Triggers

Trigger Conditions Description
cobblemon:pick_starter "species" : "cobblemon:pokemon"

"properties" : "property=true"

Activates when a Player selects a starter.
cobblemon:catch_pokemon "count" : #

"type" : "elemental type"

"species" : "cobblemon:pokemon"

Activates when a Player catches the specified number of the Pokémon type.

Type can also be listed as "any".

cobblemon:catch_shiny_pokemon "count" : # Activates when a Player catches the specified number of shiny Pokémon.
"Will be available once breeding is added"

cobblemon:eggs_collected

"count" : # Activates when a Player collects an Egg.
"Will be available once breeding is added"

cobblemon:eggs_hatched

"count" : # Activates when a Player hatches the specified number of Eggs.
cobblemon:pokemon_evolved "count" : #

"species" : "cobblemon:pokemon"

"evolution" : "cobblemon:pokemon"

Activates when a Player evolves the specified number of the specified Pokémon.

Species and Evolution can also be listed as "any".

cobblemon:battles_won "count" : #

"battle_types" : "pvp"

Activates when a Player wins the specified number of battles of the specific format.

Format options include: "pvp", "pvw" and "pvn".

cobblemon:pokemon_defeated "count" : # Activates when a Player defeats the specified number of Pokémon.
cobblemon:aspects_collected "aspects" : ["aspect_1", "aspect_2"]

"species" : "cobblemon:pokemon"

Activates when a Player collects every aspect listed for the specified Pokémon.
cobblemon:pokemon_interact "species" : "cobblemon:pokemon"

"item" : "minecraft:item"

Activates when a Player uses the specified item on the specified Pokémon.

Both species and item can also be listed as "any".

cobblemon:party "party" : ["cobblemon:pokemon", "cobblemon:pokemon"] Activates when a Player has the specified Pokémon in their party.

Each listed species can also be listed as "any".

cobblemon:level_up "level" : #

"has_evolved" : boolean

Activates when a Player levels up a Pokémon to the specified level.
cobblemon:pasture_use "species" : "cobblemon:pokemon"

"properties" : "property=true"

Activates when a Player uses a Pasture block.
cobblemon:resurrect_pokemon "species" : "cobblemon:pokemon"

"properties" : "property=true"

Activates when a Player collects a revived Pokémon.
cobblemon:trade_pokemon "traded" : "cobblemon:pokemon"

"received" : "cobblemon:pokemon"

"traded_held_item" : "minecraft:air"

"received_held_item" : "minecraft:air"

Activates when a Player trades the specified Pokémon for the other specidied Pokémon including held item.

Traded and received can be listed as "any". The held items can be skipped or set as "minecraft:air"

cobblemon:cast_poke_rod "baitId" : "empty_bait" Activates when any PokéRod is cast.

Bait can be skipped or set as "empty_bait"

cobblemon:reel_in_pokemon "species" : "cobblemon:pokemon"

"baitId" : "empty_bait"

Activates when any PokéRod catch is reeled in.

Bait can be skipped or set as "empty_bait"

cobblemon:plant_tumblestone None Activates when tumblestone is planted.

Examples

Some examples for Triggers that don't have existing Advancements:

Aspects

{
  "display": {
    "icon": {
      "item": "cobblemon:great_ball"
    },
    "title": {
      "translate": "advancements.cobblemon.snakesss"
    },
    "description": {
      "translate": "advancements.cobblemon.snakesss.description"
    },
    "background": "cobblemon:textures/blocks/apricorn_planks.png"
  },
  "parent": "cobblemon:root",
  "criteria": {
    "catch": {
      "trigger": "cobblemon:aspects_collected",
      "conditions": {
        "pokemon": "cobblemon:arbok",
        "aspects": ["snake-pattern-classic", "snake-pattern-sound", "snake-pattern-legacy"]
      }
    }
  }
}