Seed for testing: -1469366519271110166
There's a temple right near the spawn point containing an enchanted book. It has the enchanted glint effect, but no enchantments.
–
Found in a Stronghold chest in one of the wood 2-level areas with the well in the middle and the ladder to get to the second level.
Has no enchantments, enchantments do not appear when combined with another enchanted book.
Seed: -272317511993219009
XYZ: -79 / 24 / -852
–
New world generated with snapshot (world seed -7582695434467690280, default conditions). Found an enchanted book in a chest in the jungle temple near to spawn, and the tool-tip shows it as an "Enchanted book" in white, without the specific enchantment.
Linked issues
is duplicated by 53
Attachments
Comments 38
Duplicate of MC-83336. Please search before creating new issues.
Strike that, this part of the bug is still happening in 15w31b.
I can relate to this one in 15w31c has well, found my 2nd zombie spawner and there's an enchanted book with nothing in it, I'll try and set the same seed in 1.8.8 and go to the same coordinates, I'll see if there's an enchanted book in it and I'll give myself the same in my 15w31c world. I think we can't really consider this cheating, I call it bug correcting.
Glancing at the code, the bug here seems simple enough: in the random-enchanted-book generating function in 1.8.8, it fetches the list of enchantments for the item before it upgrades the minecraft:book to minecraft:enchanted_book. In 15w31c it upgrades the book before fetching the list of enchantments. Since a minecraft:enchanted_book has zero "enchantability" it gets an empty list of enchantments in the latter case.
Is there any method of randomly generating any enchanted book in MC 1.8.8, two times I came accross an enchanted book and they have no enchants on them, if I could give myself some random one in a 1.8.8 using a command block or a /enchant command I could try to give it to myself in my 15w31c world.
@DF: Is this a newly-created world, or is it an old world where you are finding books in chests generated in earlier versions?
is a dungeon generated in 15w31b effected? as you probobly tested with the same dungeon