malloc-datapack/data/malloc/loot_tables/functions/grist_coin.json

47 lines
1.1 KiB
JSON
Raw Normal View History

2022-09-10 12:28:27 +00:00
{
"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}"
}
]
}
]
}
]
}