Advertisement
skylinerw_loot_table

EXAMPLE: set_attributes

Oct 28th, 2015
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.60 KB | None | 0 0
  1. {
  2.     "pools": [
  3.         {
  4.             "rolls": 1,
  5.             "entries": [
  6.                 {
  7.                     "type": "item",
  8.                     "name": "minecraft:diamond_sword",
  9.                     "weight": 1,
  10.                     "functions": [
  11.                         {
  12.                             "function": "set_attributes",
  13.                             "modifiers": [
  14.                                 {
  15.                                     "attribute": "generic.attackDamage",
  16.                                     "name": "More Damage",
  17.                                     "amount": {
  18.                                         "min": 3.0,
  19.                                         "max": 6.0
  20.                                     },
  21.                                     "operation": "multiply_base",
  22.                                     "slot": "mainhand"
  23.                                 },
  24.                                 {
  25.                                     "attribute": "generic.maxHealth",
  26.                                     "name": "More Health",
  27.                                     "amount": 2.0,
  28.                                     "operation": "addition",
  29.                                     "id": "00000000-0000-0001-0000-000000000001",
  30.                                     "slot": [
  31.                                         "mainhand",
  32.                                         "offhand"
  33.                                     ]
  34.                                 }
  35.                             ]
  36.                         }
  37.                     ]
  38.                 }
  39.             ]
  40.         }
  41.     ]
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement