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

88 lines
2.3 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:feather"
}
],
"rolls": 1
},
{
"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:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:chicken"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/chicken"
}