Minecraft:Enchanting table mechanics: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 2: | Line 2: | ||
This article is about the '''mechanics''' of [[Minecraft:enchanting]] with [[Minecraft:enchanting table]]s. | This article is about the '''mechanics''' of [[Minecraft:enchanting]] with [[Minecraft:enchanting table]]s. | ||
== Bookshelf placement == | == Bookshelf placement == | ||
| Line 129: | Line 49: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
The space between the bookshelf and table at the height of the bookshelf must be [[Minecraft:air]] | The space between the bookshelf and table at the height of the bookshelf must be a block in the tag {{Tag link|block|enchantment_power_transmitter}} like [[Minecraft:air]], [[Minecraft:snow]] and [[Minecraft:short grass]]. For corner bookshelves, the space between is 1 block diagonal from the enchanting table; for all other bookshelves, the gap must be to the side of the enchanting table. This is illustrated in the following diagrams (the blank spaces are air, and the {{BlockSprite|beacon-revision-1}} do not matter): | ||
{| data-description="Bookshelf placement schematics" | {| data-description="Bookshelf placement schematics" | ||
| Line 188: | Line 108: | ||
|..... | |..... | ||
}} | }} | ||
With a [[Minecraft:data pack]], it's possible to replace the bookshelf with a block in the tag {{tag link|block|enchantment_power_provider}}. | |||
=== Selecting an enchantment level === | === Selecting an enchantment level === | ||
<!-- This section can be removed as it's more in the style of a tutorial.--> | |||
As enchantments offered depend on the enchantment level and the enchantment level depends on the number of active bookshelves, an easy way to change the enchantments offered is to disable bookshelves by placing torches between them and the enchanting table. That way one can still have the entire 'ring' of bookshelves around the table but get lower-level enchantments. Breaking the torches restores the effect of the bookshelves. | As enchantments offered depend on the enchantment level and the enchantment level depends on the number of active bookshelves, an easy way to change the enchantments offered is to disable bookshelves by placing torches between them and the enchanting table. That way one can still have the entire 'ring' of bookshelves around the table but get lower-level enchantments. Breaking the torches restores the effect of the bookshelves. | ||
| Line 232: | Line 155: | ||
|} | |} | ||
{{-}} | |||
==== ''Java Edition'' ==== | ==== ''Java Edition'' ==== | ||
[[File:Enchantment table bookshelf placement 1.18.2.png|alt=|thumb]] | [[File:Enchantment table bookshelf placement 1.18.2.png|alt=|thumb]] | ||
| Line 271: | Line 195: | ||
|{{BlockSprite|air}}||{{BlockSprite|air}}||{{BlockSprite|air}}||15 | |{{BlockSprite|air}}||{{BlockSprite|air}}||{{BlockSprite|air}}||15 | ||
|} | |} | ||
{{-}} | |||
== Requirements == | |||
For an item to be enchanttable, it must fulfill these conditions: | |||
* It is enchantable, meaning {{in|je}} it has the components {{DCL|enchantable}} and {{DCL|enchantments}}.{{info needed|What components are required in BE?}} | |||
* It has no enchantments, meaning {{in|je}} the component {{DCL|enchantments}} must be empty.{{info needed|What is the component called in BE?}} | |||
If the item meets the conditions but has no available enchantments, it will be possible to select the slot at the enchanting table, but nothing will happen. | |||
== Experience cost == | |||
When an item is placed in an [[Minecraft:enchanting table]], the [[Minecraft:experience]] cost of each enchantment slot is selected depending on the slot and the number of [[#Bookshelf placement|nearby]] [[Minecraft:bookshelves]], which is capped at 15. | |||
For each slot, a base experience cost is calculated as: | |||
<math>xpBase\gets 1+\text{randInt}\left(7\right)+\left\lfloor\frac{\min\left(15,bookshelves\right)}2\right\rfloor+\text{randInt}\left(\min\left(15,bookshelves\right)\right)</math> | |||
: where <math>\text{randInt}</math> generates a random integer in range <math>0</math> to <math>n</math> (both included). | |||
The final experience cost is then calculated depending on the slot: | |||
: Top slot: <math>xpCost\gets \left\lfloor\max\left(1,\frac{xpBase}3\right)\right\rfloor</math> | |||
: Middle slot: <math>xpCost\gets \left\lfloor\frac{2\cdot xpBase}3\right\rfloor+1</math> | |||
: Bottom slot: <math>xpCost\gets \left\lfloor\max\left(xpBase,2\cdot bookshelves\right)\right\rfloor</math> | |||
{| class="wikitable" style="text-align: center;" | |||
! Bookshelves || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 | |||
|- | |||
! Experience cost of top slot | |||
| 1–2 || 1–3 || 1–3 || 1–4 || 1–4 || 1–5 || 1–5 || 1–6 || 1–6 || 1–7 || 2–7 || 2–8 || 2–8 || 2–9 || 2–9 || 2–10 | |||
|- | |||
! Experience cost of middle slot | |||
| 1–6 || 1–7 || 2–8 || 2–9 || 3–10 || 3–11 || 3–12 || 3–13 || 4–14 || 4–15 || 5–16 || 5–17 || 5–18 || 5–19 || 6–20 || 6–21 | |||
|- | |||
! Experience cost of bottom slot | |||
| 1–8 || 2–9 || 4–11 || 6–12 || 8–14 || 10–15 || 12–17 || 14–18 || 16–20 || 18–21 || 20–23 || 22–24 || 24–26 || 26–27 || 28–29 || 30 | |||
|} | |||
== Enchantment selection == | |||
This section describes how enchantments for an item are selected for a given experience cost. | |||
This process is used by various mechanics: | |||
* When enchanting with an [[Minecraft:enchanting table]]. | |||
* {{IN|je}} when generating items with the [[Minecraft:item modifier]] {{cd|enchant_with_levels}}, which is used in [[Minecraft:villager trade definition]]s for [[Minecraft:trade]]s and [[Minecraft:loot tables]] for [[Minecraft:generated loot]]. | |||
* {{IN|be}} when generating [[Minecraft:trades]] and [[Minecraft:generated loot]]. | |||
* {{IN|je}} when generating items with the [[Minecraft:enchantment provider]]s {{cd|enchantments_by_cost}} or {{cd|enchantments_by_cost_with_difficulty}}, which is used for [[Minecraft:Geared mobs|gearing mobs]]. | |||
* {{IN|be}} when [[Minecraft:Geared mobs|gearing mobs]]. | |||
=== Enchantment cost === | |||
For each slot, the enchantment cost, which is not shown in game, is calculated depending on the item's [[Minecraft:Enchanting table mechanics#Enchantability|enchantability]] and the experience cost: | |||
<math>eCost\gets \text{round}\left(\left(xpCost+\text{randIntTri}\left(\frac{enchantability}2\right)+1\right)\cdot\left(0.85+\text{randFloatTri}\left(0.3\right)\right)\right)</math> | |||
: where <math>\text{randIntTri}</math> generates a random integer in range <math>0</math> to <math>2\left\lfloor\frac n2\right\rfloor</math> (both included) with triangular distribution, making numbers in the middle more likely: | |||
: <math>\text{randIntTri}\left(n\right)\mapsto \text{randInt}\left(\left\lfloor\frac n2\right\rfloor\right)+\text{randInt}\left(\left\lfloor\frac n2\right\rfloor\right)</math> | |||
:: where <math>\text{randInt}</math> generates a random integer in range <math>0</math> to <math>n</math> (both included). | |||
: and <math>\text{randFloatTri}</math> generates a random number in range <math>0</math> (included) to <math>n</math> (excluded) with triangular distribution, making numbers in the middle more likely: | |||
: <math>\text{randFloatTri}\left(n\right)\mapsto \text{randFloat}\left(\frac n2\right)+\text{randFloat}\left(\frac n2\right)</math> | |||
:: where <math>\text{randFloat}</math> generates a random number in range <math>0</math> (included to <math>n</math> (excluded). | |||
{{Anchor|Enchantability}} | |||
{{IN|je}}, an item's enchantability is stored in the {{DCL|minecraft:enchantable}} item component. | |||
{| class="wikitable collapsible" | |||
|- | |||
! Item | |||
! Enchantability | |||
! <math>\left\lfloor\frac{enchantability}4\right\rfloor</math> | |||
|- | |||
| {{ItemLink|Gold Armor}} | |||
| style="text-align: center;" | 25 | |||
| style="text-align: center;" | 6 | |||
|- | |||
| {{ItemLink|id=All Gold Tools Weapons|text=Golden Weapons and Tools|link=Gold#Gear_and_tools}} | |||
| style="text-align: center;" | 22 | |||
| style="text-align: center;" | 5 | |||
|- | |||
| {{ItemLink|Leather Armor}}<br>{{ItemLink|Mace}}<br>{{ItemLink|Netherite Armor}} <br>{{ItemLink|id=All Netherite Tools Weapons|text=Netherite Weapons and Tools|link=Netherite#Gear_and_tools}} <br>{{ItemLink|id=All Wooden Tools Weapons|text=Wooden Weapons and Tools|link=Wood_(disambiguation)#Tools_and_weapons}} | |||
| style="text-align: center;" | 15 | |||
| style="text-align: center;" | 3 | |||
|- | |||
| | |||
{{ItemLink|id=All Iron Tools Weapons|text=Iron Weapons and Tools|link=Iron#Gear_and_tools}} | |||
| style="text-align: center;" | 14 | |||
| style="text-align: center;" | 3 | |||
|- | |||
| | |||
{{ItemLink|id=All Copper Tools Weapons|text=Copper Weapons and Tools|link=Copper#Gear_and_tools}} | |||
| style="text-align: center;" | 13 | |||
| style="text-align: center;" | 3 | |||
|- | |||
| {{ItemLink|Chainmail Armor}} | |||
| style="text-align: center;" | 12 | |||
| style="text-align: center;" | 3 | |||
|- | |||
| {{ItemLink|Diamond Armor}}<br>{{ItemLink|id=All Diamond Tools Weapons|text=Diamond Weapons and Tools|link=Diamond_(disambiguation)#Items}} | |||
| style="text-align: center;" | 10 | |||
| style="text-align: center;" | 2 | |||
|- | |||
| {{ItemLink|Iron Armor}}<br>{{ItemLink|Turtle Shell}} | |||
| style="text-align: center;" | 9 | |||
| style="text-align: center;" | 2 | |||
|- | |||
| {{ItemLink|Copper Armor}} | |||
| style="text-align: center;" | 8 | |||
| style="text-align: center;" | 2 | |||
|- | |||
| {{ItemLink|id=All Stone Tools Weapons|text=Stone Weapons and Tools|link=Stone_(disambiguation)#Tools_and_Weapons}} | |||
| style="text-align: center;" | 5 | |||
| style="text-align: center;" | 1 | |||
|- | |||
| {{Collapse|title=All other enchantable items|content={{ItemLink|Book}}<br>{{ItemLink|Bow}}<br>{{ItemLink|Crossbow}}<br>{{ItemLink|Fishing Rod}}<br>{{ItemLink|Trident}}}} | |||
| style="text-align: center;" | 1 | |||
| style="text-align: center;" | 0 | |||
|} | |||
=== Selection === | |||
Of every [[Minecraft:Enchantment#Treasure|non-treasure]] [[Minecraft:Enchantment#Descriptions|enchantment]] for which the item is a [[Minecraft:Enchantment#Descriptions|primary item]] or a [[Minecraft:book]], the highest level for which the enchantment cost falls within its [[#Receivable enchantments|cost range]] is a candidate. | |||
A candidate is randomly selected based on [[#Receivable enchantments|weights]], and [[Minecraft:Enchantment#Behavior|incompatible]] candidates are removed. | |||
As long as candidates remain, more enchantments can be added. There is a probability of <math>\frac{eCost}{50}</math>, and if it succeeds, a new candidate is randomly selected based on weight, incompatible candidates are removed, the <math>eCost</math> is divided by <math>2</math> and floored, and it repeats until the chance fails or no candidates remain. | |||
The probability of getting at least two enchantments is at least 1.7% per experience level the enchantment costs, resulting in a chance of at least 51% for getting at least two enchantments from a level 30 enchantment. | |||
<!-- Technically the minimum probability is round(cost * 0.85 + 0.85) * 2%, however that is rather impractical for this estimate. The average probability is excluded because it depends on the enchantability. --> | |||
== Enchanting seed == | |||
The [[Minecraft:enchantment]]s that [[Minecraft:enchanting table]]s offer are determined using the enchanting seed that is stored under {{code|XpSeed}} in each [[Minecraft:player.dat format|player's data]]. After enchanting an item, the player's seed is regenerated, resulting in different enchantments. | |||
This means enchanting tables with the same number of [[#Bookshelf placement|nearby]] [[Minecraft:Bookshelf|bookshelves]] will offer the same enchantments for all items with the same [[#Enchantability|enchantability]] and the same [[#Receivable enchantments|possible enchantments]] (same item-type or one of pickaxes, shovels or hoes) until an item is enchanted. | |||
=== Initial seed === | |||
{{exclusive|java|section=1}} | |||
When joining a world for the first time, the seed is initialized to {{code|0}}, however when joining a world with an already present enchanting seed of {{code|0}}, it will be regenerated.<ref>{{bug|MC-92803}}</ref> | |||
This meaning leaving and rejoining a world for the first time gives new enchantments without enchanting an item, and the first enchantment before ever leaving a world will always give the same enchantment for the same item-bookshelves-combination,such as [[Minecraft:Looting]] III and [[Minecraft:Unbreaking]] III for a [[Minecraft:Netherite Sword]] with 15 bookshelves. | |||
== Receivable enchantments == | == Receivable enchantments == | ||
| Line 278: | Line 334: | ||
! Compatibility | ! Compatibility | ||
! Weight | ! Weight | ||
! Level <span style="font-family: serif;">I</span><br> | ! Level <span style="font-family: serif;">I</span><br>cost | ||
! Level <span style="font-family: serif;">II</span><br> | ! Level <span style="font-family: serif;">II</span><br>cost | ||
! Level <span style="font-family: serif;">III</span><br> | ! Level <span style="font-family: serif;">III</span><br>cost | ||
! Level <span style="font-family: serif;">IV</span><br> | ! Level <span style="font-family: serif;">IV</span><br>cost | ||
! Level <span style="font-family: serif;">V</span><br> | ! Level <span style="font-family: serif;">V</span><br>cost | ||
|- | |- | ||
| Line 560: | Line 616: | ||
|} | |} | ||
== History == | == History == | ||
| Line 578: | Line 622: | ||
|{{HistoryLine||1.18.2|dev=22w07a|Bookshelf detection method changed. Previously, both the block at the level of the enchanting table and the layer above needed to be air, or the enchanting table was blocked. Additionally, bookshelves 2 across 1 over changed from being blocked by the corner block to being blocked by the edge block.}} | |{{HistoryLine||1.18.2|dev=22w07a|Bookshelf detection method changed. Previously, both the block at the level of the enchanting table and the layer above needed to be air, or the enchanting table was blocked. Additionally, bookshelves 2 across 1 over changed from being blocked by the corner block to being blocked by the edge block.}} | ||
}} | }} | ||
== Notes == | |||
{{Notelist}} | |||
== References == | == References == | ||
Revision as of 11:06, 19 July 2026
This article is about the mechanics of Minecraft:enchanting with Minecraft:enchanting tables.
Bookshelf placement
Nearby Minecraft:bookshelves raise the available enchantment levels; without any bookshelves, the experience level requirement never exceeds 8. The maximum number of bookshelves affecting enchantment level is 15.
In order to have an effect, a Minecraft:bookshelf must be placed exactly 2 blocks, laterally, off the enchanting table and be on the same level or one block height above the table. Additionally, the bookshelf must not be blocked. The meaning of "blocked" differs in both Template:Els.
Bedrock Edition
The 2-high space between the bookshelf and table must be Minecraft:air (even a torch, snow cover or carpet blocks the effect), where "between" is as shown in the following diagrams (the blank spaces are air, and the Template:BlockSprite do not matter):
| Like this from the top: | or | ||
|---|---|---|---|
| and like this from the side: | or |
Java Edition
The space between the bookshelf and table at the height of the bookshelf must be a block in the tag Template:Tag link like Minecraft:air, Minecraft:snow and Minecraft:short grass. For corner bookshelves, the space between is 1 block diagonal from the enchanting table; for all other bookshelves, the gap must be to the side of the enchanting table. This is illustrated in the following diagrams (the blank spaces are air, and the Template:BlockSprite do not matter):
| Like this from the top: | or | ||
|---|---|---|---|
| and like this from the side: | or |
The glyph particles, which fly from bookshelves, follow different rules and may appear even if the bookshelves are not enhancing the table.
There are many possible bookshelf arrangements that can reach the enchantment limit. A simple method is to surround the enchanting table with a 1-block high square of bookshelves with an empty space anywhere on the perimeter: Template:BlockGrid Another alternative that is now available is to build a 'library corner' where each bookshelf is two blocks high, as in the plan below. This arrangement gives space for 16 shelves, which is one more than needed, so if the corner bookshelf column cannot be seen, removing one of the two bookshelves in that does not have any effect, either technically or visually. Template:BlockGrid
With a Minecraft:data pack, it's possible to replace the bookshelf with a block in the tag Template:Tag link.
Selecting an enchantment level
As enchantments offered depend on the enchantment level and the enchantment level depends on the number of active bookshelves, an easy way to change the enchantments offered is to disable bookshelves by placing torches between them and the enchanting table. That way one can still have the entire 'ring' of bookshelves around the table but get lower-level enchantments. Breaking the torches restores the effect of the bookshelves.
Bedrock Edition
With the layout shown here, enchantments with any number of bookshelves from 0 to 15 may be easily obtained:
Java Edition
With the layout shown here, enchantments with any number of bookshelves from 0 to 15 may be easily obtained:
Requirements
For an item to be enchanttable, it must fulfill these conditions:
- It is enchantable, meaning Template:In it has the components Template:DCL and Template:DCL.Template:Info needed
- It has no enchantments, meaning Template:In the component Template:DCL must be empty.Template:Info needed
If the item meets the conditions but has no available enchantments, it will be possible to select the slot at the enchanting table, but nothing will happen.
Experience cost
When an item is placed in an Minecraft:enchanting table, the Minecraft:experience cost of each enchantment slot is selected depending on the slot and the number of nearby Minecraft:bookshelves, which is capped at 15.
For each slot, a base experience cost is calculated as:
<math>xpBase\gets 1+\text{randInt}\left(7\right)+\left\lfloor\frac{\min\left(15,bookshelves\right)}2\right\rfloor+\text{randInt}\left(\min\left(15,bookshelves\right)\right)</math>
- where <math>\text{randInt}</math> generates a random integer in range <math>0</math> to <math>n</math> (both included).
The final experience cost is then calculated depending on the slot:
- Top slot: <math>xpCost\gets \left\lfloor\max\left(1,\frac{xpBase}3\right)\right\rfloor</math>
- Middle slot: <math>xpCost\gets \left\lfloor\frac{2\cdot xpBase}3\right\rfloor+1</math>
- Bottom slot: <math>xpCost\gets \left\lfloor\max\left(xpBase,2\cdot bookshelves\right)\right\rfloor</math>
| Bookshelves | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Experience cost of top slot | 1–2 | 1–3 | 1–3 | 1–4 | 1–4 | 1–5 | 1–5 | 1–6 | 1–6 | 1–7 | 2–7 | 2–8 | 2–8 | 2–9 | 2–9 | 2–10 |
| Experience cost of middle slot | 1–6 | 1–7 | 2–8 | 2–9 | 3–10 | 3–11 | 3–12 | 3–13 | 4–14 | 4–15 | 5–16 | 5–17 | 5–18 | 5–19 | 6–20 | 6–21 |
| Experience cost of bottom slot | 1–8 | 2–9 | 4–11 | 6–12 | 8–14 | 10–15 | 12–17 | 14–18 | 16–20 | 18–21 | 20–23 | 22–24 | 24–26 | 26–27 | 28–29 | 30 |
Enchantment selection
This section describes how enchantments for an item are selected for a given experience cost.
This process is used by various mechanics:
- When enchanting with an Minecraft:enchanting table.
- Template:IN when generating items with the Minecraft:item modifier Template:Cd, which is used in Minecraft:villager trade definitions for Minecraft:trades and Minecraft:loot tables for Minecraft:generated loot.
- Template:IN when generating Minecraft:trades and Minecraft:generated loot.
- Template:IN when generating items with the Minecraft:enchantment providers Template:Cd or Template:Cd, which is used for gearing mobs.
- Template:IN when gearing mobs.
Enchantment cost
For each slot, the enchantment cost, which is not shown in game, is calculated depending on the item's enchantability and the experience cost:
<math>eCost\gets \text{round}\left(\left(xpCost+\text{randIntTri}\left(\frac{enchantability}2\right)+1\right)\cdot\left(0.85+\text{randFloatTri}\left(0.3\right)\right)\right)</math>
- where <math>\text{randIntTri}</math> generates a random integer in range <math>0</math> to <math>2\left\lfloor\frac n2\right\rfloor</math> (both included) with triangular distribution, making numbers in the middle more likely:
- <math>\text{randIntTri}\left(n\right)\mapsto \text{randInt}\left(\left\lfloor\frac n2\right\rfloor\right)+\text{randInt}\left(\left\lfloor\frac n2\right\rfloor\right)</math>
- where <math>\text{randInt}</math> generates a random integer in range <math>0</math> to <math>n</math> (both included).
- and <math>\text{randFloatTri}</math> generates a random number in range <math>0</math> (included) to <math>n</math> (excluded) with triangular distribution, making numbers in the middle more likely:
- <math>\text{randFloatTri}\left(n\right)\mapsto \text{randFloat}\left(\frac n2\right)+\text{randFloat}\left(\frac n2\right)</math>
- where <math>\text{randFloat}</math> generates a random number in range <math>0</math> (included to <math>n</math> (excluded).
Template:Anchor Template:IN, an item's enchantability is stored in the Template:DCL item component.
| Item | Enchantability | <math>\left\lfloor\frac{enchantability}4\right\rfloor</math> |
|---|---|---|
| Template:ItemLink | 25 | 6 |
| Template:ItemLink | 22 | 5 |
| Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink |
15 | 3 |
| 14 | 3 | |
| 13 | 3 | |
| Template:ItemLink | 12 | 3 |
| Template:ItemLink Template:ItemLink |
10 | 2 |
| Template:ItemLink Template:ItemLink |
9 | 2 |
| Template:ItemLink | 8 | 2 |
| Template:ItemLink | 5 | 1 |
| Template:Collapse | 1 | 0 |
Selection
Of every non-treasure enchantment for which the item is a primary item or a Minecraft:book, the highest level for which the enchantment cost falls within its cost range is a candidate.
A candidate is randomly selected based on weights, and incompatible candidates are removed.
As long as candidates remain, more enchantments can be added. There is a probability of <math>\frac{eCost}{50}</math>, and if it succeeds, a new candidate is randomly selected based on weight, incompatible candidates are removed, the <math>eCost</math> is divided by <math>2</math> and floored, and it repeats until the chance fails or no candidates remain.
The probability of getting at least two enchantments is at least 1.7% per experience level the enchantment costs, resulting in a chance of at least 51% for getting at least two enchantments from a level 30 enchantment.
Enchanting seed
The Minecraft:enchantments that Minecraft:enchanting tables offer are determined using the enchanting seed that is stored under Template:Code in each player's data. After enchanting an item, the player's seed is regenerated, resulting in different enchantments.
This means enchanting tables with the same number of nearby bookshelves will offer the same enchantments for all items with the same enchantability and the same possible enchantments (same item-type or one of pickaxes, shovels or hoes) until an item is enchanted.
Initial seed
Template:Exclusive When joining a world for the first time, the seed is initialized to Template:Code, however when joining a world with an already present enchanting seed of Template:Code, it will be regenerated.<ref>Template:Bug</ref>
This meaning leaving and rejoining a world for the first time gives new enchantments without enchanting an item, and the first enchantment before ever leaving a world will always give the same enchantment for the same item-bookshelves-combination,such as Minecraft:Looting III and Minecraft:Unbreaking III for a Minecraft:Netherite Sword with 15 bookshelves.
Receivable enchantments
History
Notes
References
External links
- https://github.com/SeeYou-Man/Minecraft-Enchantment-Probabilities – A GitHub project currently in progress to calculate the probability to get specific enchantments, Feel free help out. Probability for 1.21 enchants are generated with 100k enchants for Item and material combo. Host your own server for now (Should work with a maybe 70+% functionality as of 22/11/2025 - SeeYouMan).
- https://web.archive.org/web/20181019012113/http://minecraftenchantmentcalculator.com/rev6/ (archived) – Tests enchantments by simulating probability of getting specific enchantments on a tool based on level and (optionally) the "clue" shown
- https://minecraft.tools/en/enchant.php – Provides some ability to test enchantments, although its interface is significantly less verbose on the specifics
- https://github.com/Earthcomputer/EnchantmentCracker – Cracks the XP seed and lets you choose the exact enchantments you want, though the process is highly tedious and error-prone. Deprecated in favor of clientcommands
Minecraft:cs:Princip očarování Minecraft:es:Mecánicas de encantamiento Minecraft:it:Meccaniche del tavolo per incantesimi Minecraft:ja:エンチャントの仕組み Minecraft:ko:마법 작동 원리 Minecraft:lzh:淬靈 Minecraft:pt:Mecânica de encantamento Minecraft:th:กลไกการร่ายมนตร์ Minecraft:zh:附魔(物品修饰)