Advertisement
Guest User

example

a guest
Feb 14th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. # In this example, when the chest using loot_table 'justaname' restocks, there is a guaranteed diamond pickaxe with silk touch enchant,
  2. # there is a 50% chance for: either a diamond/iron sword with up to 2 enchants (sharpness I-V, knockback I, or fire aspect II) OR a wood sword with silk touch,
  3. # and a 10% chance for: a 20 stack of mossy stone blocks.
  4. # Further, '3' is rolled 10 times, with a 10% chance of EITHER 1 diamond or 5 gold, but not both. (And the diamond is 5 times more likely!)
  5. # There is also a 10% chance for 20 cracked stone brick (as indicated in '4').
  6. # An additional note, the numbers used as headings can be any number or word as long as they are not the key words
  7. # such as chance, id, amount, data, rolls, name, safe, level, or enchant. They should be unique headings though as if they are the same, errors may occur.
  8. justaname:
  9. '1':
  10. id: 278
  11. enchant:
  12. name: silk_touch
  13. '2':
  14. chance: 0.5
  15. split: true
  16. diamond:
  17. id: 276
  18. iron:
  19. id: 267
  20. wood:
  21. id: 268
  22. enchant:
  23. safe: false
  24. name: silk_touch
  25. enchant:
  26. rolls: 2
  27. split: true
  28. safe: false
  29. sharpness:
  30. name: damage_all
  31. level: -5
  32. knockback:
  33. name: knockback
  34. fire:
  35. name: fire_aspect
  36. level: 2
  37. '3':
  38. rolls: 10
  39. chance: 0.1
  40. split: true
  41. '1':
  42. chance: 5
  43. id: 264
  44. '2':
  45. chance: 1
  46. id: 266
  47. amount: 5
  48. '4':
  49. chance: 0.1
  50. id: 98
  51. data: 2
  52. amount: 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement