93 lines
		
	
	
		
			No EOL
		
	
	
		
			2.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			No EOL
		
	
	
		
			2.5 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": 0.0
 | |
|               },
 | |
|               "function": "minecraft:set_count"
 | |
|             },
 | |
|             {
 | |
|               "count": {
 | |
|                 "type": "minecraft:uniform",
 | |
|                 "max": 1.0,
 | |
|                 "min": 0.0
 | |
|               },
 | |
|               "enchantment": "minecraft:looting",
 | |
|               "function": "minecraft:enchanted_count_increase"
 | |
|             }
 | |
|           ],
 | |
|           "name": "minecraft:feather"
 | |
|         }
 | |
|       ],
 | |
|       "rolls": 1.0
 | |
|     },
 | |
|     {
 | |
|       "bonus_rolls": 0.0,
 | |
|       "entries": [
 | |
|         {
 | |
|           "type": "minecraft:item",
 | |
|           "functions": [
 | |
|             {
 | |
|               "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:chicken"
 | |
|         }
 | |
|       ],
 | |
|       "rolls": 1.0
 | |
|     }
 | |
|   ],
 | |
|   "random_sequence": "minecraft:entities/chicken"
 | |
| } |