35 lines
564 B
JSON
35 lines
564 B
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:written_book",
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:copy_nbt",
|
|
"source": "this",
|
|
"ops": [
|
|
{
|
|
"source": "HandItems[1].tag",
|
|
"target": "{}",
|
|
"op": "merge"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 0
|
|
},
|
|
{
|
|
"function": "minecraft:looting_enchant",
|
|
"count":1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |