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

85 lines
2.3 KiB
JSON

{
"type": "minecraft:empty",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:wooden_sword",
"functions": [
{
"function": "minecraft:set_name",
"name": {
"text": "Dagger",
"color": "green"
}
},
{
"function": "minecraft:set_lore",
"lore": [
{
"text": "Uncommon",
"color": "green"
},
{
"text": "A bloody relic",
"color": "gray"
},
{
"text": "Season 3",
"color": "dark_purple"
}
]
},
{
"function": "minecraft:set_nbt",
"tag": "{RepairCost:99,CustomModelData:92197}"
},
{
"function": "minecraft:set_attributes",
"modifiers": [
{
"attribute": "minecraft:generic.movement_speed",
"name": "",
"amount": 0.9,
"operation": "multiply_base",
"slot": "mainhand"
},
{
"attribute": "minecraft:generic.follow_range",
"name": "",
"amount": 4,
"operation": "multiply_base",
"slot": "mainhand"
},
{
"attribute": "minecraft:generic.max_health",
"name": "",
"amount": 4,
"operation": "addition",
"slot": "mainhand"
},
{
"attribute": "minecraft:generic.attack_damage",
"name": "",
"amount": 3,
"operation": "addition",
"slot": "mainhand"
},
{
"attribute": "minecraft:generic.knockback_resistance",
"name": "",
"amount": 0.8,
"operation": "multiply_base",
"slot": "mainhand"
}
]
}
]
}
]
}
]
}