I am working on a Minecraft map and for the games, I have a written book with a click event, but how do you put multiple click events in one book?
Minecraft Java Edition – How to Handle Multiple Book Click Events
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft Book triggers
- Minecraft Java Edition and Commands – How to Fill Pages in a Book Without Affecting Other Pages
- Minecraft Java Edition Commands – How to /give a Written Book in Minecraft Java 1.14
- Minecraft – How to add multiple spawn events in a command in Minecraft bedrock edition
- Minecraft – Keep minecraft book opened after click event
Best Answer
For books what you need to do is add on things called clickEvents after each command. So if you had a command that looked like this:
This gives you a
tp
command simply called Tp ("text":"Tp") that teleports you to 100 100 100.What you would do to add a command is add a comma and start the next line of command:
This will teleport them 20 blocks higher then the last command. If we add both commands together the end result should look like this:
There are book generators out there that will do this for you without the need to type it out yourself, This is a link to one that is fairly popular and works great: https://www.minecraftjson.com/