Specific Enchants from villagers

Started by KyleC_1202 on

Topic category: Help with modding (Java Edition)

Last seen on 15:28, 12. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Specific Enchants from villagers
Wed, 09/04/2024 - 23:32 (edited)

Im trying to create a mod which adds a new villager profession called the enchanter, whos purpose is to sell enchanted books (as apposed to the current librarian), I have the profession set up and working, however I cant get any enchants to be applied to the books which are being sold. I assume this is something to do with nbt data, but i cant figure out how to add nbt data to a villager trade.

Any help is appreciated

Edited by KyleC_1202 on Wed, 09/04/2024 - 23:32