Java Edition:Secret Paper/format
This page covers the format of secret papers across multiple versions.
24w14potato
an item, see Data component format on the Minecraft Wiki for more information
components
minecraft:custom_name: JSON string
translate: item.minecraft.paper.secret.<x>where<x>is a number 0-4, inclusive.
with
clickEvent
action: suggest_command
value: /tell <player>
extra: only exists if the player is a part of a scoreboard team with a prefix or suffix when created.
: scoreboard team prefix, an empty string otherwise.
: player's username
: scoreboard team suffix, an empty string otherwise.
hoverEvent
action: show_entity
contents
id: list of four integers representing the player's uuid
name: player's username
type: minecraft:player
insertion: player's username
text: player's username, is an empty string if the player is a part of a scoreboard team with a prefix or suffix when created.
minecraft:secret_message: random identifier for the poisonous potato plant that sent the message, is removed once updated
Before 25w02a
an item, see Data component format on the Minecraft Wiki for more information
components
minecraft:custom_name: JSON string
translate: item.minecraft.paper.secret.<x>where<x>is a number 0-4, inclusive.
with
clickEvent
action: suggest_command
value: /tell <player>
extra: only exists if the player is a part of a scoreboard team with a prefix or suffix when created.
: scoreboard team prefix, an empty string otherwise.
: player's username
: scoreboard team suffix, an empty string otherwise.
hoverEvent
action: show_entity
contents
id: list of four integers representing the player's uuid
name: player's username
type: minecraft:player
insertion: player's username
text: player's username, is an empty string if the player is a part of a scoreboard team with a prefix or suffix when created.
25w02a and After
an item, see Data component format on the Minecraft Wiki for more information
components
minecraft:custom_name: NBT compound
translate: item.minecraft.paper.secret.<x>where<x>is a number 0-4, inclusive.
with
extra: only exists if the player is a part of a scoreboard team with a prefix or suffix when created.
"": scoreboard team prefix, an empty string otherwise.
"": player's username
"": scoreboard team suffix, an empty string otherwise.
insertion: player's username
text: player's username, is an empty string if the player is a part of a scoreboard team with a prefix or suffix when created.