Brickmotion

Leaves Example Loot Table

Feb 14th, 2022
1,375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.59 KB | None | 0 0
  1. {
  2.   "type": "minecraft:block",
  3.   "pools": [
  4.     {
  5.       "rolls": 1.0,
  6.       "bonus_rolls": 0.0,
  7.       "entries": [
  8.         {
  9.           "type": "minecraft:alternatives",
  10.           "children": [
  11.             {
  12.               "type": "minecraft:item",
  13.               "conditions": [
  14.                 {
  15.                   "condition": "minecraft:alternative",
  16.                   "terms": [
  17.                     {
  18.                       "condition": "minecraft:match_tool",
  19.                       "predicate": {
  20.                         "items": [
  21.                           "minecraft:shears"
  22.                         ]
  23.                       }
  24.                     },
  25.                     {
  26.                       "condition": "minecraft:match_tool",
  27.                       "predicate": {
  28.                         "enchantments": [
  29.                           {
  30.                             "enchantment": "minecraft:silk_touch",
  31.                             "levels": {
  32.                               "min": 1
  33.                             }
  34.                           }
  35.                         ]
  36.                       }
  37.                     }
  38.                   ]
  39.                 }
  40.               ],
  41.               "name": "tutorial:lemon_leaves"
  42.             },
  43.             {
  44.               "type": "minecraft:item",
  45.               "conditions": [
  46.                 {
  47.                   "condition": "minecraft:survives_explosion"
  48.                 },
  49.                 {
  50.                   "condition": "minecraft:table_bonus",
  51.                   "enchantment": "minecraft:fortune",
  52.                   "chances": [
  53.                     0.05,
  54.                     0.0625,
  55.                     0.083333336,
  56.                     0.1
  57.                   ]
  58.                 }
  59.               ],
  60.               "name": "tutorial:lemon_sapling"
  61.             }
  62.           ]
  63.         }
  64.       ]
  65.     },
  66.     {
  67.       "rolls": 1.0,
  68.       "bonus_rolls": 0.0,
  69.       "entries": [
  70.         {
  71.           "type": "minecraft:item",
  72.           "conditions": [
  73.             {
  74.               "condition": "minecraft:table_bonus",
  75.               "enchantment": "minecraft:fortune",
  76.               "chances": [
  77.                 0.02,
  78.                 0.022222223,
  79.                 0.025,
  80.                 0.033333335,
  81.                 0.1
  82.               ]
  83.             }
  84.           ],
  85.           "functions": [
  86.             {
  87.               "function": "minecraft:set_count",
  88.               "count": {
  89.                 "type": "minecraft:uniform",
  90.                 "min": 1.0,
  91.                 "max": 2.0
  92.               },
  93.               "add": false
  94.             },
  95.             {
  96.               "function": "minecraft:explosion_decay"
  97.             }
  98.           ],
  99.           "name": "minecraft:stick"
  100.         }
  101.       ],
  102.       "conditions": [
  103.         {
  104.           "condition": "minecraft:inverted",
  105.           "term": {
  106.             "condition": "minecraft:alternative",
  107.             "terms": [
  108.               {
  109.                 "condition": "minecraft:match_tool",
  110.                 "predicate": {
  111.                   "items": [
  112.                     "minecraft:shears"
  113.                   ]
  114.                 }
  115.               },
  116.               {
  117.                 "condition": "minecraft:match_tool",
  118.                 "predicate": {
  119.                   "enchantments": [
  120.                     {
  121.                       "enchantment": "minecraft:silk_touch",
  122.                       "levels": {
  123.                         "min": 1
  124.                       }
  125.                     }
  126.                   ]
  127.                 }
  128.               }
  129.             ]
  130.           }
  131.         }
  132.       ]
  133.     }
  134.   ]
  135. }
Advertisement
Add Comment
Please, Sign In to add comment