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