Java Edition:Secret Paper
In 24w14potato, the poisonous potato plant would "send secrets" to other poisonous potato plants in the same container in the form of paper with a custom name being one of five translated texts. Despite only one of the translations using the player's name in the translation component, all secrets stored both the player's name and UUID, making each secret paper linked to a distinct player.
Obtaining
Have more than one poisonous potato plant in two or more slots in the same container, after opening the chest for the first time a piece of paper will be placed in an empty slot with the first translation key. Every time the player opens the chest the translation key changes for a total of 5 unique translation keys numbered 0 to 4.
NBT Format
The following is the NBT format of secret papers in 24w14potato, look here for a history of the format.
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