237: Checking a chiseled bookshelf. [Minecraft Map Making]

Subscribers:
3,590
Published on ● Video Link: https://www.youtube.com/watch?v=qRy5Qgi4eT4



Minecraft
Game:
Minecraft (2011)
Duration: 7:52
312 views
9


Ep237: Checking the slots in a chiseled bookshelf for various books.

Java Version: 1.20.1

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:

Give books:
IUN: give @p book
CUA: give @p book{book:one}
CUA: give @p book{book:two,display:{Name:'{"text":"Book Two"}'}}
CUA: give @p written_book{book:custom, book:four,display:{Name:'{"text":"Book Four"}'},title:"Book Four",author:"Infernal",pages:['{"text":"Hi"}','{"text":"Ho"}']}
CUA: give @p enchanted_book{book:custom, book:five, StoredEnchantments:[{id:"mending",lvl:1s}]}
CUA: give @p knowledge_book{book:custom, book:six}

Check for untagged book:
IUN: execute if block 145 56 -9995 chiseled_bookshelf{Items:[{id:"minecraft:book"}]} run say Found!

Check for book:
IUN: execute if block 145 56 -9995 chiseled_bookshelf{Items:[{tag:{book:six}}]} run say Found!

Check for book in slot:
IUN: execute if block 145 56 -9995 chiseled_bookshelf{Items:[{Slot:0b, tag:{book:six}}]} run say Found!

Check for multiple books:
IUN: execute if block 145 56 -9995 chiseled_bookshelf{Items:[{tag:{book:one}},{tag:{book:six}}]} run say Found!

Check for multiple books in slots:
IUN: execute if block 145 56 -9995 chiseled_bookshelf{Items:[{Slot:0b, tag:{book:one}}, {Slot:5b, tag:{book:six}}]} run say Found!







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 181,722 views spread across 860 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.