P A P I Placeholders
PlaceholderAPI Placeholders
When PlaceholderAPI is installed, MythicEnchants registers the following PAPI placeholders:
PlaceholderAPI
Registered under both %mythicenchants_...% and %mench_...%
Global
| Placeholder | Description |
|---|---|
total |
Total registered enchantment count |
enchseed |
Current enchanting seed for the placeholder's player |
enchseed_pin |
Currently pinned enchantment id for the placeholder's player |
enchant_name_<id> |
Display name of enchant <id> |
enchant_description_<id> |
Description of enchant <id> |
enchant_rarity_<id> |
Rarity enum name |
enchant_rarity_color_<id> |
Rarity color hex string |
enchant_rarity_display_<id> |
Colored rarity display name |
enchant_total_level_<id> |
Colored rarity display name |
Slot-based (<slot>_...)
Slots: mainhand/hand, offhand, head/helm, chest, legs, feet/boots.
| Placeholder | Description |
|---|---|
<slot>_total / <slot>_enchant_count |
Number of enchantments on that slot's item |
<slot>_enchants |
Comma-joined list of enchant IDs on that slot's item |
<slot>_has_<id> |
true/false |
<slot>_level_<id> |
Level of enchant <id> on that slot (0 if absent) |
<slot>_enchant_<n> |
Enchant ID at index <n> (1-indexed) |
<slot>_enchant_<n>_name |
Display name of the enchant at index <n> |
<slot>_enchant_<n>_level |
Level of the enchant at index <n> |
<slot>_enchant_<n>_description / _desc |
Description of the enchant at index <n> |
Example: %mythicenchants_hand_enchant_1_name%, %mench_helm_has_minecraft:protection%