Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Advancement Customization"

From Pixelmon Wiki
(created page and wrote up how to use the currently added triggers)
 
m (Text replacement - "https://minecraft.gamepedia.com" to "https://minecraft.wiki")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
See [https://minecraft.gamepedia.com/Advancements#JSON_Format this page] for how to write your own Advancements using these [[Pixelmon]] Advancement triggers.
+
See [https://minecraft.wiki/Advancements#JSON_Format this page] for how to write your own Advancements using these [[Pixelmon]] Advancement triggers.
  
 
{|class="wikitable"
 
{|class="wikitable"
Line 16: Line 16:
 
|style="text-align:center"|<code>"pixelmon:pokedex_trigger"</code>
 
|style="text-align:center"|<code>"pixelmon:pokedex_trigger"</code>
 
|style="text-align:center"|<code>"percent"</code>: #
 
|style="text-align:center"|<code>"percent"</code>: #
|style="text-align:center"|Triggers when the Player fills their [[Pokédex]] to the percentage required. Accepts any whole number between 1 and 100.
+
|style="text-align:center"|Triggers when the Player fills their [[Pokédex]] to the percentage required. Accepts decimals from 0.1 and 100.
 +
|-
 +
|style="text-align:center"|<code>"pixelmon:spec_trigger"</code>
 +
|style="text-align:center"|<code>"spec"</code>: [[Pokémon spec]]
 +
|style="text-align:center"|Triggers when the Player catches a [[Pokémon]] that fulfils the [[Pokémon spec]]
 +
|-
 +
|style="text-align:center"|<code>"pixelmon:capture_type_trigger"</code>
 +
|style="text-align:center"|<code>"type"</code>: [[Type]] <code>"count"</code>: #
 +
|style="text-align:center"|Triggers when the Player catches <code>count</code> of [[Pokémon]] that have <code>type</code>
 +
|-
 +
|style="text-align:center"|<code>"pixelmon:wild_battle_victory_trigger"</code>
 +
|style="text-align:center"|<code>"wild_kills"</code>: #
 +
|style="text-align:center"|Triggers when the Player defeats <code>wild_kills</code> [[Pokédex]].
 
|-
 
|-

Latest revision as of 01:36, 25 September 2023

See this page for how to write your own Advancements using these Pixelmon Advancement triggers.

Trigger Conditions Description
"pixelmon:ball_capture_trigger" "pokeball":"<Pokéball name>" Triggers when the specified Pokéball is used to successfully capture a Pokémon. It accepts the internal name of the Pokéball eg: poke_ball
"pixelmon:legendary_capture_trigger" "pokeball":"<Pokémon name>" Triggers when the specified Pokémon is captured. It accepts the name of any currently in-game Pokémon as well as the word legendary
"pixelmon:pokedex_trigger" "percent": # Triggers when the Player fills their Pokédex to the percentage required. Accepts decimals from 0.1 and 100.
"pixelmon:spec_trigger" "spec": Pokémon spec Triggers when the Player catches a Pokémon that fulfils the Pokémon spec
"pixelmon:capture_type_trigger" "type": Type "count": # Triggers when the Player catches count of Pokémon that have type
"pixelmon:wild_battle_victory_trigger" "wild_kills": # Triggers when the Player defeats wild_kills Pokédex.

© 2012 - 2025 Pixelmon Mod