100 lines
2.2 KiB
JSON
100 lines
2.2 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 2.0,
|
|
"type": "minecraft:uniform"
|
|
}
|
|
},
|
|
{
|
|
"function": "minecraft:looting_enchant",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 1.0
|
|
}
|
|
}
|
|
],
|
|
"name": "minecraft:prismarine_shard"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"weight": 2,
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:looting_enchant",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 1.0
|
|
}
|
|
},
|
|
{
|
|
"function": "minecraft:furnace_smelt",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"predicate": {
|
|
"flags": {
|
|
"is_on_fire": true
|
|
}
|
|
},
|
|
"entity": "this"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "minecraft:cod"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"weight": 2,
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:looting_enchant",
|
|
"count": {
|
|
"min": 0.0,
|
|
"max": 1.0
|
|
}
|
|
}
|
|
],
|
|
"name": "minecraft:prismarine_crystals"
|
|
},
|
|
{
|
|
"type": "minecraft:empty"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"name": "minecraft:gameplay/fishing/fish"
|
|
}
|
|
],
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:killed_by_player"
|
|
},
|
|
{
|
|
"condition": "minecraft:random_chance_with_looting",
|
|
"chance": 0.025,
|
|
"looting_multiplier": 0.01
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |