malloc-datapack/data/minecraft/loot_tables/entities/spider.json

87 lines
1.9 KiB
JSON
Raw Normal View History

{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:string",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 2
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 1
}
}
]
},
{
"type": "minecraft:loot_table",
"name": "malloc:items/grist_coin",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 35,
"max": 70
}
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
},
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:spider_eye",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": -1,
"max": 1
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 1
}
}
]
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
}