2015-08-29 14:33:25 +02:00
/ *
2016-05-16 22:52:27 +02:00
* This file ( " InitBooklet.java " ) is part of the Actually Additions mod for Minecraft .
2015-08-29 14:33:25 +02:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http : //ellpeck.de/actaddlicense
2015-08-29 14:33:25 +02:00
* View the source code at https : //github.com/Ellpeck/ActuallyAdditions
*
2016-05-16 22:54:42 +02:00
* © 2015 - 2016 Ellpeck
2015-08-29 14:33:25 +02:00
* /
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.booklet ;
2015-08-28 21:17:09 +02:00
2016-01-05 14:57:50 +01:00
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI ;
2016-10-30 23:36:39 +01:00
import de.ellpeck.actuallyadditions.api.booklet.IBookletChapter ;
import de.ellpeck.actuallyadditions.api.booklet.IBookletEntry ;
2016-11-10 19:50:01 +01:00
import de.ellpeck.actuallyadditions.api.booklet.IBookletPage ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks ;
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheColoredLampColors ;
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheMiscBlocks ;
import de.ellpeck.actuallyadditions.mod.booklet.chapter.BookletChapter ;
2016-11-10 21:07:15 +01:00
import de.ellpeck.actuallyadditions.mod.booklet.chapter.BookletChapterCoffee ;
import de.ellpeck.actuallyadditions.mod.booklet.chapter.BookletChapterCrusher ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.booklet.entry.BookletEntry ;
2016-11-10 19:50:01 +01:00
import de.ellpeck.actuallyadditions.mod.booklet.entry.BookletEntryAllItems ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.booklet.page.* ;
import de.ellpeck.actuallyadditions.mod.crafting.* ;
2016-10-30 23:36:39 +01:00
import de.ellpeck.actuallyadditions.mod.fluids.InitFluids ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.gen.OreGen ;
import de.ellpeck.actuallyadditions.mod.items.InitItems ;
2016-11-22 19:35:52 +01:00
import de.ellpeck.actuallyadditions.mod.items.ItemWingsOfTheBats ;
2016-07-20 11:16:27 +02:00
import de.ellpeck.actuallyadditions.mod.items.lens.LensDisenchanting ;
2016-10-31 16:56:04 +01:00
import de.ellpeck.actuallyadditions.mod.items.lens.LensMining ;
2016-05-05 19:50:59 +02:00
import de.ellpeck.actuallyadditions.mod.items.lens.LensRecipeHandler ;
2016-11-17 18:00:26 +01:00
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.items.metalists.TheFoods ;
import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems ;
2016-08-03 19:01:12 +02:00
import de.ellpeck.actuallyadditions.mod.recipe.EmpowererHandler ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.tile.* ;
2016-11-17 18:00:26 +01:00
import de.ellpeck.actuallyadditions.mod.update.UpdateChecker ;
2016-10-30 23:36:39 +01:00
import de.ellpeck.actuallyadditions.mod.util.ModUtil ;
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.util.Util ;
2016-05-21 15:49:50 +02:00
import net.minecraft.init.Blocks ;
2015-12-19 10:11:11 +01:00
import net.minecraft.init.Items ;
2015-08-28 22:18:46 +02:00
import net.minecraft.item.ItemStack ;
2015-09-10 21:25:34 +02:00
import net.minecraft.item.crafting.IRecipe ;
2016-10-30 23:36:39 +01:00
import net.minecraftforge.fluids.FluidStack ;
2015-08-28 21:17:09 +02:00
2016-11-22 22:54:35 +01:00
import java.util.* ;
2015-08-28 21:17:09 +02:00
2016-06-17 23:50:38 +02:00
public final class InitBooklet {
2015-08-28 21:17:09 +02:00
2016-11-21 21:04:14 +01:00
public static BookletChapter [ ] chaptersIntroduction = new BookletChapter [ 9 ] ;
2015-08-30 19:10:10 +02:00
2016-01-05 14:57:50 +01:00
public static void preInit ( ) {
2016-11-22 22:54:35 +01:00
ActuallyAdditionsAPI . allAndSearch = new BookletEntryAllItems ( " allAndSearch " ) . setImportant ( ) ;
2016-01-05 14:57:50 +01:00
ActuallyAdditionsAPI . entryGettingStarted = new BookletEntry ( " gettingStarted " ) . setImportant ( ) ;
2016-07-20 11:03:56 +02:00
ActuallyAdditionsAPI . entryReconstruction = new BookletEntry ( " reconstruction " ) ;
2016-11-09 19:26:53 +01:00
ActuallyAdditionsAPI . entryLaserRelays = new BookletEntry ( " laserRelays " ) . setSpecial ( ) ;
2016-01-05 14:57:50 +01:00
ActuallyAdditionsAPI . entryFunctionalNonRF = new BookletEntry ( " functionalNoRF " ) ;
2016-11-09 19:26:53 +01:00
ActuallyAdditionsAPI . entryFunctionalRF = new BookletEntry ( " functionalRF " ) ;
ActuallyAdditionsAPI . entryGeneratingRF = new BookletEntry ( " generatingRF " ) ;
2016-01-05 14:57:50 +01:00
ActuallyAdditionsAPI . entryItemsNonRF = new BookletEntry ( " itemsNoRF " ) ;
2016-11-09 19:26:53 +01:00
ActuallyAdditionsAPI . entryItemsRF = new BookletEntry ( " itemsRF " ) ;
2016-11-17 18:00:26 +01:00
ActuallyAdditionsAPI . entryMisc = new BookletEntry ( " misc " ) ;
ActuallyAdditionsAPI . entryUpdatesAndInfos = new BookletEntry ( " updatesAndInfos " ) . setSpecial ( ) ;
2016-01-05 14:57:50 +01:00
}
2016-02-01 17:49:55 +01:00
2016-11-22 22:54:35 +01:00
public static void postInit ( ) {
2015-12-01 19:48:09 +01:00
initChapters ( ) ;
2016-10-30 23:36:39 +01:00
2016-11-10 19:50:01 +01:00
int chapCount = 0 ;
int pageCount = 0 ;
int infoCount = 0 ;
2016-10-30 23:36:39 +01:00
for ( IBookletEntry entry : ActuallyAdditionsAPI . BOOKLET_ENTRIES ) {
2016-11-10 19:50:01 +01:00
for ( IBookletChapter chapter : entry . getAllChapters ( ) ) {
2016-11-01 12:00:49 +01:00
if ( ! ActuallyAdditionsAPI . ALL_CHAPTERS . contains ( chapter ) ) {
ActuallyAdditionsAPI . ALL_CHAPTERS . add ( chapter ) ;
2016-11-10 19:50:01 +01:00
chapCount + + ;
2016-11-01 12:00:49 +01:00
2016-11-11 16:37:45 +01:00
for ( IBookletPage page : chapter . getAllPages ( ) ) {
pageCount + + ;
2016-11-11 18:55:32 +01:00
List < ItemStack > items = new ArrayList < ItemStack > ( ) ;
page . getItemStacksForPage ( items ) ;
List < FluidStack > fluids = new ArrayList < FluidStack > ( ) ;
page . getFluidStacksForPage ( fluids ) ;
2016-10-30 23:36:39 +01:00
2016-11-11 18:55:32 +01:00
if ( ( items ! = null & & ! items . isEmpty ( ) ) | | ( fluids ! = null & & ! fluids . isEmpty ( ) ) ) {
2016-11-11 16:37:45 +01:00
if ( ! ActuallyAdditionsAPI . BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA . contains ( page ) ) {
ActuallyAdditionsAPI . BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA . add ( page ) ;
infoCount + + ;
}
2016-10-30 23:36:39 +01:00
}
}
}
}
}
2016-11-22 22:54:35 +01:00
Collections . sort ( ActuallyAdditionsAPI . BOOKLET_ENTRIES , new Comparator < IBookletEntry > ( ) {
@Override
public int compare ( IBookletEntry entry1 , IBookletEntry entry2 ) {
Integer prio1 = entry1 . getSortingPriority ( ) ;
Integer prio2 = entry2 . getSortingPriority ( ) ;
return prio2 . compareTo ( prio1 ) ;
}
} ) ;
Collections . sort ( ActuallyAdditionsAPI . ALL_CHAPTERS , new Comparator < IBookletChapter > ( ) {
@Override
public int compare ( IBookletChapter chapter1 , IBookletChapter chapter2 ) {
Integer prio1 = chapter1 . getSortingPriority ( ) ;
Integer prio2 = chapter2 . getSortingPriority ( ) ;
return prio2 . compareTo ( prio1 ) ;
}
} ) ;
Collections . sort ( ActuallyAdditionsAPI . BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA , new Comparator < IBookletPage > ( ) {
@Override
public int compare ( IBookletPage page1 , IBookletPage page2 ) {
Integer prio1 = page1 . getSortingPriority ( ) ;
Integer prio2 = page2 . getSortingPriority ( ) ;
return prio2 . compareTo ( prio1 ) ;
}
} ) ;
2016-11-10 19:50:01 +01:00
ModUtil . LOGGER . info ( " Registered a total of " + chapCount + " booklet chapters, where " + infoCount + " out of " + pageCount + " booklet pages contain information about items or fluids! " ) ;
2015-12-01 19:48:09 +01:00
}
2015-11-10 21:43:11 +01:00
private static void initChapters ( ) {
2015-11-15 15:15:32 +01:00
//Getting Started
2016-11-01 16:47:40 +01:00
chaptersIntroduction [ 0 ] = new BookletChapter ( " bookTutorial " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitItems . itemBooklet ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PageTextOnly ( 3 ) , new PageCrafting ( 4 , ItemCrafting . recipeBook ) . setNoText ( ) ) ;
2016-11-12 15:09:30 +01:00
chaptersIntroduction [ 1 ] = new BookletChapter ( " videoGuide " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . YOUTUBE_ICON . ordinal ( ) ) , new PageLinkButton ( 1 , " https://www.youtube.com/watch?v=fhjz0Ew56pM " ) ) . setImportant ( ) ;
new BookletChapter ( " intro " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitItems . itemBooklet ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PageTextOnly ( 3 ) ) ;
2016-08-03 18:08:07 +02:00
ArrayList < BookletPage > crystalPages = new ArrayList < BookletPage > ( ) ;
2016-11-19 23:12:22 +01:00
crystalPages . addAll ( Arrays . asList ( new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityAtomicReconstructor . ENERGY_USE ) , new PageTextOnly ( 2 ) , new PageTextOnly ( 3 ) , new PagePicture ( 4 , " page_atomic_reconstructor " , 0 ) . setNoText ( ) , new PageTextOnly ( 5 ) , new PageCrafting ( 6 , BlockCrafting . recipeAtomicReconstructor ) . setWildcard ( ) ) ) ;
2016-08-03 18:08:07 +02:00
for ( int i = 0 ; i < LensRecipeHandler . MAIN_PAGE_RECIPES . size ( ) ; i + + ) {
2016-08-05 13:24:48 +02:00
crystalPages . add ( new PageReconstructor ( 7 + i , LensRecipeHandler . MAIN_PAGE_RECIPES . get ( i ) ) . setNoText ( ) ) ;
2016-08-03 18:08:07 +02:00
}
2016-08-05 13:24:48 +02:00
crystalPages . add ( new PageCrafting ( crystalPages . size ( ) + 1 , MiscCrafting . RECIPES_CRYSTALS ) . setNoText ( ) ) ;
crystalPages . add ( new PageCrafting ( crystalPages . size ( ) + 1 , MiscCrafting . RECIPES_CRYSTAL_BLOCKS ) . setNoText ( ) ) ;
2016-11-27 23:04:26 +01:00
chaptersIntroduction [ 2 ] = new BookletChapter ( " engineerHouse " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( Items . EMERALD ) , new PageTextOnly ( 1 ) , new PagePicture ( 2 , " page_engineer_house " , 145 ) ) ;
2016-11-21 21:04:14 +01:00
chaptersIntroduction [ 6 ] = new BookletChapter ( " crystals " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitBlocks . blockAtomicReconstructor ) , crystalPages . toArray ( new BookletPage [ crystalPages . size ( ) ] ) ) . setSpecial ( ) ;
2016-11-28 13:02:42 +01:00
chaptersIntroduction [ 5 ] = new BookletChapter ( " coalGen " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitBlocks . blockCoalGenerator ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityCoalGenerator . PRODUCE ) , new PageCrafting ( 2 , BlockCrafting . recipeCoalGen ) . setWildcard ( ) . setNoText ( ) ) ;
2016-08-03 19:01:12 +02:00
ArrayList < BookletPage > empowererPages = new ArrayList < BookletPage > ( ) ;
2016-11-19 23:12:22 +01:00
empowererPages . addAll ( Arrays . asList ( new PageTextOnly ( 1 ) , new PagePicture ( 2 , " page_empowerer " , 137 ) , new PageCrafting ( 3 , BlockCrafting . recipeEmpowerer ) , new PageCrafting ( 4 , BlockCrafting . recipeDisplayStand ) ) ) ;
2016-08-03 19:01:12 +02:00
for ( int i = 0 ; i < EmpowererHandler . MAIN_PAGE_RECIPES . size ( ) ; i + + ) {
empowererPages . add ( new PageEmpowerer ( 7 + i , EmpowererHandler . MAIN_PAGE_RECIPES . get ( i ) ) . setNoText ( ) ) ;
}
2016-08-05 13:24:48 +02:00
empowererPages . add ( new PageCrafting ( empowererPages . size ( ) + 1 , MiscCrafting . RECIPES_EMPOWERED_CRYSTALS ) . setNoText ( ) ) ;
empowererPages . add ( new PageCrafting ( empowererPages . size ( ) + 1 , MiscCrafting . RECIPES_EMPOWERED_CRYSTAL_BLOCKS ) . setNoText ( ) ) ;
2016-08-03 19:01:12 +02:00
new BookletChapter ( " empowerer " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitBlocks . blockEmpowerer ) , empowererPages . toArray ( new BookletPage [ empowererPages . size ( ) ] ) ) . setSpecial ( ) ;
2016-11-26 15:47:04 +01:00
new BookletChapter ( " craftingIngs " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . COIL . ordinal ( ) ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeCoil ) . setNoText ( ) , new PageCrafting ( 3 , ItemCrafting . recipeCoilAdvanced ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeCase ) . setNoText ( ) , new PageCrafting ( 5 , BlockCrafting . recipeEnderPearlBlock ) . setNoText ( ) , new PageCrafting ( 6 , BlockCrafting . recipeEnderCase ) . setNoText ( ) , new PageCrafting ( 7 , ItemCrafting . recipeRing ) . setNoText ( ) , new PageCrafting ( 8 , ItemCrafting . recipeKnifeHandle ) . setNoText ( ) , new PageCrafting ( 9 , ItemCrafting . recipeKnifeBlade ) . setNoText ( ) , new PageCrafting ( 10 , ItemCrafting . recipeKnife ) . setNoText ( ) , new PageCrafting ( 11 , ItemCrafting . recipeDough ) . setNoText ( ) , new PageCrafting ( 12 , ItemCrafting . recipeRiceDough ) . setNoText ( ) , new PageCrafting ( 13 , BlockCrafting . recipeIronCase ) . setNoText ( ) , new PageCrafting ( 14 , ItemCrafting . recipeLens ) . setNoText ( ) ) ;
chaptersIntroduction [ 4 ] = new BookletChapter ( " rf " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( Items . REDSTONE ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) ) . setImportant ( ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//Miscellaneous
2016-11-19 23:12:22 +01:00
new BookletChapter ( " worms " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemWorm ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemWorm ) ) , new PagePicture ( 2 , " page_worms " , 145 ) ) . setImportant ( ) ;
2016-05-13 23:19:30 +02:00
new BookletChapter ( " banners " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( Items . BANNER , 1 , 15 ) , new PageTextOnly ( 1 ) ) ;
2016-05-05 19:50:59 +02:00
new BookletChapter ( " miscDecorStuffsAndThings " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockTestifiBucksGreenWall ) , new PageTextOnly ( 1 ) , new PageReconstructor ( 2 , LensRecipeHandler . recipeWhiteWall ) . setNoText ( ) , new PageReconstructor ( 3 , LensRecipeHandler . recipeGreenWall ) . setNoText ( ) ) ;
2016-11-21 21:04:14 +01:00
chaptersIntroduction [ 3 ] = new BookletChapter ( " quartz " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . QUARTZ . ordinal ( ) ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitBlocks . blockMisc , 1 , TheMiscBlocks . ORE_QUARTZ . ordinal ( ) ) ) . addTextReplacement ( " <lowest> " , OreGen . QUARTZ_MIN ) . addTextReplacement ( " <highest> " , OreGen . QUARTZ_MAX ) , new PageTextOnly ( 2 ) . addItemToPage ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . QUARTZ . ordinal ( ) ) ) , new PageCrafting ( 3 , BlockCrafting . recipeQuartzBlock ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeQuartzPillar ) . setNoText ( ) , new PageCrafting ( 5 , BlockCrafting . recipeQuartzChiseled ) . setNoText ( ) ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " cloud " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockSmileyCloud ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeSmileyCloud ) . setWildcard ( ) ) . setSpecial ( ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " coalStuff " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . TINY_COAL . ordinal ( ) ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeTinyCoal ) . setNoText ( ) , new PageCrafting ( 3 , ItemCrafting . recipeTinyChar ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeBlockChar ) . setNoText ( ) ) ;
2015-09-16 11:58:11 +02:00
ArrayList < BookletPage > lampPages = new ArrayList < BookletPage > ( ) ;
2015-09-19 17:50:16 +02:00
lampPages . add ( new PageTextOnly ( lampPages . size ( ) + 1 ) ) ;
2016-09-12 16:44:53 +02:00
lampPages . add ( new PageTextOnly ( lampPages . size ( ) + 1 ) ) ;
2016-11-10 21:07:15 +01:00
lampPages . add ( new PageCrafting ( lampPages . size ( ) + 1 , BlockCrafting . recipePowerer ) . setWildcard ( ) . setNoText ( ) ) ;
2016-06-17 23:50:38 +02:00
for ( IRecipe recipe : BlockCrafting . RECIPES_LAMPS ) {
2015-09-16 11:58:11 +02:00
lampPages . add ( new PageCrafting ( lampPages . size ( ) + 1 , recipe ) . setNoText ( ) ) ;
}
2016-01-05 14:57:50 +01:00
new BookletChapter ( " lamps " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockColoredLampOn , 1 , TheColoredLampColors . GREEN . ordinal ( ) ) , lampPages . toArray ( new BookletPage [ lampPages . size ( ) ] ) ) ;
2016-05-04 17:47:54 +02:00
new BookletChapter ( " enderStar " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . ENDER_STAR . ordinal ( ) ) , new PageCrafting ( 1 , ItemCrafting . recipeEnderStar ) ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " spawnerShard " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . SPAWNER_SHARD . ordinal ( ) ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . SPAWNER_SHARD . ordinal ( ) ) ) ) ;
2015-09-16 11:58:11 +02:00
2016-11-19 23:12:22 +01:00
new BookletChapter ( " treasureChest " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockTreasureChest ) , new PagePicture ( 1 , " page_treasure_chest " , 150 ) . addItemToPage ( new ItemStack ( InitBlocks . blockTreasureChest ) ) , new PageTextOnly ( 2 ) ) . setSpecial ( ) ;
new BookletChapter ( " lushCaves " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( Blocks . STONE ) , new PageTextOnly ( 1 ) , new PagePicture ( 2 , " page_lush_caves " , 0 ) . setNoText ( ) ) ;
new BookletChapter ( " hairBalls " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemHairyBall ) , new PagePicture ( 1 , " page_fur_balls " , 110 ) . addItemToPage ( new ItemStack ( InitItems . itemHairyBall ) ) , new PageTextOnly ( 2 ) ) . setSpecial ( ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " blackLotus " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockBlackLotus ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitBlocks . blockBlackLotus ) ) , new PageCrafting ( 2 , ItemCrafting . recipeBlackDye ) ) ;
new BookletChapter ( " waterBowl " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemWaterBowl ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemWaterBowl ) ) ) ;
new BookletChapter ( " tinyTorch " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockTinyTorch ) , new PageCrafting ( 1 , BlockCrafting . recipesTinyTorch ) . setWildcard ( ) ) . setSpecial ( ) ;
2015-09-10 21:25:34 +02:00
2016-07-20 11:03:56 +02:00
//Reconstruction
2016-11-21 21:04:14 +01:00
chaptersIntroduction [ 7 ] = new BookletChapter ( " reconstructorLenses " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . LENS . ordinal ( ) ) , new PageTextOnly ( 1 ) ) . setImportant ( ) ;
2016-08-31 20:47:12 +02:00
new BookletChapter ( " additionalRecipes " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( Items . LEATHER ) , new PageReconstructor ( 1 , LensRecipeHandler . recipeSoulSand ) . setNoText ( ) , new PageReconstructor ( 2 , LensRecipeHandler . recipeLeather ) . setNoText ( ) , new PageReconstructor ( 3 , LensRecipeHandler . recipeNetherWart ) . setNoText ( ) , new PageReconstructor ( 4 , LensRecipeHandler . recipePrismarine ) . setNoText ( ) ) . setSpecial ( ) ;
2016-07-20 11:03:56 +02:00
new BookletChapter ( " lensColor " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemColorLens ) , new PageTextOnly ( 1 ) , new PageReconstructor ( 2 , LensRecipeHandler . recipeColorLens ) . setNoText ( ) ) ;
new BookletChapter ( " lensDeath " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemDamageLens ) , new PageTextOnly ( 1 ) , new PageReconstructor ( 2 , LensRecipeHandler . recipeDamageLens ) . setNoText ( ) ) ;
2016-11-02 18:49:57 +01:00
new BookletChapter ( " lensMoreDeath " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemMoreDamageLens ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeLensMoreDeath ) . setNoText ( ) ) ;
2016-07-20 11:03:56 +02:00
new BookletChapter ( " lensDetonation " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemExplosionLens ) , new PageTextOnly ( 1 ) , new PageReconstructor ( 2 , LensRecipeHandler . recipeExplosionLens ) . setNoText ( ) ) ;
2016-07-20 11:16:27 +02:00
new BookletChapter ( " lensDisenchanting " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemDisenchantingLens ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <energy> " , LensDisenchanting . ENERGY_USE ) , new PageCrafting ( 2 , ItemCrafting . recipeDisenchantingLens ) . setNoText ( ) ) . setSpecial ( ) ;
2016-10-31 16:56:04 +01:00
new BookletChapter ( " lensMining " , ActuallyAdditionsAPI . entryReconstruction , new ItemStack ( InitItems . itemMiningLens ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <energy> " , LensMining . ENERGY_USE ) , new PageCrafting ( 2 , ItemCrafting . recipeMiningLens ) . setNoText ( ) ) . setImportant ( ) ;
2016-07-20 11:03:56 +02:00
2016-11-09 19:26:53 +01:00
//Laser Relays
2016-11-21 21:04:14 +01:00
chaptersIntroduction [ 8 ] = new BookletChapter ( " laserIntro " , ActuallyAdditionsAPI . entryLaserRelays , new ItemStack ( InitItems . itemLaserWrench ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) . addTextReplacement ( " <range> " , TileEntityLaserRelay . MAX_DISTANCE ) , new PageCrafting ( 3 , ItemCrafting . recipeLaserWrench ) . setNoText ( ) ) . setImportant ( ) ;
2016-11-19 23:12:22 +01:00
new BookletChapter ( " laserRelays " , ActuallyAdditionsAPI . entryLaserRelays , new ItemStack ( InitBlocks . blockLaserRelay ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) . addTextReplacement ( " <cap1> " , TileEntityLaserRelayEnergy . CAP ) . addTextReplacement ( " <cap2> " , TileEntityLaserRelayEnergyAdvanced . CAP ) . addTextReplacement ( " <cap3> " , TileEntityLaserRelayEnergyExtreme . CAP ) , new PagePicture ( 3 , " page_laser_relay " , 0 ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeLaserRelay ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 5 , BlockCrafting . recipeLaserRelayAdvanced ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 6 , BlockCrafting . recipeLaserRelayExtreme ) . setWildcard ( ) . setNoText ( ) ) ;
new BookletChapter ( " itemStorage " , ActuallyAdditionsAPI . entryLaserRelays , new ItemStack ( InitBlocks . blockLaserRelayItemWhitelist ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PagePicture ( 3 , " page_item_laser_relay_basic " , 78 ) , new PagePicture ( 4 , " pageItemLaserRelayFail " , 84 ) , new PagePicture ( 5 , " pageItemLaserRelayTransfer " , 78 ) , new PagePicture ( 6 , " pageItemLaserRelayWhitelistChest " , 76 ) , new PagePicture ( 7 , " pageItemLaserRelayWhitelistInterface " , 75 ) , new PagePicture ( 8 , " pageItemLaserRelaySystem " , 75 ) , new PageTextOnly ( 9 ) , new PageCrafting ( 10 , BlockCrafting . recipeLaserRelayItem ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 11 , BlockCrafting . recipeLaserRelayItemWhitelist ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 12 , BlockCrafting . recipeItemInterface ) . setNoText ( ) ) ;
2016-11-09 19:26:53 +01:00
new BookletChapter ( " fluidLaser " , ActuallyAdditionsAPI . entryLaserRelays , new ItemStack ( InitBlocks . blockLaserRelayFluids ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeFluidLaser ) . setNoText ( ) ) ;
2015-09-12 20:35:43 +02:00
//No RF Using Blocks
2016-11-10 21:07:15 +01:00
new BookletChapter ( " breaker " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockBreaker ) , new PageCrafting ( 1 , BlockCrafting . recipeBreaker ) . setWildcard ( ) , new PageCrafting ( 2 , BlockCrafting . recipePlacer ) . setWildcard ( ) , new PageCrafting ( 3 , BlockCrafting . recipeLiquidPlacer ) . setWildcard ( ) , new PageCrafting ( 4 , BlockCrafting . recipeLiquidCollector ) . setWildcard ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " dropper " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockDropper ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeDropper ) . setNoText ( ) ) ;
new BookletChapter ( " phantomfaces " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockPhantomLiquiface ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <range> " , TileEntityPhantomface . RANGE ) , new PageTextOnly ( 2 ) , new PageCrafting ( 3 , BlockCrafting . recipePhantomface ) , new PageCrafting ( 4 , BlockCrafting . recipeLiquiface ) , new PageCrafting ( 5 , BlockCrafting . recipeEnergyface ) , new PageCrafting ( 6 , ItemCrafting . recipePhantomConnector ) . setNoText ( ) , new PageCrafting ( 7 , BlockCrafting . recipePhantomBooster ) ) . setImportant ( ) ;
2016-05-05 17:37:12 +02:00
new BookletChapter ( " phantomRedstoneface " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockPhantomRedstoneface ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipePhantomRedstoneface ) . setNoText ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " phantomBreaker " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockPhantomBreaker ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <range> " , TileEntityPhantomPlacer . RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipePhantomPlacer ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipePhantomBreaker ) . setNoText ( ) ) ;
2016-03-18 16:02:27 +01:00
new BookletChapter ( " esd " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockInputterAdvanced ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeESD ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipeAdvancedESD ) . setNoText ( ) ) . setSpecial ( ) ;
2016-09-11 13:33:47 +02:00
new BookletChapter ( " distributorItem " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockDistributorItem ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeDistributorItem ) . setNoText ( ) ) . setSpecial ( ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " xpSolidifier " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockXPSolidifier ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemSolidifiedExperience ) ) , new PageCrafting ( 2 , BlockCrafting . recipeSolidifier ) . setNoText ( ) ) . setImportant ( ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " greenhouseGlass " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockGreenhouseGlass ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeGlass ) ) ;
new BookletChapter ( " fishingNet " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockFishingNet ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeFisher ) . setNoText ( ) ) ;
new BookletChapter ( " feeder " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockFeeder ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeFeeder ) . setNoText ( ) ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " compost " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockCompost ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemFertilizer ) ) , new PageCrafting ( 2 , BlockCrafting . recipeCompost ) . setNoText ( ) , new PageCrafting ( 3 , ItemCrafting . RECIPES_MASHED_FOOD ) ) ;
2016-08-04 03:14:45 +02:00
new BookletChapter ( " crate " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockGiantChest ) , new PageCrafting ( 1 , BlockCrafting . recipeCrate ) , new PageCrafting ( 2 , BlockCrafting . recipeCrateMedium ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipeCrateLarge ) . setNoText ( ) , new PageCrafting ( 4 , ItemCrafting . recipeCrateKeeper ) , new PageCrafting ( 5 , ItemCrafting . recipeChestToCrateUpgrade ) , new PageCrafting ( 6 , ItemCrafting . recipeSmallToMediumCrateUpgrade ) , new PageCrafting ( 7 , ItemCrafting . recipeMediumToLargeCrateUpgrade ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " rangedCollector " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockRangedCollector ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <range> " , TileEntityRangedCollector . RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipeRangedCollector ) . setNoText ( ) ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//RF Using Blocks
2016-12-04 15:36:14 +01:00
new BookletChapter ( " farmer " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockFarmer ) , new PageTextOnly ( 1 ) , new PagePicture ( 2 , " page_farmer_crops " , 95 ) . addItemToPage ( new ItemStack ( Items . WHEAT_SEEDS ) ) . addItemToPage ( new ItemStack ( InitItems . itemCanolaSeed ) ) , new PagePicture ( 3 , " page_farmer_cactus " , 105 ) . addItemToPage ( new ItemStack ( Blocks . CACTUS ) ) , new PageCrafting ( 4 , BlockCrafting . recipeFarmer ) . setWildcard ( ) . setNoText ( ) ) . setImportant ( ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " fireworkBox " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockFireworkBox ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityFireworkBox . USE_PER_SHOT ) , new PageCrafting ( 2 , BlockCrafting . recipeFireworkBox ) ) . setSpecial ( ) ;
new BookletChapter ( " miner " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockMiner ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityMiner . ENERGY_USE_PER_BLOCK ) . addTextReplacement ( " <range> " , TileEntityMiner . DEFAULT_RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipeMiner ) ) . setSpecial ( ) ;
2016-11-19 23:12:22 +01:00
new BookletChapterCoffee ( " coffeeMachine " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockCoffeeMachine ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemCoffeeBean ) ) . addTextReplacement ( " <rf> " , TileEntityCoffeeMachine . ENERGY_USED ) . addTextReplacement ( " <coffee> " , TileEntityCoffeeMachine . CACHE_USE ) . addTextReplacement ( " <water> " , TileEntityCoffeeMachine . WATER_USE ) , new PageTextOnly ( 2 ) . addItemToPage ( new ItemStack ( InitItems . itemCoffee ) ) , new PagePicture ( 3 , " page_coffee_machine " , 115 ) , new PageCrafting ( 4 , BlockCrafting . recipeCoffeeMachine ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 5 , ItemCrafting . recipeCup ) . setNoText ( ) ) . setImportant ( ) ;
2016-11-10 21:07:15 +01:00
new BookletChapterCrusher ( " crusher " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockGrinderDouble ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityGrinder . ENERGY_USE ) , new PageCrafting ( 2 , BlockCrafting . recipeCrusher ) . setWildcard ( ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipeDoubleCrusher ) . setWildcard ( ) . setNoText ( ) , new PageCrusherRecipe ( 4 , CrusherCrafting . recipeIronHorseArmor ) . setNoText ( ) , new PageCrusherRecipe ( 5 , CrusherCrafting . recipeGoldHorseArmor ) . setNoText ( ) , new PageCrusherRecipe ( 6 , CrusherCrafting . recipeDiamondHorseArmor ) . setNoText ( ) ) ;
new BookletChapter ( " furnaceDouble " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockFurnaceDouble ) , new PageCrafting ( 1 , BlockCrafting . recipeFurnace ) . setWildcard ( ) . addTextReplacement ( " <rf> " , TileEntityFurnaceDouble . ENERGY_USE ) ) ;
2016-11-19 23:12:22 +01:00
new BookletChapter ( " lavaFactory " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockLavaFactoryController ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityLavaFactoryController . ENERGY_USE ) , new PagePicture ( 2 , " page_lava_factory " , 0 ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipeLavaFactory ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeCasing ) . setNoText ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " energizer " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockEnergizer ) , new PageCrafting ( 1 , BlockCrafting . recipeEnergizer ) , new PageCrafting ( 2 , BlockCrafting . recipeEnervator ) ) ;
new BookletChapter ( " repairer " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockItemRepairer ) , new PageCrafting ( 1 , BlockCrafting . recipeRepairer ) . addTextReplacement ( " <rf> " , TileEntityItemRepairer . ENERGY_USE ) ) ;
2016-11-10 21:07:15 +01:00
new BookletChapter ( " longRangeBreaker " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockDirectionalBreaker ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityDirectionalBreaker . ENERGY_USE ) . addTextReplacement ( " <range> " , TileEntityDirectionalBreaker . RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipeDirectionalBreaker ) . setWildcard ( ) ) ;
2016-06-05 04:34:01 +02:00
new BookletChapter ( " playerInterface " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockPlayerInterface ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <range> " , TileEntityPlayerInterface . DEFAULT_RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipePlayerInterface ) . setNoText ( ) ) . setSpecial ( ) ;
2016-06-09 17:39:01 +02:00
new BookletChapter ( " displayStand " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockDisplayStand ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PageCrafting ( 3 , BlockCrafting . recipeDisplayStand ) . setNoText ( ) ) . setSpecial ( ) ;
2016-07-06 21:06:37 +02:00
new BookletChapter ( " shockSuppressor " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockShockSuppressor ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <range> " , TileEntityShockSuppressor . RANGE ) . addTextReplacement ( " <rf> " , TileEntityShockSuppressor . USE_PER ) , new PageCrafting ( 2 , BlockCrafting . recipeShockSuppressor ) ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//RF Generating Blocks
2016-01-05 14:57:50 +01:00
new BookletChapter ( " solarPanel " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockFurnaceSolar ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityFurnaceSolar . PRODUCE ) , new PageCrafting ( 2 , BlockCrafting . recipeSolar ) . setNoText ( ) ) ;
new BookletChapter ( " heatCollector " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockHeatCollector ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityHeatCollector . ENERGY_PRODUCE ) . addTextReplacement ( " <min> " , TileEntityHeatCollector . BLOCKS_NEEDED ) , new PageCrafting ( 2 , BlockCrafting . recipeHeatCollector ) . setNoText ( ) ) ;
2016-11-28 13:11:29 +01:00
new BookletChapter ( " canola " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockFermentingBarrel ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . CANOLA . ordinal ( ) ) ) . addItemToPage ( new ItemStack ( InitItems . itemCanolaSeed ) ) . addFluidToPage ( InitFluids . fluidCanolaOil ) , new PageTextOnly ( 2 ) . addFluidToPage ( InitFluids . fluidOil ) . addFluidToPage ( InitFluids . fluidCrystalOil ) . addFluidToPage ( InitFluids . fluidEmpoweredOil ) , new PageCrafting ( 3 , BlockCrafting . recipeCanolaPress ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeFermentingBarrel ) , new PageCrafting ( 5 , BlockCrafting . recipeOilGen ) , new PageReconstructor ( 6 , LensRecipeHandler . recipeCrystallizedCanolaSeed ) . setNoText ( ) , new PageEmpowerer ( 7 , EmpowererHandler . recipeEmpoweredCanolaSeed ) . setNoText ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " leafGen " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockLeafGenerator ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityLeafGenerator . ENERGY_PRODUCED ) . addTextReplacement ( " <range> " , TileEntityLeafGenerator . RANGE ) , new PageCrafting ( 2 , BlockCrafting . recipeLeafGen ) ) . setImportant ( ) ;
2016-10-30 23:36:39 +01:00
new BookletChapter ( " bioReactor " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockBioReactor ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeBioReactor ) . setNoText ( ) ) . setSpecial ( ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//No RF Using Items
2016-08-07 01:11:01 +02:00
new BookletChapter ( " bags " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemBag ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeBag ) , new PageCrafting ( 3 , ItemCrafting . recipeVoidBag ) . setNoText ( ) ) . setImportant ( ) ;
2016-11-22 19:35:52 +01:00
new BookletChapter ( " wings " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemWingsOfTheBats ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . BAT_WING . ordinal ( ) ) ) . addTextReplacement ( " <secs> " , ItemWingsOfTheBats . MAX_FLY_TIME / 20 ) , new PageCrafting ( 2 , ItemCrafting . recipeWings ) . setNoText ( ) ) . setSpecial ( ) ;
2016-07-14 18:12:09 +02:00
new BookletChapter ( " foods " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemFoods , 1 , TheFoods . HAMBURGER . ordinal ( ) ) , new PageCrafting ( 1 , FoodCrafting . recipeBacon ) . setNoText ( ) , new PageFurnace ( 2 , new ItemStack ( InitItems . itemFoods , 1 , TheFoods . RICE_BREAD . ordinal ( ) ) ) . setNoText ( ) , new PageCrafting ( 3 , FoodCrafting . recipeHamburger ) . setNoText ( ) , new PageCrafting ( 4 , FoodCrafting . recipeBigCookie ) . setNoText ( ) , new PageCrafting ( 5 , FoodCrafting . recipeSubSandwich ) . setNoText ( ) , new PageCrafting ( 6 , FoodCrafting . recipeFrenchFry ) . setNoText ( ) , new PageCrafting ( 7 , FoodCrafting . recipeFrenchFries ) . setNoText ( ) , new PageCrafting ( 8 , FoodCrafting . recipeFishNChips ) . setNoText ( ) , new PageCrafting ( 9 , FoodCrafting . recipeCheese ) . setNoText ( ) , new PageCrafting ( 10 , FoodCrafting . recipePumpkinStew ) . setNoText ( ) , new PageCrafting ( 11 , FoodCrafting . recipeCarrotJuice ) . setNoText ( ) , new PageCrafting ( 12 , FoodCrafting . recipeSpaghetti ) . setNoText ( ) , new PageCrafting ( 13 , FoodCrafting . recipeNoodle ) . setNoText ( ) , new PageCrafting ( 14 , FoodCrafting . recipeChocolate ) . setNoText ( ) , new PageCrafting ( 15 , FoodCrafting . recipeChocolateCake ) . setNoText ( ) , new PageCrafting ( 16 , FoodCrafting . recipeToast ) . setNoText ( ) , new PageFurnace ( 17 , new ItemStack ( InitItems . itemFoods , 1 , TheFoods . BAGUETTE . ordinal ( ) ) ) . setNoText ( ) , new PageCrafting ( 18 , FoodCrafting . recipeChocolateToast ) . setNoText ( ) , new PageCrafting ( 1 , FoodCrafting . recipePizza ) . setNoText ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " leafBlower " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemLeafBlowerAdvanced ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeLeafBlower ) . setNoText ( ) , new PageCrafting ( 3 , ItemCrafting . recipeLeafBlowerAdvanced ) . setNoText ( ) ) . setImportant ( ) ;
2016-07-17 14:09:57 +02:00
new BookletChapter ( " playerProbe " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemPlayerProbe ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipePlayerProbe ) . setNoText ( ) ) . setSpecial ( ) ;
2015-09-12 20:35:43 +02:00
ArrayList < BookletPage > aiotPages = new ArrayList < BookletPage > ( ) ;
aiotPages . add ( new PageTextOnly ( aiotPages . size ( ) + 1 ) ) ;
2016-06-17 23:50:38 +02:00
for ( IRecipe recipe : ToolCrafting . RECIPES_PAXELS ) {
2016-11-10 21:07:15 +01:00
aiotPages . add ( new PageCrafting ( aiotPages . size ( ) + 1 , recipe ) . setWildcard ( ) . setNoText ( ) ) ;
2015-09-12 20:35:43 +02:00
}
2016-01-05 14:57:50 +01:00
new BookletChapter ( " aiots " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . emeraldPaxel ) , aiotPages . toArray ( new BookletPage [ aiotPages . size ( ) ] ) ) . setImportant ( ) ;
2015-09-12 20:35:43 +02:00
2016-11-19 23:12:22 +01:00
new BookletChapter ( " jams " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemJams ) , new PageTextOnly ( 1 ) . addItemToPage ( new ItemStack ( InitItems . itemJams , 1 , Util . WILDCARD ) ) , new PagePicture ( 2 , " page_jam_house " , 150 ) , new PageTextOnly ( 3 ) ) ;
2015-09-12 20:35:43 +02:00
ArrayList < BookletPage > potionRingPages = new ArrayList < BookletPage > ( ) ;
potionRingPages . add ( new PageTextOnly ( potionRingPages . size ( ) + 1 ) ) ;
2016-06-17 23:50:38 +02:00
for ( IRecipe recipe : ItemCrafting . RECIPES_POTION_RINGS ) {
2015-09-16 11:58:11 +02:00
potionRingPages . add ( new PageCrafting ( potionRingPages . size ( ) + 1 , recipe ) . setNoText ( ) ) ;
2015-09-12 20:35:43 +02:00
}
2016-01-05 14:57:50 +01:00
new BookletChapter ( " potionRings " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemPotionRing ) , potionRingPages . toArray ( new BookletPage [ potionRingPages . size ( ) ] ) ) ;
2016-05-08 14:11:24 +02:00
new BookletChapter ( " spawnerChanger " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemSpawnerChanger ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeSpawnerChanger ) . setNoText ( ) ) ;
2016-06-09 17:39:01 +02:00
new BookletChapter ( " itemFilter " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitItems . itemFilter ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeFilter ) . setNoText ( ) ) . setImportant ( ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//RF Using Items
2016-08-04 11:57:35 +02:00
new BookletChapter ( " drill " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemDrill , 1 , TheColoredLampColors . LIGHT_BLUE . ordinal ( ) ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PageCrafting ( 3 , ItemCrafting . recipeDrill ) . setNoText ( ) , new PageCrafting ( 4 , ItemCrafting . RECIPES_DRILL_COLORING ) , new PageCrafting ( 4 , ItemCrafting . recipeDrillCore ) . setNoText ( ) , new PageCrafting ( 5 , ItemCrafting . recipeDrillSpeedI ) . setNoText ( ) , new PageCrafting ( 6 , ItemCrafting . recipeDrillSpeedII ) . setNoText ( ) , new PageCrafting ( 7 , ItemCrafting . recipeDrillSpeedIII ) . setNoText ( ) , new PageCrafting ( 8 , ItemCrafting . recipeDrillFortuneI ) . setNoText ( ) , new PageCrafting ( 9 , ItemCrafting . recipeDrillFortuneII ) . setNoText ( ) , new PageCrafting ( 10 , ItemCrafting . recipeDrillSilk ) . setNoText ( ) , new PageCrafting ( 11 , ItemCrafting . recipeDrillThree ) . setNoText ( ) , new PageCrafting ( 12 , ItemCrafting . recipeDrillFive ) . setNoText ( ) , new PageCrafting ( 13 , ItemCrafting . recipeDrillPlacing ) . setNoText ( ) ) . setSpecial ( ) ;
2016-11-05 16:16:42 +01:00
new BookletChapter ( " fillingWand " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemFillingWand ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeFillingWand ) . setNoText ( ) ) . setSpecial ( ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " staff " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemTeleStaff ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeStaff ) . setNoText ( ) ) . setImportant ( ) ;
new BookletChapter ( " magnetRing " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemMagnetRing ) , new PageCrafting ( 1 , ItemCrafting . recipeMagnetRing ) ) ;
new BookletChapter ( " growthRing " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemGrowthRing ) , new PageCrafting ( 1 , ItemCrafting . recipeGrowthRing ) ) ;
new BookletChapter ( " waterRemovalRing " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemWaterRemovalRing ) , new PageCrafting ( 1 , ItemCrafting . recipeWaterRing ) ) ;
new BookletChapter ( " batteries " , ActuallyAdditionsAPI . entryItemsRF , new ItemStack ( InitItems . itemBatteryTriple ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , ItemCrafting . recipeBattery ) . setNoText ( ) , new PageCrafting ( 3 , ItemCrafting . recipeBatteryDouble ) . setNoText ( ) , new PageCrafting ( 4 , ItemCrafting . recipeBatteryTriple ) . setNoText ( ) , new PageCrafting ( 5 , ItemCrafting . recipeBatteryQuadruple ) . setNoText ( ) , new PageCrafting ( 6 , ItemCrafting . recipeBatteryQuintuple ) . setNoText ( ) ) ;
2016-11-17 18:00:26 +01:00
//Updates and infos
new BookletChapter ( " changelog " , ActuallyAdditionsAPI . entryUpdatesAndInfos , new ItemStack ( Items . CLOCK ) , new PageLinkButton ( 1 , UpdateChecker . CHANGELOG_LINK ) ) ;
new BookletChapter ( " curse " , ActuallyAdditionsAPI . entryUpdatesAndInfos , new ItemStack ( Items . FLINT_AND_STEEL ) , new PageLinkButton ( 1 , " http://ellpeck.de/actadd " ) ) ;
2016-11-19 23:12:22 +01:00
new BookletChapter ( " patreon " , ActuallyAdditionsAPI . entryUpdatesAndInfos , new ItemStack ( InitItems . itemCrystal , 1 , TheCrystals . EMERALD . ordinal ( ) ) , new PageLinkButton ( 1 , " http://patreon.com/Ellpeck " ) , new PagePicture ( 2 , " page_patreon " , 153 ) ) . setImportant ( ) ;
2016-11-17 18:00:26 +01:00
new BookletChapter ( " website " , ActuallyAdditionsAPI . entryUpdatesAndInfos , new ItemStack ( InitItems . itemBooklet ) , new PageLinkButton ( 1 , " http://ellpeck.de " ) ) ;
2016-11-10 21:07:15 +01:00
}
2015-08-28 21:17:09 +02:00
}