spruce_leaves.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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": "minecraft:spruce_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": "minecraft:spruce_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. }