297: Recipe giving and click detection with knowledge books. [Minecraft Map Making]
Ep297: Using the Knowledge Book to give the player a recipe, removing the advancements so they can't get the recipe from picking up items, and using the book for right click detection.
Version: 1.19
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu
The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.
Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" with the appropriate angled bracket. Ascii code: 62
Commands used:
Setup:
IUN: scoreboard objectives add used.book used:knowledge_book
CUA: gamerule doLimitedCrafting true
Give:
IUN: give @p knowledge_book{Recipes:["bucket","lever"]}
Give recipe:
IUN: recipe give @p lever
Give lever advancement:
IUN: advancement grant @p from recipes/lever
Take Recipe:
IUN: recipe take @p lever
Take all recipes:
IUN: recipe take @p *
Give all recipes:
IUN: recipe give @p *
Remove all Advancements:
IUN: advancement revoke @a everything
Give all Recipe Advancements:
advancement grant @a from minecraft:recipes/root
Give all advancements:
IUN: advancement grant @a everything
This doesn't disable toasts, only chat notification:
IUN: gamerule announceAdvancements false
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 181,402 views spread across 859 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.