Skip to content

Instantly share code, notes, and snippets.

@boq
Last active November 1, 2018 09:38
Show Gist options
  • Save boq/533754fbdfb74fd32b14181b47ef9cf9 to your computer and use it in GitHub Desktop.
Save boq/533754fbdfb74fd32b14181b47ef9cf9 to your computer and use it in GitHub Desktop.
drop block ~ ~1 ~ insert container.0 replace kill @p
tellraw @p {"nbt":"Items[{Slot:0b}].tag.SkullOwner.Name","block":"~ ~1 ~","extra":[": ", {"nbt":"Items[{Slot:0b}].tag.SkullOwner.Id","block":"~ ~1 ~"}]}
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:fill_player_head",
"entity": "this"
}
],
"name": "minecraft:player_head"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment