Minecraft : Knowledge Books Give Command Generator for Java

Update 2.41.5, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

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 /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

17 Sep 2026
minecraft/command-generator 2.41.5

added26.3 content
addedMore predicates

10 Sep 2026
minecraft/command-generator 2.41.4

addedPreloading 26.3 items and content
addedSummon options for interaction, marker, ominous_item_spawner
patchGive generator patch can_break, can_place

3 Sep 2026
minecraft/command-generator 2.41.3

addedSummon item_display and text_display
patchSummon issue with fireworks and potions
patchSummon issue with summon eggs (again)

27 Aug 2026
minecraft/command-generator 2.41.2

addedend_crystal nbt tags
patchdamage_resistant for multi values in 26.1
patchbee nbt tags
patchmotion and rotation nbt tags
patchvarious uuid and nbt pathing issues

20 Aug 2026
minecraft/command-generator 2.41.1

patchsummon blocks fixes and improvements
patchsome autocomplete quirky issues during typing

13 Aug 2026
minecraft/command-generator 2.41

addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing


Read version history »
(131 More Updates)