'Mending' is impossibly rare
EDIT
So here's the scoop.
It's impossible to get a Mending book from a loot chest or from fishing in 15w43c. The reason is that it requires a >30 level enchant, and all the LootTables in the world (e.g. dungeon chests, fishing, ...) only enchant with level 30, except for end cities, which enchant from 20-39. But End Cities do not have books among their loot!
So the only way to get a Mending book today is via villager trading. This will just drive everyone away from exploring, since the best loot cannot be found via exploration. This is probably not intended.
I don't know the exact Mending calculations, but some I ran some simulations with custom DeathLootTables to discover that Mending books are about...
0.0% of books enchanted at level 30
0.6% of books enchanted at level 20-39
4.0% of books enchanted at level 40
At the end of the day, it should somehow be possible (but rare) to obtain this book from world exploration. There are a variety of knobs available (loot table level min/max, overall behavior of Mending as treasure enchant, weight-likelihood of books in chests, ...) for devs to tweak this to be the 'right' level. But I'm guessing 'zero' was not the intended level, and that's where we're at now. (Beware the interplay; e.g. level 40 makes Mending 'reasonable' but 'Frost Walker' become vanishingly rare.)
ORIGINAL
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 books
Over 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{
"pools": [
{
"rolls": 27,
"entries": [
{
"type": "item",
"name": "minecraft:book",
"weight": 1,
"functions": [
{
"function": "enchant_with_levels",
"levels": 30,
"treasure": true
}
]
}
]
}
]
}
in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}
Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace
/execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace
/tp @e[type=ArmorStand] ~2 ~ ~
/execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}
for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
Created Issue:
'Mending' is impossibly rare
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 booksOver 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{ "pools": [ { "rolls": 27, "entries": [ { "type": "item", "name": "minecraft:book", "weight": 1, "functions": [ { "function": "enchant_with_levels", "levels": 30, "treasure": true } ] } ] } ] }in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace /execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace /tp @e[type=ArmorStand] ~2 ~ ~ /execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
EDIT
So here's the scoop.
It's impossible to get a Mending book from a loot chest or from fishing in 15w43c. The reason is that it requires a >30 level enchant, and all the LootTables in the world (e.g. dungeon chests, fishing, ...) only enchant with level 30, except for end cities, which enchant from 20-39. But End Cities do not have books among their loot!
So the only way to get a Mending book today is via villager trading. This will just drive everyone away from exploring, since the best loot cannot be found via exploration. This is probably not intended.
I don't know the exact Mending calculations, but some I ran some simulations with custom DeathLootTables to discover that Mending books are about...
0.0% of books enchanted at level 30
0.6% of books enchanted at level 20-39
4.0% of books enchanted at level 40At the end of the day, it should somehow be possible (but rare) to obtain this book from world exploration. There are a variety of knobs available (loot table level min/max, overall behavior of Mending as treasure enchant, weight-likelihood of books in chests, ...) for devs to tweak this to be the 'right' level. But I'm guessing 'zero' was not the intended level, and that's where we're at now.
(Honestly, I feel that 'treasure' enchants overall need to be a lot more common to find - given that all the other enchants can be gotten via enchanting, the vast majority of books found in the world are 'effectively worthless'
ORIGINAL
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 booksOver 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{ "pools": [ { "rolls": 27, "entries": [ { "type": "item", "name": "minecraft:book", "weight": 1, "functions": [ { "function": "enchant_with_levels", "levels": 30, "treasure": true } ] } ] } ] }in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace /execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace /tp @e[type=ArmorStand] ~2 ~ ~ /execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
EDIT
So here's the scoop.
It's impossible to get a Mending book from a loot chest or from fishing in 15w43c. The reason is that it requires a >30 level enchant, and all the LootTables in the world (e.g. dungeon chests, fishing, ...) only enchant with level 30, except for end cities, which enchant from 20-39. But End Cities do not have books among their loot!
So the only way to get a Mending book today is via villager trading. This will just drive everyone away from exploring, since the best loot cannot be found via exploration. This is probably not intended.
I don't know the exact Mending calculations, but some I ran some simulations with custom DeathLootTables to discover that Mending books are about...
0.0% of books enchanted at level 30
0.6% of books enchanted at level 20-39
4.0% of books enchanted at level 40At the end of the day, it should somehow be possible (but rare) to obtain this book from world exploration. There are a variety of knobs available (loot table level min/max, overall behavior of Mending as treasure enchant, weight-likelihood of books in chests, ...) for devs to tweak this to be the 'right' level. But I'm guessing 'zero' was not the intended level, and that's where we're at now.
(Honestly, I feel that 'treasure' enchants overall need to be a lot more common to find - given that all the other enchants can be gotten via enchanting, the vast majority of books found in the world are 'effectively worthless'
ORIGINAL
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 booksOver 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{ "pools": [ { "rolls": 27, "entries": [ { "type": "item", "name": "minecraft:book", "weight": 1, "functions": [ { "function": "enchant_with_levels", "levels": 30, "treasure": true } ] } ] } ] }in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace /execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace /tp @e[type=ArmorStand] ~2 ~ ~ /execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
EDIT
So here's the scoop.
It's impossible to get a Mending book from a loot chest or from fishing in 15w43c. The reason is that it requires a >30 level enchant, and all the LootTables in the world (e.g. dungeon chests, fishing, ...) only enchant with level 30, except for end cities, which enchant from 20-39. But End Cities do not have books among their loot!
So the only way to get a Mending book today is via villager trading. This will just drive everyone away from exploring, since the best loot cannot be found via exploration. This is probably not intended.
I don't know the exact Mending calculations, but some I ran some simulations with custom DeathLootTables to discover that Mending books are about...
0.0% of books enchanted at level 30
0.6% of books enchanted at level 20-39
4.0% of books enchanted at level 40At the end of the day, it should somehow be possible (but rare) to obtain this book from world exploration. There are a variety of knobs available (loot table level min/max, overall behavior of Mending as treasure enchant, weight-likelihood of books in chests, ...) for devs to tweak this to be the 'right' level. But I'm guessing 'zero' was not the intended level, and that's where we're at now. (Beware the interplay; e.g. level 40 makes Mending 'reasonable' but 'Frost Walker' become vanishingly rare.)
ORIGINAL
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 booksOver 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{ "pools": [ { "rolls": 27, "entries": [ { "type": "item", "name": "minecraft:book", "weight": 1, "functions": [ { "function": "enchant_with_levels", "levels": 30, "treasure": true } ] } ] } ] }in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace /execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace /tp @e[type=ArmorStand] ~2 ~ ~ /execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
EDIT
So here's the scoop.
It's impossible to get a Mending book from a loot chest or from fishing in 15w43c. The reason is that it requires a >30 level enchant, and all the LootTables in the world (e.g. dungeon chests, fishing, ...) only enchant with level 30, except for end cities, which enchant from 20-39. But End Cities do not have books among their loot!
So the only way to get a Mending book today is via villager trading. This will just drive everyone away from exploring, since the best loot cannot be found via exploration. This is probably not intended.
I don't know the exact Mending calculations, but some I ran some simulations with custom DeathLootTables to discover that Mending books are about...
0.0% of books enchanted at level 30
0.6% of books enchanted at level 20-39
4.0% of books enchanted at level 40At the end of the day, it should somehow be possible (but rare) to obtain this book from world exploration. There are a variety of knobs available (loot table level min/max, overall behavior of Mending as treasure enchant, weight-likelihood of books in chests, ...) for devs to tweak this to be the 'right' level. But I'm guessing 'zero' was not the intended level, and that's where we're at now. (Beware the interplay; e.g. level 40 makes Mending 'reasonable' but 'Frost Walker' become vanishingly rare.)
ORIGINAL
I did an experiment to see what the distribution of enchanted books from dungeon chests was like. It is not good:
1 Projectile Protection
12 Silk Touch
21 Feather Falling
31 Infinity
38 Thorns
39 Fortune
41 Punch
42 Blast Protection
42 Luck of the Sea
45 Fire Aspect
46 Lure
48 Aqua Affinity
48 Respiration
48 Flame
49 Looting
60 Frost Walker
68 Depth Strider
98 Fire Protection
104 Smite
115 Knockback
129 Bane of Arthropods
134 Unbreaking
193 Sharpness
232 Protection
233 Efficiency
247 Power
1174 booksOver 1100 books, and no Mending! There's "super rare", and then there's "no one will ever get it".
If you want to test the distribution yourself, here is a command block program to help:
Make a 'The Void' world. Put this loot table
{ "pools": [ { "rolls": 27, "entries": [ { "type": "item", "name": "minecraft:book", "weight": 1, "functions": [ { "function": "enchant_with_levels", "levels": 30, "treasure": true } ] } ] } ] }in "WORLD\data\loot_tables\ns\folder\mine.json"
Run
summon ArmorStand 0 4 0 {NoGravity:1}Then make a loop that runs
/execute @e[type=ArmorStand] ~ ~2 ~ setblock ~ ~ ~ chest 0 replace /execute @e[type=ArmorStand] ~ ~3 ~ setblock ~ ~ ~ hopper 0 replace /tp @e[type=ArmorStand] ~2 ~ ~ /execute @e[type=ArmorStand] ~ ~4 ~ setblock ~ ~ ~ chest 0 replace {LootTable:"ns:folder/mine"}for a few seconds. Then wait a few seconds for hoppers to suck out all the books into the lower chests. Now analyze all the books.
More data, no mending after 7000 books
16 Projectile Protection
135 Feather Falling
151 Silk Touch
158 Thorns
169 Infinity
243 Blast Protection
286 Punch
287 Respiration
288 Lure
292 Frost Walker
294 Fortune
296 Depth Strider
302 Flame
308 Fire Aspect
310 Aqua Affinity
326 Luck of the Sea
332 Looting
628 Bane of Arthropods
649 Smite
681 Fire Protection
754 Knockback
792 Unbreaking
1244 Sharpness
1360 Protection
1414 Efficiency
1443 Power
6982 books
I know that people have seen Mending in Villager trades, which makes me think there's a bug/difference in the code path for 'treasure' loot tables versus treasure villager books.
I was thinking you somehow messed up the treasure flag, but you got Frost Walker as well. Confirmed.
They need bigger lvl of enchanting than 30. It can be only found in end cities chests, which have 40 lvl enchantments. Unfortunately in the end chests there can't be books.
Invalid, [Helper] Michał is right. "levels": 39 gave me a few Mending books.
Ah yes, at level 40, Mending comes in around 4%:
0.2% Feather Falling ( 3/1259)
0.6% Blast Protection ( 7/1259)
0.6% Frost Walker ( 8/1259)
2.2% Infinity ( 28/1259)
2.5% Silk Touch ( 32/1259)
2.7% Thorns ( 34/1259)
3.2% Aqua Affinity ( 40/1259)
4.0% Mending ( 50/1259)
4.8% Luck of the Sea ( 60/1259)
5.2% Looting ( 65/1259)
5.5% Fortune ( 69/1259)
5.6% Fire Aspect ( 71/1259)
5.8% Punch ( 73/1259)
6.1% Respiration ( 77/1259)
6.4% Depth Strider ( 80/1259)
6.4% Lure ( 81/1259)
6.4% Flame ( 81/1259)
8.6% Fire Protection ( 108/1259)
9.9% Smite ( 125/1259)
11.4% Bane of Arthropods ( 144/1259)
13.3% Unbreaking ( 167/1259)
13.5% Knockback ( 170/1259)
23.4% Sharpness ( 294/1259)
24.8% Protection ( 312/1259)
24.8% Power ( 312/1259)
25.5% Efficiency ( 321/1259)
1259 books
After digging through the jar file, the only structures that can spawn Mending items are End Cities. All of the other structures just say the following:
"name": "minecraft:book",
"weight": 1,
"functions": [
{
"function": "enchant_with_levels",
"levels": 30,
"treasure": true
Although the results in this ticket are invalid, I don't think they can spawn at all. Please correct me if I'm wrong.
You're probably right. It can be argued it's a bug: If villagers can have mending enchants, so should other loot chests. It could also be a feature request. Brian McNamara: Please update the description accordingly and we'll reopen the issue.
I believe this also applies with fishing treasure as well.
If I assume end-city levels (20-39) in dungeons (which is NOT currently what the default tables do), the Mending book rate is still super-low:
0.6% Mending ( 7/1124)
1.3% Silk Touch ( 15/1124)
1.6% Thorns ( 18/1124)
1.8% Blast Protection ( 20/1124)
1.8% Infinity ( 20/1124)
2.3% Projectile Protection ( 26/1124)
3.3% Frost Walker ( 37/1124)
3.4% Flame ( 38/1124)
3.4% Lure ( 38/1124)
3.6% Feather Falling ( 41/1124)
3.6% Luck of the Sea ( 41/1124)
3.7% Respiration ( 42/1124)
4.2% Looting ( 47/1124)
4.3% Depth Strider ( 48/1124)
4.4% Aqua Affinity ( 49/1124)
4.4% Punch ( 50/1124)
4.6% Fortune ( 52/1124)
5.3% Fire Aspect ( 60/1124)
9.6% Smite ( 108/1124)
9.8% Fire Protection ( 110/1124)
10.4% Bane of Arthropods ( 117/1124)
11.0% Unbreaking ( 124/1124)
11.3% Knockback ( 127/1124)
17.1% Sharpness ( 192/1124)
19.4% Protection ( 218/1124)
19.6% Efficiency ( 220/1124)
21.6% Power ( 243/1124)
1124 books
Overall this just needs a little re-balancing, to make it possible for explorers to find, else they'll just steer everyone into breeding villagers and no one will explore for rare loot.
Ok, I updated the description.
Thanks.
Checked overworld and nether chests in jar. They are all with books enchanted with lvl 30. They must be rebalanced, with enchants 20-39, or something like this.
Even if 0.6% mending and 3.3% frost walker is seen by the devs as too high, the enchants could always be level 20-35 or similar.
Hurray! Now randomly_enchant gives each kind of enchant equal weight, so 'mending' and 'silk touch' and whatnot are 3.84% in each dungeon/mineshaft chest.
They added the tag "randomly_enchant" to most structures except stronghold_crossing, stronghold_library, stronghold_corridor, jungle_temple. Maybe intended?
http://i.imgur.com/Irc6m3u.png
another exception is fishing/treasure.
As of 06/02/16: I have a fish farm. As of the original date I have AFKed for about 3 days (while at work). This totals to about 30 hours. In that time I received an average of about 33-34 enchanted books. So 100 books. Out of those 100 books I was able to get a single mending book, and a single frost walker II book. So this is about a 1% chance. One would have to farm for about 30 hours to have a chance to get one or the other or maybe I am doing this wrong and could say 15 hours to get one or the other since I was able to get both in 30 hours. None the less you need a fully enchanted fishing rod to do so (luck of the sea III, lure III, mending, and unbreakable III)... and a lot of time.
So I can tell you it is currently working in 1.9.4; it is just VERY rare.
Also this is only true if Frost Walker and Mending have an equal chance. If they do not then I need to collect more stats.