In Minecraft Java Edition, text in books can include clickable actions that run commands as the player who clicks them.