Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-75534

Custom villagers will not accept vanilla enchanted books

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 1.8.1, Minecraft 1.8.8, Minecraft 15w43a
    • None
    • Win 7, java 1.7.0_67
    • Unconfirmed

      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.

            Unassigned Unassigned
            LarsynDoesGames Lars-Erik T Bjørshol
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: