Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicEnchants MythicEnchants
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicEnchantsMythicEnchants
  • Wiki
  • Rarities

Rarities · Changes

Page history
Update Rarities authored Sep 07, 2021 by Ashijin's avatar Ashijin
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 0 deletions
+0 -0
  • Rarities.md Rarities.md +0 -0
  • No files found.
Rarities.md 0 → 100644
View page @ 4bb48e85
MythicEnchants allows you to configure any number of "rarities" or types of enchantments. These are defined in the `raries.yml` file.
Rarities serve as an easy way to group enchantments and configure how they're obtained.
Every rarity has the following fields:
* `Display` - How the rarity is displayed in any info sources or output
* `Color` - The color enchantments of this rarity will be in the item tooltip
* `EnchantingTable.Chance` - A list of chances for an enchantment of this rarity to be chosen if a custom enchant will be applied. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is a chance (where 0.25 is 25%).
* `EnchantingTable.MinLevel` - The minimum xp level a player must have to receive an enchant of this rarity. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is the experience level.
* `EnchantingTable.MinCost` - The minimum enchanting cost to receive an enchant of this rarity. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is the cost (between 1 and 3).
```
COMMON:
Display: 'Common'
Color: GRAY
EnchantingTable:
Chance:
- 0 0.25
- 1 0.50
- 2 1.00
MinLevel:
- 0 20
- 1 10
MinCost:
- 0 3
- 1 2
```
\ No newline at end of file
Clone repository
  • Changelogs
  • Commands and Permissions
  • Custom Enchantments
  • Enchanting Tables
  • Enchantments
    • Decapitate
  • FAQ
  • Lapis Level
  • New Conditions
  • Options
  • Placeholders
  • Premade Enchantments
  • Rarities
  • Setup
  • Skills
    • Conditions
    • Conditions
      • EnchantLevel
View All Pages