126 lines
3.6 KiB
JSON
126 lines
3.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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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:cod",
|
|
"weight": 3
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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:salmon"
|
|
}
|
|
],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/polar_bear"
|
|
} |