katubug

Untitled

May 19th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. import crafttweaker.item.IIngredient;
  2. import crafttweaker.item.IItemStack;
  3. import crafttweaker.oredict.IOreDict;
  4. import crafttweaker.oredict.IOreDictEntry;
  5.  
  6.  
  7. //Scripts to create an Akashic Tome with all compatible books inside. Credit must go to the ATMTeam for providing a good starting point for me to work from.
  8.  
  9. var filledAkashic = <akashictome:tome>.withTag(
  10. {
  11. "akashictome:is_morphing": 1 as byte,
  12. "akashictome:data": {
  13. actuallyadditions: {
  14. id: "actuallyadditions:item_booklet",
  15. Count: 1 as byte,
  16. tag: {
  17. "akashictome:definedMod": "actuallyadditions"
  18. },
  19. Damage: 0 as short
  20. },
  21. agricraft: {
  22. id: "agricraft:journal",
  23. Count: 1 as byte,
  24. tag: {
  25. "akashictome:definedMod": "agricraft"
  26. },
  27. Damage: 0 as short
  28. },
  29. animania: {
  30. id: "animania:animaniamanual",
  31. Count: 1 as byte,
  32. tag: {
  33. "akashictome:definedMod": "animania"
  34. },
  35. Damage: 0 as short
  36. },
  37. astralsorcery: {
  38. id: "astralsorcery:itemjournal",
  39. Count: 1 as byte,
  40. tag: {
  41. "akashictome:definedMod": "astralsorcery"
  42. },
  43. Damage: 0 as short
  44. },
  45. botania: {
  46. id: "botania:lexicon",
  47. Count: 1 as byte,
  48. tag: {
  49. "akashictome:definedMod": "botania"
  50. },
  51. Damage: 0 as short
  52. },
  53. cfm: {
  54. id: "cfm:item_recipe_book",
  55. Count: 1 as byte,
  56. tag: {
  57. "akashictome:definedMod": "cfm"
  58. },
  59. Damage: 0 as short
  60. },
  61. conarm: {
  62. id: "conarm:book",
  63. Count: 1 as byte,
  64. tag: {
  65. "akashictome:definedMod": "conarm"
  66. },
  67. Damage: 0 as short
  68. },
  69. cookingforblockheads: {
  70. id: "cookingforblockheads:recipe_book",
  71. Count: 1 as byte,
  72. tag: {
  73. "akashictome:definedMod": "cookingforblockheads"
  74. },
  75. Damage: 1 as short
  76. },
  77. cyclicmagic: {
  78. id: "guideapi:cyclicmagic-guide",
  79. Count: 1 as byte,
  80. tag: {
  81. "akashictome:definedMod": "cyclicmagic"
  82. },
  83. Damage: 0 as short
  84. },
  85. deepmoblearning: {
  86. id: "patchouli:guide_book",
  87. Count: 1 as byte,
  88. tag: {
  89. "akashictome:definedMod": "deepmoblearning", "patchouli:book": "deepmoblearning:book"
  90. },
  91. Damage: 0 as short
  92. },
  93. extrautils2: {
  94. id: "extrautils2:book",
  95. Count: 1 as byte,
  96. tag: {
  97. "akashictome:definedMod": "extrautils2"
  98. },
  99. Damage: 0 as short
  100. },
  101. immersiveengineering: {
  102. id: "immersiveengineering:tool",
  103. Count: 1 as byte,
  104. tag: {
  105. "akashictome:definedMod": "immersiveengineering"
  106. },
  107. Damage: 3 as short
  108. },
  109. industrialforegoing: {
  110. id: "industrialforegoing:book_manual",
  111. Count: 1 as byte,
  112. tag: {
  113. "akashictome:definedMod": "industrialforegoing"
  114. },
  115. Damage: 0 as short
  116. },
  117. integratedtunnels: {
  118. id: "integrateddynamics:on_the_dynamics_of_integration",
  119. Count: 1 as byte,
  120. tag: {
  121. "akashictome:definedMod": "integratedtunnels"
  122. },
  123. Damage: 0 as short
  124. },
  125. modcurrency: {
  126. id: "modcurrency:guidebook",
  127. Count: 1 as byte,
  128. tag: {
  129. "akashictome:definedMod": "modcurrency"
  130. },
  131. Damage: 0 as short
  132. },
  133. openblocks: {
  134. id: "openblocks:info_book",
  135. Count: 1 as byte,
  136. tag: {
  137. "akashictome:definedMod": "openblocks"
  138. },
  139. Damage: 0 as short
  140. },
  141. rustic: {
  142. id: "rustic:book",
  143. Count: 1 as byte,
  144. tag: {
  145. "akashictome:definedMod": "rustic"
  146. },
  147. Damage: 0 as short
  148. },
  149. tconstruct: {
  150. id: "tconstruct:book",
  151. Count: 1 as byte,
  152. tag: {
  153. "akashictome:definedMod": "tconstruct"
  154. },
  155. Damage: 0 as short
  156. },
  157. thaumcraft: {
  158. id: "thaumcraft:thaumonomicon",
  159. Count: 1 as byte,
  160. tag: {
  161. "akashictome:definedMod": "thaumcraft"
  162. },
  163. Damage: 0 as short
  164. },
  165. thebetweenlands: {
  166. id: "thebetweenlands:manual_hl",
  167. Count: 1 as byte,
  168. tag: {
  169. "akashictome:definedMod": "thebetweenlands"
  170. },
  171. Damage: 0 as short
  172. },
  173. thermalfoundation: {
  174. id: "thermalfoundation:tome_lexicon",
  175. Count: 1 as byte,
  176. tag: {
  177. "akashictome:definedMod": "thermalfoundation"
  178. },
  179. Damage: 0 as short
  180. }
  181. }
  182. }
  183.  
  184. );
  185.  
  186. //Adds to JEI.
  187. mods.jei.JEI.addItem(filledAkashic);
  188.  
  189. //Crafting Recipe. Again, credit to ATMTeam for the idea.
  190. recipes.addShapeless(filledAkashic, [<akashictome:tome>,<minecraft:book]);
Advertisement
Add Comment
Please, Sign In to add comment