Minecraft : Raw Json Text Format Generator

Update 2.13.1, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Raw Json Text Format Tool

A visual editor for generating command compatible formatted text in json text format. Use in a number of places including chat, signs, books and data packs. The format is complex with many branching options, some options only work for certain commands or used in specific ways in Minecraft. See notes below.

Links

Adds interact events to text, each interaction typically includes both and action element and content element. Content element vary.

clickEvent

A click event occurs when the user clicks on the text, these usually these work in text chat and book. Usually don't work in signs, item name/lore text and title as the text can't be clicked. You can only have one clickEvent on a text element.

  • open_url
    • Content is the url to open, must be a full url such as https://www.gamergeeks.net/
    • Opens a url in the default browser
  • open_file
    • Opens a file on the user's computer. This usually doesn't work due to security vulnerability concerns.
  • run_command
    • Runs a command in the console
    • Works on signs
    • Requires leading slash
    • User must have permission to run the command and can be tricky to get to work
  • suggest_command -
    • Suggests a command in the chat
    • Doesn't work in books
  • change_page
    • Changes the page in a book
    • Book only

hoverEvent

A hover event occurs when the user moves the mouse over the text, these usually these work in text chat and book. Usually don't work in signs, item name/lore text and title as tthe mouse cursor doesn't interact. You can only have one hoverEvent on a text element. More clickEvent and hoverEvent within the content of a hoverEvent are not possible.

  • show_text
    • Another raw json text object. Use this tool to insert.
  • show_item
    • Shows an item.
    • id is the item, e.g. minecraft:dirt
    • count is stack count
    • tag is the nbt data
  • show_entity
    • name is the display name
    • type is the entity, such as minecraft:pig
    • uuid is the in game resource id of the entity

Obfuscated, selector, scoreboard/objective

Extra text markup, blocks are highlight within the editor. Note for some items such as signs you will need to replace the sign or use data commands on the sign each time the score objective is updated.

Obfuscated text block

In the editor use the &# button to start a obfusticated text block. You can type any characters within the block and the characters will appear obfuscated within the game.

Selector tag block

In the editor use the @ button to start a target text block. Will display the name of the selected target(s).

Scoreboard / Objective tag block

In the editor use the # button to start a object text block. The popup will allow to set the entity and object name. The in editor format is Player#Objective, which can be updated within the editor.

Work in progress

There's still quite a few things to add, most of which are Java json format.

  • Illager font and fonts in general
  • Use the actual Minecraft font
  • remove clickEvents for /title

Version History

22 Feb 2024
minecraft/command-generator 2.13.1

patchSigns clickEvent command nbt escaping

1 Feb 2024
minecraft/command-generator 2.13

addedStandalone raw Json text format generator
addedText editor help link
patchText parsing for hoverEvent

25 Jan 2024
minecraft/command-generator 2.12

addedInsert special characters to text editor menu
addedhoverEvent options, and clickEvent change page, to text editor
patchText score objects importing
patchCommand prefix on ids for give command generator


Read version history »
(40 More Updates)