Adding Enchanted books in loot tables

Started by Ali107 on

Topic category: Help with modding (Java Edition)

Last seen on 00:45, 19. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding Enchanted books in loot tables

How do I put enchanted books with enchantments in a loot table?

 

Placing "Enchanted book" items directly will add enchanted books but will not have a random enchantments.

Last seen on 22:44, 18. Apr 2024
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, i hope i'm not too late…
Fri, 09/02/2022 - 15:40

Hi, i hope i'm not too late with that. You need to select the normal book instead, and the value for enchanting equals to the value an enchantment table can have with bookshelfs. I mean, level 10 is not going to give you Sharpness X for example, but instead enchantments that you would get using a Table with 10 Enchanting Power. If you like maxed enchants, set this to 30 or more
If you need to place a book with an specific enchant on it, that requires modifying the json file but i saw someone doing it on the forums

Last seen on 00:45, 19. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, I already figured it…
Sat, 09/03/2022 - 10:46

Sorry, I already figured it out.

Last seen on 16:12, 18. Apr 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you add specific…
Mon, 11/06/2023 - 19:07

how do you add specific enchantments?