plants.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. [
  2. {
  3. "type": "grass",
  4. "name": "Grass",
  5. "itemType": null,
  6. "model": {
  7. "modelPath": "grass",
  8. "texturePaths": [
  9. "data/textures/blocks.ltdb/grass.png"
  10. ],
  11. "transparent": true
  12. },
  13. "damagableByHand": true,
  14. "transparent": true,
  15. "passable": true,
  16. "speedModifier": 0.5,
  17. "mapColor": "0x5076C011",
  18. "drops": [
  19. {
  20. "type": "specificItem",
  21. "condition": {
  22. "type": "chance",
  23. "chance": 0.1
  24. },
  25. "amount": 1,
  26. "itemType": "Wheat Seeds"
  27. }
  28. ]
  29. },
  30. {
  31. "type": "basicBlock",
  32. "name": "Broken Tree Branches",
  33. "itemType": null,
  34. "model": {
  35. "modelPath": "data/models/blocks.m3/brokenTreeBranches",
  36. "texturePaths": [
  37. "data/textures/blocks.ltdb/brokentreebranc"
  38. ]
  39. },
  40. "transparent": true,
  41. "mapColor": "0xA0863F25",
  42. "hardness": 0.1,
  43. "damagableByHand": true,
  44. "drops": [
  45. {
  46. "type": "specificItem",
  47. "amount": 1,
  48. "condition": {
  49. "type": "allways"
  50. },
  51. "itemType": "Wooden Stick"
  52. },
  53. {
  54. "type": "specificItem",
  55. "amount": 1,
  56. "condition": {
  57. "type": "chance",
  58. "chance": 0.5
  59. },
  60. "itemType": "Wooden Stick"
  61. }
  62. ]
  63. },
  64. {
  65. "type": "growingPlant",
  66. "name": "WheatSeeds",
  67. "readableName": "Growing wheat",
  68. "blockTypeAfterGrowth": "Wheat",
  69. "model": {
  70. "modelPath": "grass",
  71. "texturePaths": [
  72. "data/textures/plants.ltdb/wheatseeds.png"
  73. ],
  74. "transparent": true
  75. },
  76. "mapColor": "0x5076C011",
  77. "hardness": 0.1,
  78. "ticksNeeded": 18000,
  79. "transparent": true,
  80. "states": [
  81. {
  82. "percentage": 0.2,
  83. "model": {
  84. "modelPath": "grass",
  85. "texturePaths": [
  86. "data/textures/plants.ltdb/wheatseedsa.png"
  87. ],
  88. "transparent": true
  89. }
  90. },
  91. {
  92. "percentage": 0.4,
  93. "model": {
  94. "modelPath": "grass",
  95. "texturePaths": [
  96. "data/textures/plants.ltdb/wheatseedsb.png"
  97. ],
  98. "transparent": true
  99. }
  100. },
  101. {
  102. "percentage": 0.6,
  103. "model": {
  104. "modelPath": "grass",
  105. "texturePaths": [
  106. "data/textures/plants.ltdb/wheatseedsc.png"
  107. ],
  108. "transparent": true
  109. }
  110. },
  111. {
  112. "percentage": 0.8,
  113. "model": {
  114. "modelPath": "grass",
  115. "texturePaths": [
  116. "data/textures/plants.ltdb/wheatseedsd.png"
  117. ],
  118. "transparent": true
  119. }
  120. }
  121. ]
  122. },
  123. {
  124. "type": "basicBlock",
  125. "name": "Wheat",
  126. "itemType": null,
  127. "model": {
  128. "modelPath": "grass",
  129. "texturePaths": [
  130. "data/textures/plants.ltdb/wheat.png"
  131. ],
  132. "transparent": true
  133. },
  134. "mapColor": "0x90A8C011",
  135. "transparent": true,
  136. "drops": [
  137. {
  138. "type": "specificItem",
  139. "condition": {
  140. "type": "chance",
  141. "chance": 0.6
  142. },
  143. "amount": 1,
  144. "itemType": "Wheat"
  145. },
  146. {
  147. "type": "specificItem",
  148. "condition": {
  149. "type": "chance",
  150. "chance": 0.6
  151. },
  152. "amount": 1,
  153. "itemType": "Wheat"
  154. },
  155. {
  156. "type": "specificItem",
  157. "condition": {
  158. "type": "chance",
  159. "chance": 0.6
  160. },
  161. "amount": 1,
  162. "itemType": "Wheat"
  163. },
  164. {
  165. "type": "specificItem",
  166. "condition": {
  167. "type": "chance",
  168. "chance": 0.6
  169. },
  170. "amount": 1,
  171. "itemType": "Wheat"
  172. }
  173. ]
  174. },
  175. {
  176. "type": "growingPlant",
  177. "name": "CottonSeeds",
  178. "readableName": "Growing Cotton",
  179. "blockTypeAfterGrowth": "Cotton Plant",
  180. "model": {
  181. "modelPath": "grass",
  182. "texturePaths": [
  183. "data/textures/plants.ltdb/cottonseeds.png"
  184. ],
  185. "transparent": true
  186. },
  187. "mapColor": "0x909090",
  188. "hardness": 0.1,
  189. "ticksNeeded": 18000,
  190. "transparent": true,
  191. "states": [
  192. {
  193. "percentage": 0,
  194. "model": {
  195. "modelPath": "data/models/plants.m3/smallPlant",
  196. "texturePaths": [
  197. "data/textures/plants.ltdb/smallplant.png"
  198. ]
  199. }
  200. },
  201. {
  202. "percentage": 0.5,
  203. "model": {
  204. "modelPath": "data/models/plants.m3/cotton_growing",
  205. "texturePaths": [
  206. "data/textures/plants.ltdb/cottongrowing."
  207. ]
  208. }
  209. }
  210. ]
  211. },
  212. {
  213. "type": "basicBlock",
  214. "name": "Cotton Plant",
  215. "itemType": null,
  216. "model": {
  217. "modelPath": "data/models/plants.m3/cotton",
  218. "texturePaths": [
  219. "data/textures/plants.ltdb/cotton.png"
  220. ],
  221. "transparent": true
  222. },
  223. "mapColor": "0xB0B0B0",
  224. "transparent": true,
  225. "drops": [
  226. {
  227. "type": "specificItem",
  228. "condition": {
  229. "type": "chance",
  230. "chance": 0.75
  231. },
  232. "amount": 1,
  233. "itemType": "Wool"
  234. },
  235. {
  236. "type": "specificItem",
  237. "condition": {
  238. "type": "chance",
  239. "chance": 0.75
  240. },
  241. "amount": 1,
  242. "itemType": "Wool"
  243. },
  244. {
  245. "type": "specificItem",
  246. "condition": {
  247. "type": "chance",
  248. "chance": 0.75
  249. },
  250. "amount": 1,
  251. "itemType": "Wool"
  252. },
  253. {
  254. "type": "specificItem",
  255. "condition": {
  256. "type": "chance",
  257. "chance": 0.7
  258. },
  259. "amount": 1,
  260. "itemType": "Cotton Seeds"
  261. },
  262. {
  263. "type": "specificItem",
  264. "condition": {
  265. "type": "chance",
  266. "chance": 0.4
  267. },
  268. "amount": 1,
  269. "itemType": "Cotton Seeds"
  270. }
  271. ]
  272. }
  273. ]