Minecraft : Knowledge Books Give Command Generator for 1.20 java

Minecraft 1.20.5 has changed syntax on many commands, so most commands will no longer work without an update. An update is in progress, you can check compatibility progress here. Select Snapshot for 1.20.5+ from the dropdown menu.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Minecraft Give Enchanted Book Generator

This generator contains a complete list of all the Minecraft Recipes for knowledge books, providing an easy selection tool for command generation. Knowledge books can only be accessed by using commands and are not found in the creative inventory. This is mainly because knowledge books require the nbt Recipes tag, which is the list of recipes.

Recipes nbt tag

Without a list of recipes the knowledge_book item has no purpose. It's easy to list recipes in the nbt with the following command structure.
/give @p knowledge_book{Recipes:[iron_axe,iron_shovel]} 1

Setup Mode

Knowledge books require limited crafting enabled. It also helps to be in adventure or survival mode.
/gamerule doLimitedCrafting true

How do you reset Recipe Book triggers

This command is useful to remove all recipe knowledge from a player. Good for map start up, or when testing knowledge books. Players keep knowledge unless removed.
/recipe take @p *

This command pattern is useful to remove certain recipe knowledge from a player.
/recipe take @p minecraft:iron_shovel

Or if you need to return all recipes to a player.
/recipe give @s *

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

16 May 2024
minecraft/command-generator 2.15.8

patch1.20.5 fixed sweeping which had been renamed to sweeping_edge

17 May 2024
minecraft/command-generator 2.15.7

added1.20.5 import for banners, enchanted books, fireworks, goat horns, knowledge books, player heads, potions, signs, and written books

16 May 2024
minecraft/command-generator 2.15.6

added1.20.5 import for base command, and armor

9 May 2024
minecraft/command-generator 2.15.5

added1.20.5 support for banners and premade banners
patch1.20.5 potion Ambient, Particles, Icon

2 May 2024
minecraft/command-generator 2.15.4

added1.20.5 support for summon item
added1.20.5 support for signs
patchplayer head texture urls not working

29 Apr 2024
minecraft/command-generator 2.15.3

added1.20.5 support for Enchanted Books, Fireworks, Player Heads

23 Apr 2024
minecraft/command-generator 2.15.2

added1.20.5 support for Potions, Written Books
patchTargets not updating when updated

18 Apr 2024
minecraft/command-generator 2.15.1

added1.20.5 support for Armor, Knowledge Books
patchItem search

18 Apr 2024
minecraft/command-generator 2.15

addedGive generator migrated to version 2
addedBanner generator migrated to version 2
added1.20.5 predicates, sbt


Read version history »
(44 More Updates)