mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-10-22 03:32:14 +01:00
Initial commit for armor statues
This commit is contained in:
50
data/armor_statues/loot_tables/replace_save.json
Normal file
50
data/armor_statues/loot_tables/replace_save.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"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_lore",
|
||||
"lore": [
|
||||
[
|
||||
{
|
||||
"selector": "@e[type=armor_stand,limit=1,sort=nearest,tag=as_selected]"
|
||||
},
|
||||
{
|
||||
"text": " Pose +"
|
||||
}
|
||||
]
|
||||
],
|
||||
"entity": "this",
|
||||
"replace": "true"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": 0
|
||||
},
|
||||
{
|
||||
"function": "minecraft:looting_enchant",
|
||||
"count":1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user