malloc-datapack/data/malloc/loot_tables/items/grist_coin.json
2022-09-10 14:30:53 +02:00

47 lines
1.1 KiB
JSON

{
"type": "minecraft:empty",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:iron_nugget",
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{malloc: {coinValue:1}}"
},
{
"function": "minecraft:set_name",
"entity": "this",
"name": "Grist"
},
{
"function": "minecraft:set_lore",
"entity": "this",
"lore": [
{
"text": "Common"
},
{
"text": "A familiar currency"
},
{
"text": "Ancient Lore",
"color": "dark_purple"
}
]
},
{
"function": "minecraft:set_nbt",
"tag": "{CustomModelData:93197}"
}
]
}
]
}
]
}