Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Recieve Command Book
- Blog post: http://siberianhat.blogspot.com.br/2015/10/the-command-book-and-tellraw-menu.html
- On a repeating command block:
- /execute @a[score_book_min=1] ~ ~ ~ /execute @e[tag=Book] ~ ~ ~ /blockdata ~ ~ ~1 {auto:1b}
- On a impulse command block:
- /blockdata ~ ~ ~ {auto:0b}
- On chain command blocks:
- /scoreboard players set @a[score_book_min=1] book 0 {Inventory:[{id:"minecraft:written_book",tag:{title:"Command Book"}}]}
- /scoreboard players set @a[rxm=90,rx=90,score_book_min=1] [obj] [score]
- /scoreboard players reset @a[score_book_min=1] book
- notes:
- Build from North (-Z) to South (+Z)
- Have an entity (armour stand or effect cloud) at the impulse command block with the "Book" tag. For that execute the following command at the location:
- /summon ArmorStand ~ ~-.5 ~ {Small:1b,NoBasePlate:1b,NoGravity:1b,Invisible:1b,Marker:1b,Tags:[0:"Book"],CustomName:"Book"}
Advertisement
Add Comment
Please, Sign In to add comment