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

Last edited by Phillip Nov 11, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the 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).
  • EnchantingTable.Dungeons - Chance of an Enchanted item appearing within a loot chest within a Dungeon, Mineshaft or any other randomly generated loot in Vanilla Minecraft.
  • EnchantingTable.VillagerTrades.Chance - Chance of a villager, based on profession, having a trade that includes a Mythically Enchanted item.
COMMON:
  Display: 'Common'
  Color: GRAY
  EnchantingTable:
    Chance:
    - 0 1.0
    - 1 0.5
    - 2 0.7
    MinLevel:
    - 0 10
    - 1 15
    - 2 5
    MinCost:
    - 0 3
    - 1 2
    - 2 1
  Dungeons:
    Chance: 100.0
  VillagerTrades:
    Chance:
    - librarian 100.0
    - weaponsmith 100.0
Clone repository

Manual

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