Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.item.IIngredient;
- import crafttweaker.item.IItemStack;
- import crafttweaker.oredict.IOreDict;
- import crafttweaker.oredict.IOreDictEntry;
- //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.
- var filledAkashic = <akashictome:tome>.withTag(
- {
- "akashictome:is_morphing": 1 as byte,
- "akashictome:data": {
- actuallyadditions: {
- id: "actuallyadditions:item_booklet",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "actuallyadditions"
- },
- Damage: 0 as short
- },
- agricraft: {
- id: "agricraft:journal",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "agricraft"
- },
- Damage: 0 as short
- },
- animania: {
- id: "animania:animaniamanual",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "animania"
- },
- Damage: 0 as short
- },
- astralsorcery: {
- id: "astralsorcery:itemjournal",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "astralsorcery"
- },
- Damage: 0 as short
- },
- botania: {
- id: "botania:lexicon",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "botania"
- },
- Damage: 0 as short
- },
- cfm: {
- id: "cfm:item_recipe_book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "cfm"
- },
- Damage: 0 as short
- },
- conarm: {
- id: "conarm:book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "conarm"
- },
- Damage: 0 as short
- },
- cookingforblockheads: {
- id: "cookingforblockheads:recipe_book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "cookingforblockheads"
- },
- Damage: 1 as short
- },
- cyclicmagic: {
- id: "guideapi:cyclicmagic-guide",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "cyclicmagic"
- },
- Damage: 0 as short
- },
- deepmoblearning: {
- id: "patchouli:guide_book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "deepmoblearning", "patchouli:book": "deepmoblearning:book"
- },
- Damage: 0 as short
- },
- extrautils2: {
- id: "extrautils2:book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "extrautils2"
- },
- Damage: 0 as short
- },
- immersiveengineering: {
- id: "immersiveengineering:tool",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "immersiveengineering"
- },
- Damage: 3 as short
- },
- industrialforegoing: {
- id: "industrialforegoing:book_manual",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "industrialforegoing"
- },
- Damage: 0 as short
- },
- integratedtunnels: {
- id: "integrateddynamics:on_the_dynamics_of_integration",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "integratedtunnels"
- },
- Damage: 0 as short
- },
- modcurrency: {
- id: "modcurrency:guidebook",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "modcurrency"
- },
- Damage: 0 as short
- },
- openblocks: {
- id: "openblocks:info_book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "openblocks"
- },
- Damage: 0 as short
- },
- rustic: {
- id: "rustic:book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "rustic"
- },
- Damage: 0 as short
- },
- tconstruct: {
- id: "tconstruct:book",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "tconstruct"
- },
- Damage: 0 as short
- },
- thaumcraft: {
- id: "thaumcraft:thaumonomicon",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "thaumcraft"
- },
- Damage: 0 as short
- },
- thebetweenlands: {
- id: "thebetweenlands:manual_hl",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "thebetweenlands"
- },
- Damage: 0 as short
- },
- thermalfoundation: {
- id: "thermalfoundation:tome_lexicon",
- Count: 1 as byte,
- tag: {
- "akashictome:definedMod": "thermalfoundation"
- },
- Damage: 0 as short
- }
- }
- }
- );
- //Adds to JEI.
- mods.jei.JEI.addItem(filledAkashic);
- //Crafting Recipe. Again, credit to ATMTeam for the idea.
- recipes.addShapeless(filledAkashic, [<akashictome:tome>,<minecraft:book]);
Advertisement
Add Comment
Please, Sign In to add comment