Custom villagers will not accept vanilla enchanted books
I made a custom villager buying an enchanted book.
The buy line is:
,buy:{id:enchanted_book,Count:1,tag:{ench:[{id:18,lvl:4}]}}
Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:
/give @p enchanted_book 1 0 {display:Name:"Something",ench:[{id:18,lvl:4}]}
(Also wierd I have to give it a name to enchant /give items)
Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.
Environment
Win 7, java 1.7.0_67
Created Issue:
Custom villagers will not accept vanilla enchanted books
I made a custom villager buying an enchanted book.
The buy line is:",buy:{id:enchanted_book,Count:1,tag:{ench:[
{id:18,lvl:4}]}},"
Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:/give @p enchanted_book 1 0 {display:Name:"Something",ench:[
{id:18,lvl:4}]} (Also wierd I have to give it a name to enchant /give items)
Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.
Environment
Win 7, java 1.7.0_67
I made a custom villager buying an enchanted book.
The buy line is:",buy:{id:enchanted_book,Count:1,tag:{ench:[
{id:18,lvl:4}]}},"
Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:/give @p enchanted_book 1 0 {display:Name:"Something",ench:[
{id:18,lvl:4}
]}(Also wierd I have to give it a name to enchant /give items)Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.
I made a custom villager buying an enchanted book.
The buy line is:",buy:{id:enchanted_book,Count:1,tag:{ench:[{id:18,lvl:4}]}},"Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:/give @p enchanted_book 1 0 {display:Name:"Something",ench:[{id:18,lvl:4}]}(Also wierd I have to give it a name to enchant /give items)
Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.
I made a custom villager buying an enchanted book.
The buy line is:",buy:{id:enchanted_book,Count:1,tag:{ench:[{id:18,lvl:4}]}},"Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:/give @p enchanted_book 1 0 {display:Name:"Something",ench:[{id:18,lvl:4}]}(Also wierd I have to give it a name to enchant /give items)
Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.
I made a custom villager buying an enchanted book.
The buy line is:,buy:{id:enchanted_book,Count:1,tag:{ench:[{id:18,lvl:4}]}}Problem is he will not accepts vanilla enchanted books.
If I /give myself a book he will accept it, like this:/give @p enchanted_book 1 0 {display:Name:"Something",ench:[{id:18,lvl:4}]}(Also wierd I have to give it a name to enchant /give items)
Its worth noting that the vanilla books have a yellow name, while the summoned ones and the trade one's are blue.
I don't see why it wouldnt work given that the item id, name and enchants are the same.

confirmed 15w43a
Is this still an issue in the current Minecraft Snapshot 15w45a or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.