Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
MythicEnchants MythicEnchants
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 12
    • Issues 12
    • 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

Last edited by Ashijin Sep 07, 2021
Page history

Rarities

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, 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, 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, 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
Clone repository

Manual

  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues
Usage
  • Installation & Setup
  • Premade Enchantments
  • Creating Custom Enchantments
  • Enchantment Rarities
  • Enchanting Tables
Custom Enchantments
  • Enchant Mechanics
  • Enchant Targeters
  • Enchant Triggers
  • Enchant Conditions