plants.json 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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": "basicBlock",
  66. "name": "Loose Stones",
  67. "itemType": null,
  68. "model": {
  69. "modelPath": "data/models/blocks.m3/loseStones",
  70. "texturePaths": [
  71. "data/textures/blocks.ltdb/losestones.png"
  72. ]
  73. },
  74. "transparent": true,
  75. "mapColor": "0xA0817C7C",
  76. "hardness": 0.1,
  77. "damagableByHand": true,
  78. "drops": [
  79. {
  80. "type": "specificItem",
  81. "condition": {
  82. "type": "chance",
  83. "chance": 0.33
  84. },
  85. "itemType": "Flint"
  86. },
  87. {
  88. "type": "specificItem",
  89. "condition": {
  90. "type": "allways"
  91. },
  92. "itemType": "Stone"
  93. }
  94. ]
  95. },
  96. {
  97. "type": "growingPlant",
  98. "name": "WheatSeeds",
  99. "readableName": "Growing wheat",
  100. "blockTypeAfterGrowth": "Wheat",
  101. "model": {
  102. "modelPath": "grass",
  103. "texturePaths": [
  104. "data/textures/plants.ltdb/wheatseeds.png"
  105. ],
  106. "transparent": true
  107. },
  108. "mapColor": "0x5076C011",
  109. "hardness": 0.1,
  110. "ticksNeeded": 18000,
  111. "transparent": true,
  112. "states": [
  113. {
  114. "percentage": 0.2,
  115. "model": {
  116. "modelPath": "grass",
  117. "texturePaths": [
  118. "data/textures/plants.ltdb/wheatseedsa.png"
  119. ],
  120. "transparent": true
  121. }
  122. },
  123. {
  124. "percentage": 0.4,
  125. "model": {
  126. "modelPath": "grass",
  127. "texturePaths": [
  128. "data/textures/plants.ltdb/wheatseedsb.png"
  129. ],
  130. "transparent": true
  131. }
  132. },
  133. {
  134. "percentage": 0.6,
  135. "model": {
  136. "modelPath": "grass",
  137. "texturePaths": [
  138. "data/textures/plants.ltdb/wheatseedsc.png"
  139. ],
  140. "transparent": true
  141. }
  142. },
  143. {
  144. "percentage": 0.8,
  145. "model": {
  146. "modelPath": "grass",
  147. "texturePaths": [
  148. "data/textures/plants.ltdb/wheatseedsd.png"
  149. ],
  150. "transparent": true
  151. }
  152. }
  153. ]
  154. },
  155. {
  156. "type": "basicBlock",
  157. "name": "Wheat",
  158. "itemType": null,
  159. "model": {
  160. "modelPath": "grass",
  161. "texturePaths": [
  162. "data/textures/plants.ltdb/wheat.png"
  163. ],
  164. "transparent": true
  165. },
  166. "mapColor": "0x90A8C011",
  167. "transparent": true,
  168. "drops": [
  169. {
  170. "type": "specificItem",
  171. "condition": {
  172. "type": "chance",
  173. "chance": 0.6
  174. },
  175. "amount": 1,
  176. "itemType": "Wheat"
  177. },
  178. {
  179. "type": "specificItem",
  180. "condition": {
  181. "type": "chance",
  182. "chance": 0.6
  183. },
  184. "amount": 1,
  185. "itemType": "Wheat"
  186. },
  187. {
  188. "type": "specificItem",
  189. "condition": {
  190. "type": "chance",
  191. "chance": 0.6
  192. },
  193. "amount": 1,
  194. "itemType": "Wheat"
  195. },
  196. {
  197. "type": "specificItem",
  198. "condition": {
  199. "type": "chance",
  200. "chance": 0.6
  201. },
  202. "amount": 1,
  203. "itemType": "Wheat"
  204. }
  205. ]
  206. },
  207. {
  208. "type": "growingPlant",
  209. "name": "CottonSeeds",
  210. "readableName": "Growing Cotton",
  211. "blockTypeAfterGrowth": "Cotton Plant",
  212. "model": {
  213. "modelPath": "grass",
  214. "texturePaths": [
  215. "data/textures/plants.ltdb/cottonseeds.png"
  216. ],
  217. "transparent": true
  218. },
  219. "mapColor": "0x909090",
  220. "hardness": 0.1,
  221. "ticksNeeded": 18000,
  222. "transparent": true,
  223. "states": [
  224. {
  225. "percentage": 0,
  226. "model": {
  227. "modelPath": "data/models/plants.m3/smallPlant",
  228. "texturePaths": [
  229. "data/textures/plants.ltdb/smallplant.png"
  230. ]
  231. }
  232. },
  233. {
  234. "percentage": 0.5,
  235. "model": {
  236. "modelPath": "data/models/plants.m3/cotton_growing",
  237. "texturePaths": [
  238. "data/textures/plants.ltdb/cottongrowing."
  239. ]
  240. }
  241. }
  242. ]
  243. },
  244. {
  245. "type": "basicBlock",
  246. "name": "Cotton Plant",
  247. "itemType": null,
  248. "model": {
  249. "modelPath": "data/models/plants.m3/cotton",
  250. "texturePaths": [
  251. "data/textures/plants.ltdb/cotton.png"
  252. ],
  253. "transparent": true
  254. },
  255. "mapColor": "0xB0B0B0",
  256. "transparent": true,
  257. "drops": [
  258. {
  259. "type": "specificItem",
  260. "condition": {
  261. "type": "chance",
  262. "chance": 0.75
  263. },
  264. "amount": 1,
  265. "itemType": "Wool"
  266. },
  267. {
  268. "type": "specificItem",
  269. "condition": {
  270. "type": "chance",
  271. "chance": 0.75
  272. },
  273. "amount": 1,
  274. "itemType": "Wool"
  275. },
  276. {
  277. "type": "specificItem",
  278. "condition": {
  279. "type": "chance",
  280. "chance": 0.75
  281. },
  282. "amount": 1,
  283. "itemType": "Wool"
  284. },
  285. {
  286. "type": "specificItem",
  287. "condition": {
  288. "type": "chance",
  289. "chance": 0.7
  290. },
  291. "amount": 1,
  292. "itemType": "Cotton Seeds"
  293. },
  294. {
  295. "type": "specificItem",
  296. "condition": {
  297. "type": "chance",
  298. "chance": 0.4
  299. },
  300. "amount": 1,
  301. "itemType": "Cotton Seeds"
  302. }
  303. ]
  304. },
  305. {
  306. "type": "basicBlock",
  307. "name": "Vines",
  308. "itemType": null,
  309. "model": {
  310. "modelPath": "data/models/plants.m3/vines",
  311. "texturePaths": [
  312. "data/textures/plants.ltdb/vines.png"
  313. ]
  314. },
  315. "mapColor": "0xA033A033",
  316. "transparent": true,
  317. "damagableByHand": true,
  318. "speedModifier": 0.4,
  319. "passable": true,
  320. "drops": [
  321. {
  322. "type": "specificItem",
  323. "condition": {
  324. "type": "allways"
  325. },
  326. "amount": 1,
  327. "itemType": "Thread"
  328. }
  329. ]
  330. }
  331. ]