Pumpkin/assets/datapack/data/minecraft/loot_table/entities/spider.json

65 lines
1.5 KiB
JSON

{
"type": "minecraft:entity",
"pools": [
{
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 2,
"min": 0
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:string"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:killed_by_player"
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": -1
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:spider_eye"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/spider"
}