Advancements: Difference between revisions
(added explanation and MC wiki links, updated aspects for final changes and added an example for aspect usage) |
ShadowMB76 (talk | contribs) (Added new triggers and updated changed triggers for pre-1.7.) |
||
| (7 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. | '''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== | ||
| Line 5: | Line 5: | ||
! Trigger !! Conditions !! Description | ! Trigger !! Conditions !! Description | ||
|- | |- | ||
| <code>cobblemon:pick_starter</code> || | | <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 | | <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" : # | | <code>cobblemon:catch_shiny_pokemon</code> || "count" : #|| Activates when a Player catches the specified number of shiny Pokémon. | ||
|- | |- | ||
| <code>cobblemon: | |"Will be available once breeding is added" <p> <code>cobblemon:eggs_collected</code> | ||
|"count" : # | |||
|Activates when a Player collects an Egg. | |||
|- | |- | ||
| | | "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: | | <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: | | <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". | |||
|- | |- | ||
| | | <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== | ==Examples== | ||
Some examples for Triggers that don't have existing Advancements: | Some examples for Triggers that don't have existing Advancements: | ||
===Aspects=== | ===Aspects=== | ||
< | <syntaxhighlight> | ||
{ | { | ||
"display": { | "display": { | ||
| Line 49: | Line 91: | ||
} | } | ||
} | } | ||
</ | </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" |
"count" : # | Activates when a Player collects an Egg. |
| "Will be available once breeding is added" |
"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 |
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"]
}
}
}
}