Guest User

Entity Loot Table

a guest
Jul 24th, 2020
1,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.07 KB | None | 0 0
  1. {
  2.   "type": "minecraft:entity",
  3.   "pools": [
  4.     {
  5.       "rolls": 1,
  6.       "entries": [
  7.         {
  8.           "type": "minecraft:item",
  9.           "functions": [
  10.             {
  11.               "function": "minecraft:set_count",
  12.               "count": {
  13.                 "min": 1.0,
  14.                 "max": 3.0,
  15.                 "type": "minecraft:uniform"
  16.               }
  17.             },
  18.             {
  19.               "function": "minecraft:furnace_smelt",
  20.               "conditions": [
  21.                 {
  22.                   "condition": "minecraft:entity_properties",
  23.                   "predicate": {
  24.                     "flags": {
  25.                       "is_on_fire": true
  26.                     }
  27.                   },
  28.                   "entity": "this"
  29.                 }
  30.               ]
  31.             },
  32.             {
  33.               "function": "minecraft:looting_enchant",
  34.               "count": {
  35.                 "min": 0.0,
  36.                 "max": 1.0
  37.               }
  38.             }
  39.           ],
  40.           "name": "minecraft:porkchop"
  41.         }
  42.       ]
  43.     }
  44.   ]
  45. }
Add Comment
Please, Sign In to add comment