I want to make an input system tool for some data packs, and add buttons to press when you are done inputting. The problem is the person inputting text, can delete the buttons, and then the input won’t get processed. Is there a way to make part of a writable book read only? I thought of continually modifying the book to keep in the buttons, but I’m pretty sure it will kick you out of the book. Any help?
Minecraft – Make part of a writable book read only
minecraft-commandsminecraft-data-packsminecraft-java-edition
Related Topic
- Minecraft – make any librarian give a mending book
- Minecraft – Make .minecraft file read from a usb
- Minecraft Book triggers
- Minecraft Java Edition – How to Make a Target Selector Only Select One Entity?
- Minecraft Commands – How to Make the Tellraw Command Read from a JSON File
- Minecraft – the Java Edition method of Bedrock Edition’s /ride command
- Minecraft Java Edition – How to Make a Single-Use Checkpoint Command Block
Best Answer
If you want the text to be locked in when they submit, a alternative would to tell the player to sign the book when they're done, and test for a
written_book
in the inventory.Also, it appears that the Book and Quill uses plain text in NBT for its pages, not JSON text. Signed books use JSON text, but editable books do not.