itemTypes.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. [
  2. {
  3. "type": "basic",
  4. "name": "Wooden Stick",
  5. "model": {
  6. "modelPath": "items.m3/stick",
  7. "texturePaths": [
  8. "items.ltdb/stick.png"
  9. ]
  10. },
  11. "itemName": "Wooden Stick",
  12. "hp": 1,
  13. "durability": 10
  14. },
  15. {
  16. "type": "basic",
  17. "name": "Resin",
  18. "model": {
  19. "modelPath": "cube",
  20. "texturePaths": [
  21. "items.ltdb/resin.png",
  22. "items.ltdb/resin.png",
  23. "items.ltdb/resin.png",
  24. "items.ltdb/resin.png",
  25. "items.ltdb/resin.png",
  26. "items.ltdb/resin.png"
  27. ]
  28. },
  29. "itemName": "Resin",
  30. "hp": 1,
  31. "durability": 10
  32. },
  33. {
  34. "type": "basic",
  35. "name": "Broken Axe",
  36. "model": {
  37. "modelPath": "tools.m3/axe",
  38. "texturePaths": [
  39. "tools.ltdb/stoneaxe.png"
  40. ]
  41. },
  42. "itemName": "Broken Axe",
  43. "hp": 100,
  44. "durability": 100,
  45. "maxStack": 10
  46. },
  47. {
  48. "type": "basic",
  49. "name": "Broken Hoe",
  50. "model": {
  51. "modelPath": "tools.m3/hoe",
  52. "texturePaths": [
  53. "tools.ltdb/stonehoe.png"
  54. ]
  55. },
  56. "itemName": "Broken Hoe",
  57. "hp": 100,
  58. "durability": 100,
  59. "maxStack": 10
  60. },
  61. {
  62. "type": "basic",
  63. "name": "Flint",
  64. "model": {
  65. "modelPath": "items.m3/flint",
  66. "texturePaths": [
  67. "items.ltdb/flint.png"
  68. ]
  69. },
  70. "itemName": "Flint",
  71. "hp": 1,
  72. "durability": 10
  73. },
  74. {
  75. "type": "basic",
  76. "name": "Flint",
  77. "model": {
  78. "modelPath": "items.m3/flint",
  79. "texturePaths": [
  80. "items.ltdb/flint.png"
  81. ]
  82. },
  83. "itemName": "Flint",
  84. "hp": 1,
  85. "durability": 10
  86. },
  87. {
  88. "type": "basic",
  89. "name": "Broken Shovel",
  90. "model": {
  91. "modelPath": "tools.m3/shovel",
  92. "texturePaths": [
  93. "tools.ltdb/stonehoe.png"
  94. ]
  95. },
  96. "itemName": "Broken Shovel",
  97. "hp": 100,
  98. "durability": 100,
  99. "maxStack": 10
  100. },
  101. {
  102. "type": "basic",
  103. "name": "Wheat",
  104. "model": {
  105. "modelPath": "grass",
  106. "texturePaths": [
  107. "plants.ltdb/wheat.png"
  108. ]
  109. },
  110. "itemName": "Wheat",
  111. "hp": 1,
  112. "durability": 10,
  113. "maxStack": 10,
  114. "hungerRecoveryPerHp": 0.5
  115. },
  116. {
  117. "type": "tool",
  118. "name": "Hoe",
  119. "model": {
  120. "modelPath": "tools.m3/hoe",
  121. "texturePaths": [
  122. "tools.ltdb/stonehoe.png"
  123. ]
  124. },
  125. "maxStack": 10,
  126. "brokenItemTypeName": "Broken Hoe",
  127. "levelUpRule": {
  128. "type": "xpBased"
  129. },
  130. "itemSkill": {
  131. "type": "replaceBlock",
  132. "configs": [
  133. {
  134. "targetFilter": {
  135. "type": "types",
  136. "typeNames": [ "Dirt" ]
  137. },
  138. "replacementBlockType": "Farmland"
  139. }
  140. ]
  141. }
  142. },
  143. {
  144. "type": "tool",
  145. "name": "Shovel",
  146. "model": {
  147. "modelPath": "tools.m3/shovel",
  148. "texturePaths": [
  149. "tools.ltdb/stonehoe.png"
  150. ]
  151. },
  152. "maxStack": 10,
  153. "brokenItemTypeName": "Broken Shovel",
  154. "levelUpRule": {
  155. "type": "xpBased"
  156. },
  157. "itemSkill": {
  158. "type": "damaging",
  159. "configs": [
  160. {
  161. "targetFilter": {
  162. "type": "groups",
  163. "groupNames": [ "Shovel" ]
  164. }
  165. }
  166. ]
  167. }
  168. },
  169. {
  170. "type": "tool",
  171. "name": "Axe",
  172. "model": {
  173. "modelPath": "tools.m3/axe",
  174. "texturePaths": [
  175. "tools.ltdb/stoneaxe.png"
  176. ]
  177. },
  178. "maxStack": 10,
  179. "brokenItemTypeName": "Broken Axe",
  180. "levelUpRule": {
  181. "type": "xpBased"
  182. },
  183. "itemSkill": {
  184. "type": "damaging",
  185. "configs": [
  186. {
  187. "targetFilter": {
  188. "type": "groups",
  189. "groupNames": [ "Wood" ]
  190. }
  191. }
  192. ]
  193. }
  194. },
  195. {
  196. "type": "fluidContainer",
  197. "name": "Wooden Bucket",
  198. "model": {
  199. "modelPath": "items.m3/bucket",
  200. "texturePaths": [
  201. "blocks.ltdb/woodplanks.png"
  202. ]
  203. },
  204. "maxStack": 10,
  205. "levelUpRule": {
  206. "type": "xpBased"
  207. },
  208. "itemSkill": {
  209. "type": "fluidGathering",
  210. "configs": [
  211. {
  212. "targetFilter": {
  213. "type": "maxHeat",
  214. "heat": 90
  215. }
  216. }
  217. ]
  218. }
  219. },
  220. {
  221. "type": "placeable",
  222. "name": "Wheat Seeds",
  223. "model": {
  224. "modelPath": "grass",
  225. "texturePaths": [
  226. "plants.ltdb/wheatseeds.png"
  227. ],
  228. "transparent": false
  229. },
  230. "hardness": 0.1,
  231. "transparent": true,
  232. "passable": true,
  233. "speedModifier": 0.5,
  234. "blockType": "WheatSeeds",
  235. "placeableProof": {
  236. "type": "blockFilter",
  237. "direction": "bottom",
  238. "filter": {
  239. "type": "types",
  240. "typeNames": [ "Farmland" ]
  241. }
  242. }
  243. }
  244. ]