387 lines
No EOL
12 KiB
JSON
387 lines
No EOL
12 KiB
JSON
{
|
|
"type": "minecraft:entity",
|
|
"pools": [
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"add": false,
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 2.0,
|
|
"min": 1.0
|
|
},
|
|
"function": "minecraft:set_count"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:any_of",
|
|
"terms": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"flags": {
|
|
"is_on_fire": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "direct_attacker",
|
|
"predicate": {
|
|
"equipment": {
|
|
"mainhand": {
|
|
"predicates": {
|
|
"minecraft:enchantments": [
|
|
{
|
|
"enchantments": "#minecraft:smelts_loot"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"function": "minecraft:furnace_smelt"
|
|
},
|
|
{
|
|
"count": {
|
|
"type": "minecraft:uniform",
|
|
"max": 1.0,
|
|
"min": 0.0
|
|
},
|
|
"enchantment": "minecraft:looting",
|
|
"function": "minecraft:enchanted_count_increase"
|
|
}
|
|
],
|
|
"name": "minecraft:mutton"
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
},
|
|
{
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "white"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/white"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "orange"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/orange"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "magenta"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/magenta"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "light_blue"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/light_blue"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "yellow"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/yellow"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "lime"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/lime"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "pink"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/pink"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "gray"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/gray"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "light_gray"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/light_gray"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "cyan"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/cyan"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "purple"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/purple"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "blue"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/blue"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "brown"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/brown"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "green"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/green"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "red"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/red"
|
|
},
|
|
{
|
|
"type": "minecraft:loot_table",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"components": {
|
|
"minecraft:sheep/color": "black"
|
|
},
|
|
"type_specific": {
|
|
"type": "minecraft:sheep",
|
|
"sheared": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"value": "minecraft:entities/sheep/black"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rolls": 1.0
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:entities/sheep"
|
|
} |