large_fern.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "entries": [
  7. {
  8. "type": "minecraft:alternatives",
  9. "children": [
  10. {
  11. "type": "minecraft:item",
  12. "conditions": [
  13. {
  14. "condition": "minecraft:match_tool",
  15. "predicate": {
  16. "item": "minecraft:shears"
  17. }
  18. }
  19. ],
  20. "functions": [
  21. {
  22. "function": "minecraft:set_count",
  23. "count": 2
  24. }
  25. ],
  26. "name": "minecraft:fern"
  27. },
  28. {
  29. "type": "minecraft:item",
  30. "conditions": [
  31. {
  32. "condition": "minecraft:survives_explosion"
  33. },
  34. {
  35. "condition": "minecraft:random_chance",
  36. "chance": 0.125
  37. }
  38. ],
  39. "name": "minecraft:wheat_seeds"
  40. }
  41. ]
  42. }
  43. ],
  44. "conditions": [
  45. {
  46. "condition": "minecraft:block_state_property",
  47. "block": "minecraft:large_fern",
  48. "properties": {
  49. "half": "lower"
  50. }
  51. },
  52. {
  53. "condition": "minecraft:location_check",
  54. "predicate": {
  55. "block": {
  56. "block": "minecraft:large_fern",
  57. "state": {
  58. "half": "upper"
  59. }
  60. }
  61. },
  62. "offsetY": 1
  63. }
  64. ]
  65. },
  66. {
  67. "rolls": 1.0,
  68. "entries": [
  69. {
  70. "type": "minecraft:alternatives",
  71. "children": [
  72. {
  73. "type": "minecraft:item",
  74. "conditions": [
  75. {
  76. "condition": "minecraft:match_tool",
  77. "predicate": {
  78. "item": "minecraft:shears"
  79. }
  80. }
  81. ],
  82. "functions": [
  83. {
  84. "function": "minecraft:set_count",
  85. "count": 2
  86. }
  87. ],
  88. "name": "minecraft:fern"
  89. },
  90. {
  91. "type": "minecraft:item",
  92. "conditions": [
  93. {
  94. "condition": "minecraft:survives_explosion"
  95. },
  96. {
  97. "condition": "minecraft:random_chance",
  98. "chance": 0.125
  99. }
  100. ],
  101. "name": "minecraft:wheat_seeds"
  102. }
  103. ]
  104. }
  105. ],
  106. "conditions": [
  107. {
  108. "condition": "minecraft:block_state_property",
  109. "block": "minecraft:large_fern",
  110. "properties": {
  111. "half": "upper"
  112. }
  113. },
  114. {
  115. "condition": "minecraft:location_check",
  116. "predicate": {
  117. "block": {
  118. "block": "minecraft:large_fern",
  119. "state": {
  120. "half": "lower"
  121. }
  122. }
  123. },
  124. "offsetY": -1
  125. }
  126. ]
  127. }
  128. ]
  129. }