62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"modifier": {
|
|
"type": "minecraft:furnace_smelt",
|
|
"condition": {
|
|
"type": "minecraft:any_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"minecraft:flags": {
|
|
"is_on_fire": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:entity_properties",
|
|
"entity": "direct_attacker",
|
|
"predicate": {
|
|
"minecraft:equipment": {
|
|
"mainhand": {
|
|
"predicates": {
|
|
"minecraft:enchantments": [
|
|
{
|
|
"enchantments": "#minecraft:smelts_loot"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"name": "minecraft:salmon"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"condition": {
|
|
"type": "minecraft:random_chance",
|
|
"chance": 0.05
|
|
},
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "minecraft:bone_meal"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/salmon"
|
|
} |