... | @@ -5,32 +5,41 @@ Rarities serve as an easy way to group enchantments and configure how they're ob |
... | @@ -5,32 +5,41 @@ Rarities serve as an easy way to group enchantments and configure how they're ob |
|
Every rarity has the following fields:
|
|
Every rarity has the following fields:
|
|
* `Display` - How the rarity is displayed in any info sources or output
|
|
* `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
|
|
* `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%).
|
|
* `Sources` - The various methods in which Enchantments of this rarity can be generated in-game: Can either be "villager" for villager trades, or "enchantingTable to have a chance of being rolled whilst enchanting on an Enchanting Table.
|
|
* `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.
|
|
* `Loot_Chance` - The chance for Enchantments of this rarity to spawn in "loot chests" (such as mineshaft chests, spawner chests etc)
|
|
* `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).
|
|
|
|
* `EnchantingTable.Dungeons.Chance` - 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. The first value is the profession of the villager, the second is a chance in percentage (100.0 is 100%)
|
|
## Villager source attributes:
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| profession| v | The profession of the villager, as per Spigot's [Villager Professions](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Villager.Profession.html). | N/A |
|
|
|
|
| chance | c | Chance of an enchantable item being enchanted with a Mythic Enchantment. | 1.0 |
|
|
|
|
|
|
|
|
## EnchantingTable source attributes:
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| chance | c | Chance of the enchanted item being rolled during enchantment. | 1.0 |
|
|
|
|
| level |l, lv, lvl | The level of the Enchantment Rolled will be generated with, starting at 0. |0 |
|
|
|
|
|table-level|tl, t-lvl, tableLvl|The level requirement on the Enchanting Table needed for a chance to roll the Enchantment, starting at 0. .|0|
|
|
|
|
|min-cost|mc|The minimum required lapis (hence also levels) required to be spent for a chance at rolling the enchantment, starting at 0. |0|
|
|
|
|
|
|
```
|
|
```
|
|
COMMON:
|
|
COMMON:
|
|
Display: 'Common'
|
|
Display: 'Common'
|
|
Color: GRAY
|
|
Color: GRAY
|
|
EnchantingTable:
|
|
Sources:
|
|
Chance:
|
|
- villager{profession=weaponsmith;chance=1.0}
|
|
- 0 1.0
|
|
- villager{profession=mason;chance=1.0}
|
|
- 1 0.5
|
|
- enchantingTable{level=1;tableLevel=20;chance=0.05}
|
|
- 2 0.7
|
|
- enchantingTable{level=2;tableLevel=20;chance=0.05}
|
|
MinLevel:
|
|
|
|
- 0 10
|
|
|
|
- 1 15
|
|
|
|
- 2 5
|
|
|
|
MinCost:
|
|
|
|
- 0 3
|
|
|
|
- 1 2
|
|
|
|
- 2 1
|
|
|
|
Dungeons:
|
|
Dungeons:
|
|
Chance: 100.0
|
|
Chance: 0.5
|
|
VillagerTrades:
|
|
|
|
Chance:
|
|
RARE:
|
|
- librarian 100.0
|
|
Display: 'Rare'
|
|
- weaponsmith 100.0 |
|
Color: GRAY
|
|
\ No newline at end of file |
|
Sources:
|
|
|
|
- enchantingTable{level=0;tableLevel=20;chance=0.5}
|
|
|
|
- enchantingTable{level=1;tableLevel=25;chance=0.25}
|
|
|
|
- enchantingTable{level=2;tableLevel=30;chance=0.50} |
|
|
|
\ No newline at end of file |