Advertisement
Dothackking

Untitled

Aug 17th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. #Each recipe has a unique id.
  2.  
  3. #Lets have a look at a shapeless recipe.
  4. #8: <-this is the unique ID.
  5. # Result: 3 <-the ID of the result.
  6. # Quantity: 6 <-the quantity of the result.
  7. # Materials: {2: 3, 6: 2} <-Starting materials, format: "id: quantity".
  8. # Type: Shapeless <-Define the type
  9. #For data values in materials, add a DataValues node (value doesn't matter) and use the following syntax:
  10. #{id: quantity/data, id: quantity/data...}
  11. #To addd result data:
  12. # Add ResultData node, set it to the needed value.
  13. #To add result damage:
  14. # Add ResultDamage node, set it to the needed value.
  15. example8:
  16. Result: 256
  17. Quantity: 6
  18. Materials: {256: 1/127}
  19. DataValues: abc
  20. Type: Shapeless
  21. abc74:
  22. Result: 256
  23. Quantity: 6
  24. Materials: {265: 1}
  25. Type: Shapeless
  26. ResultDamage: 251
  27. #Now a shaped recipe
  28. #3: <-this is the unique ID.
  29. # Shape: <-do not touch this, it is a keyword.
  30. # - [3, 3, 3] <-First row of the crafting grid.
  31. # - [3, 0, 3] <-Second row of the crafting grid. Note that you can use 0s for free space.
  32. # - [3, 3, 3] <-Third row of the crafting grid.
  33. # Result: 4 <-result ID
  34. # Quantity: 8 <-quantity of the result
  35. #Note that by default, if no type is defined, the plugin will think that the recipe is shaped.
  36. leather:
  37. Shape:
  38. - [4, 4, 4]
  39. - [4, 265, 4]
  40. - [4, 4, 4]
  41. Result: 334
  42. Quantity: 2
  43. egg:
  44. Shape:
  45. - [4, 4, 4]
  46. - [4, 264, 4]
  47. - [4, 4, 4]
  48. Result: 344
  49. Quantity: 4
  50. gunpowder:
  51. Shape:
  52. - [4, 12, 4]
  53. - [4, 12, 4]
  54. - [4, 12, 4]
  55. Result: 289
  56. Quantity: 1
  57. glow:
  58. Shape:
  59. - [20, 20, 20]
  60. - [20, 50, 20]
  61. - [20, 20, 20]
  62. Result: 89
  63. Quantity: 1
  64. nether:
  65. Shape:
  66. - [4, 4, 4]
  67. - [4, 263, 4]
  68. - [4, 4, 4]
  69. Result: 87
  70. Quantity: 1
  71. beer:
  72. Shape:
  73. - [20, 326, 20]
  74. - [20, 296, 20]
  75. - [20, 296, 20]
  76. Result: 335
  77. Quantity: 1
  78. bones:
  79. Shape:
  80. - [20, 4, 20]
  81. - [4, 289, 4]
  82. - [20, 4, 20]
  83. Result: 352
  84. Quantity: 3
  85. ink:
  86. Shape:
  87. - [87, 289, 87]
  88. - [87, 289, 87]
  89. - [87, 87, 87]
  90. Result: 351/0
  91. Quantity: 12
  92. greydye:
  93. Shape:
  94. - [87, 289, 87]
  95. - [87, 87, 87]
  96. - [87, 87, 87]
  97. Result: 351/8
  98. Quantity: 12
  99. #Another example of a shaped recipe, showing that the recipes don't have to fill in the whole grid.
  100. string:
  101. Shape:
  102. - [264, 289, 0]
  103. Result: 287
  104. Quantity: 4
  105. Type: Shaped
  106. arrow:
  107. Shape:
  108. - [289, 289, 0]
  109. Result: 262
  110. Quantity: 20
  111. Type: Shaped
  112. seed:
  113. Shape:
  114. - [265, 0, 265]
  115. - [0, 265, 0]
  116. Result: 295
  117. Quantity: 4
  118. Type: Shaped
  119. bow:
  120. Shape:
  121. - [265, 289]
  122. Result: 261
  123. Quantity: 1
  124. Type: Shaped
  125. dagger:
  126. Shape:
  127. - [289]
  128. - [289]
  129. - [334]
  130. Result: 291
  131. Quantity: 1
  132. Type: Shaped
  133. blade:
  134. Shape:
  135. - [289]
  136. - [289]
  137. - [266]
  138. Result: 294
  139. Quantity: 1
  140. Type: Shaped
  141. pumpkin:
  142. Shape:
  143. - [265, 265, 265]
  144. - [265, 0, 265]
  145. Result: 86
  146. Quantity: 1
  147. Type: Shaped
  148. #Example of data values in shaped recipes.
  149. #The DataValues node's value doesn't matter - what matters is that it is there.
  150. #It is needed if data values are involved in the recipe.
  151. #Syntax:
  152. # - [id/data, id/data...]
  153. # - [id/data, id/data...]
  154. # - [id/data, id/data...]
  155. #If the item has no data values, use 0. e.g. [3/0, 3/0, 1/0]
  156. #To add result data:
  157. # Add ResultData node, set it to the needed value.
  158. #To add result damage:
  159. # Add ResultDamage node, set it to the needed value.
  160. argh33:
  161. Shape:
  162. - [351/1]
  163. Result: 258
  164. Quantity: 1
  165. Type: Shaped
  166. ResultDamage: 1
  167. DataValues: abc
  168. #A furnace recipe.
  169. #99:
  170. # Result: 264 <-result ID
  171. # Quantity: 1 <-quantity of the result
  172. # Source: 263 <-the ID of the material to be smelted
  173. # Type: Furnace <-type definition
  174. #For result data use the ResultData node (optional).
  175. #For result damage use the ResultDamage node (optional).
  176. #For now, source data is broken.
  177. abc99:
  178. Result: 351
  179. ResultData: 3
  180. Quantity: 1
  181. Source: 351
  182. SourceData: 1
  183. Type: Furnace
  184. #CREDIT GOES TO FULLWALL, THE AUTHOR OF COOKBOOK!
  185. #Repair recipe. Set the source data value to -1!
  186. ewqer8:
  187. Result: 256
  188. Quantity: 1
  189. Materials: {256: 1/-1, 265: 1/0}
  190. DataValues: abc
  191. Type: Shapeless
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement