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 ;
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-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-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-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
import java.util.ArrayList ;
2016-08-03 18:08:07 +02:00
import java.util.Arrays ;
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
2015-08-30 19:10:10 +02:00
public static BookletChapter chapterIntro ;
2016-11-09 19:26:53 +01:00
public static BookletChapter [ ] chaptersIntroduction = new BookletChapter [ 8 ] ;
2015-08-30 19:10:10 +02:00
2016-01-05 14:57:50 +01:00
public static void preInit ( ) {
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 " ) ;
ActuallyAdditionsAPI . entryMisc = new BookletEntry ( " misc " ) . setSpecial ( ) ;
2016-11-10 19:50:01 +01:00
ActuallyAdditionsAPI . allAndSearch = new BookletEntryAllItems ( " allAndSearch " ) . setImportant ( ) ;
2016-01-05 14:57:50 +01:00
}
2016-02-01 17:49:55 +01:00
2016-01-05 14:57:50 +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-10 19:50:01 +01:00
for ( IBookletPage page : chapter . getAllPages ( ) ) {
2016-10-30 23:36:39 +01:00
ItemStack [ ] items = page . getItemStacksForPage ( ) ;
FluidStack [ ] fluids = page . getFluidStacksForPage ( ) ;
if ( ( items ! = null & & items . length > 0 ) | | ( fluids ! = null & & fluids . length > 0 ) ) {
if ( ! ActuallyAdditionsAPI . BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA . contains ( page ) ) {
ActuallyAdditionsAPI . BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA . add ( page ) ;
2016-11-10 19:50:01 +01:00
infoCount + + ;
2016-10-30 23:36:39 +01:00
}
}
2016-10-31 16:56:04 +01:00
2016-11-10 19:50:01 +01:00
pageCount + + ;
2016-10-30 23:36:39 +01:00
}
}
}
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 ( ) {
2016-11-10 19:50:01 +01:00
/ * TODO Reenable this
2015-11-15 15:15:32 +01:00
//Getting Started
2016-01-05 14:57:50 +01:00
chapterIntro = new BookletChapter ( " intro " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitItems . itemBooklet ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PageTextOnly ( 3 ) ) ;
2016-10-31 20:52:41 +01:00
new BookletChapter ( " reviews " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( Items . BOOK ) , new PageTextOnly ( 1 ) ) ;
2016-11-01 16:47:40 +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 ( ) ;
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-08-03 18:08:07 +02:00
ArrayList < BookletPage > crystalPages = new ArrayList < BookletPage > ( ) ;
2016-08-05 13:24:48 +02:00
crystalPages . addAll ( Arrays . asList ( new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityAtomicReconstructor . ENERGY_USE ) , new PageTextOnly ( 2 ) , new PageTextOnly ( 3 ) , new PagePicture ( 4 , " pageAtomicReconstructor " , 0 ) . setNoText ( ) , new PageTextOnly ( 5 ) , new PageCrafting ( 6 , BlockCrafting . recipeAtomicReconstructor ) . setPageStacksWildcard ( ) ) ) ;
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-01 16:47:40 +01:00
chaptersIntroduction [ 5 ] = new BookletChapter ( " crystals " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitBlocks . blockAtomicReconstructor ) , crystalPages . toArray ( new BookletPage [ crystalPages . size ( ) ] ) ) . setSpecial ( ) ;
chaptersIntroduction [ 4 ] = new BookletChapter ( " coalGen " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( InitBlocks . blockCoalGenerator ) , new PageCrafting ( 1 , BlockCrafting . recipeCoalGen ) . addTextReplacement ( " <rf> " , TileEntityCoalGenerator . PRODUCE ) . setPageStacksWildcard ( ) ) ;
2016-08-03 19:01:12 +02:00
ArrayList < BookletPage > empowererPages = new ArrayList < BookletPage > ( ) ;
2016-08-07 00:08:41 +02:00
empowererPages . addAll ( Arrays . asList ( new PageTextOnly ( 1 ) , new PagePicture ( 2 , " pageEmpowerer " , 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-07-20 11:03:56 +02: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 ( ) ) . setImportant ( ) ;
2016-11-01 16:47:40 +01:00
chaptersIntroduction [ 3 ] = new BookletChapter ( " rf " , ActuallyAdditionsAPI . entryGettingStarted , new ItemStack ( Items . REDSTONE ) , new PageTextOnly ( 1 ) ) ;
2015-09-10 21:25:34 +02:00
2015-09-12 20:35:43 +02:00
//Miscellaneous
2016-07-22 20:59:38 +02:00
new BookletChapter ( " worms " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemWorm ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemWorm ) ) , new PagePicture ( 2 , " pageWorms " , 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-01 16:47:40 +01:00
chaptersIntroduction [ 2 ] = new BookletChapter ( " quartz " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . QUARTZ . ordinal ( ) ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitBlocks . blockMisc , 1 , TheMiscBlocks . ORE_QUARTZ . ordinal ( ) ) ) . addTextReplacement ( " <lowest> " , OreGen . QUARTZ_MIN ) . addTextReplacement ( " <highest> " , OreGen . QUARTZ_MAX ) , new PageTextOnly ( 2 ) . setStacks ( 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-07 00:00:05 +01:00
new BookletChapter ( " cloud " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockSmileyCloud ) , new PageTextOnly ( 1 ) , new PageCrafting ( 2 , BlockCrafting . recipeSmileyCloud ) . setPageStacksWildcard ( ) ) . 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 ) ) ;
lampPages . add ( new PageCrafting ( lampPages . size ( ) + 1 , BlockCrafting . recipePowerer ) . setNoText ( ) . setPageStacksWildcard ( ) ) ;
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-06-27 19:32:28 +02:00
new BookletChapter ( " spawnerShard " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . SPAWNER_SHARD . ordinal ( ) ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . SPAWNER_SHARD . ordinal ( ) ) ) ) ;
2015-09-16 11:58:11 +02:00
2016-06-27 19:32:28 +02:00
new BookletChapter ( " treasureChest " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockTreasureChest ) , new PagePicture ( 1 , " pageTreasureChest " , 150 ) . setStacks ( new ItemStack ( InitBlocks . blockTreasureChest ) ) , new PageTextOnly ( 2 ) ) . setSpecial ( ) ;
2016-05-21 15:49:50 +02:00
new BookletChapter ( " lushCaves " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( Blocks . STONE ) , new PageTextOnly ( 1 ) , new PagePicture ( 2 , " pageLushCaves " , 0 ) . setNoText ( ) ) ;
2016-06-27 19:32:28 +02:00
new BookletChapter ( " hairBalls " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemHairyBall ) , new PagePicture ( 1 , " pageFurBalls " , 110 ) . setStacks ( new ItemStack ( InitItems . itemHairyBall ) ) , new PageTextOnly ( 2 ) ) . setSpecial ( ) ;
new BookletChapter ( " blackLotus " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockBlackLotus ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitBlocks . blockBlackLotus ) ) , new PageCrafting ( 2 , ItemCrafting . recipeBlackDye ) ) ;
new BookletChapter ( " waterBowl " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitItems . itemWaterBowl ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemWaterBowl ) ) ) ;
2016-07-14 22:04:24 +02:00
new BookletChapter ( " tinyTorch " , ActuallyAdditionsAPI . entryMisc , new ItemStack ( InitBlocks . blockTinyTorch ) , new PageCrafting ( 1 , BlockCrafting . recipesTinyTorch ) . setPageStacksWildcard ( ) ) . setSpecial ( ) ;
2015-09-10 21:25:34 +02:00
2016-07-20 11:03:56 +02:00
//Reconstruction
2016-11-09 19:26:53 +01:00
chaptersIntroduction [ 6 ] = 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
chaptersIntroduction [ 7 ] = 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 ( ) ;
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 , " pageLaserRelay " , 0 ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeLaserRelay ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 5 , BlockCrafting . recipeLaserRelayAdvanced ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 6 , BlockCrafting . recipeLaserRelayExtreme ) . setNoText ( ) . setPageStacksWildcard ( ) ) ;
new BookletChapter ( " itemStorage " , ActuallyAdditionsAPI . entryLaserRelays , new ItemStack ( InitBlocks . blockLaserRelayItemWhitelist ) , new PageTextOnly ( 1 ) , new PageTextOnly ( 2 ) , new PagePicture ( 3 , " pageItemLaserRelayBasic " , 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 ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 11 , BlockCrafting . recipeLaserRelayItemWhitelist ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 12 , BlockCrafting . recipeItemInterface ) . setNoText ( ) ) ;
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-01-05 14:57:50 +01:00
new BookletChapter ( " breaker " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockBreaker ) , new PageCrafting ( 1 , BlockCrafting . recipeBreaker ) . setPageStacksWildcard ( ) , new PageCrafting ( 2 , BlockCrafting . recipePlacer ) . setPageStacksWildcard ( ) , new PageCrafting ( 3 , BlockCrafting . recipeLiquidPlacer ) . setPageStacksWildcard ( ) , new PageCrafting ( 4 , BlockCrafting . recipeLiquidCollector ) . setPageStacksWildcard ( ) ) ;
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 ( ) ;
new BookletChapter ( " xpSolidifier " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockXPSolidifier ) , new PageTextOnly ( 1 ) . setStacks ( 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-06-27 19:32:28 +02:00
new BookletChapter ( " compost " , ActuallyAdditionsAPI . entryFunctionalNonRF , new ItemStack ( InitBlocks . blockCompost ) , new PageTextOnly ( 1 ) . setStacks ( 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-10-31 19:03:04 +01:00
new BookletChapter ( " farmer " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockFarmer ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <energy> " , TileEntityFarmer . USE_PER_OPERATION ) , new PageCrafting ( 2 , BlockCrafting . recipeFarmer ) . setNoText ( ) . setPageStacksWildcard ( ) ) . 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-06-27 19:32:28 +02:00
new BookletChapterCoffee ( " coffeeMachine " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockCoffeeMachine ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemCoffeeBean ) ) . addTextReplacement ( " <rf> " , TileEntityCoffeeMachine . ENERGY_USED ) . addTextReplacement ( " <coffee> " , TileEntityCoffeeMachine . CACHE_USE ) . addTextReplacement ( " <water> " , TileEntityCoffeeMachine . WATER_USE ) , new PageTextOnly ( 2 ) . setStacks ( new ItemStack ( InitItems . itemCoffee ) ) , new PagePicture ( 3 , " pageCoffeeMachine " , 115 ) , new PageCrafting ( 4 , BlockCrafting . recipeCoffeeMachine ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 5 , ItemCrafting . recipeCup ) . setNoText ( ) ) . setImportant ( ) ;
2016-05-04 22:40:58 +02:00
new BookletChapterCrusher ( " crusher " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockGrinderDouble ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityGrinder . ENERGY_USE ) , new PageCrafting ( 2 , BlockCrafting . recipeCrusher ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrafting ( 3 , BlockCrafting . recipeDoubleCrusher ) . setNoText ( ) . setPageStacksWildcard ( ) , new PageCrusherRecipe ( 4 , CrusherCrafting . recipeIronHorseArmor ) . setNoText ( ) , new PageCrusherRecipe ( 5 , CrusherCrafting . recipeGoldHorseArmor ) . setNoText ( ) , new PageCrusherRecipe ( 6 , CrusherCrafting . recipeDiamondHorseArmor ) . setNoText ( ) ) ;
2016-01-06 19:58:59 +01:00
new BookletChapter ( " furnaceDouble " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockFurnaceDouble ) , new PageCrafting ( 1 , BlockCrafting . recipeFurnace ) . addTextReplacement ( " <rf> " , TileEntityFurnaceDouble . ENERGY_USE ) . setPageStacksWildcard ( ) ) ;
2016-01-05 14:57:50 +01:00
new BookletChapter ( " lavaFactory " , ActuallyAdditionsAPI . entryFunctionalRF , new ItemStack ( InitBlocks . blockLavaFactoryController ) , new PageTextOnly ( 1 ) . addTextReplacement ( " <rf> " , TileEntityLavaFactoryController . ENERGY_USE ) , new PagePicture ( 2 , " pageLavaFactory " , 0 ) . setNoText ( ) , new PageCrafting ( 3 , BlockCrafting . recipeLavaFactory ) . setNoText ( ) , new PageCrafting ( 4 , BlockCrafting . recipeCasing ) . setNoText ( ) ) ;
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 ) ) ;
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 ) . setPageStacksWildcard ( ) ) ;
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-10-30 23:36:39 +01:00
new BookletChapter ( " canola " , ActuallyAdditionsAPI . entryGeneratingRF , new ItemStack ( InitBlocks . blockFermentingBarrel ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . CANOLA . ordinal ( ) ) , 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 ) . setNoText ( ) , 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-06-27 19:32:28 +02:00
new BookletChapter ( " wings " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemWingsOfTheBats ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemMisc , 1 , TheMiscItems . BAT_WING . ordinal ( ) ) ) , 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 ) {
2015-11-14 14:30:35 +01:00
aiotPages . add ( new PageCrafting ( aiotPages . size ( ) + 1 , recipe ) . setNoText ( ) . setPageStacksWildcard ( ) ) ;
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-06-27 19:32:28 +02:00
new BookletChapter ( " jams " , ActuallyAdditionsAPI . entryItemsNonRF , new ItemStack ( InitItems . itemJams ) , new PageTextOnly ( 1 ) . setStacks ( new ItemStack ( InitItems . itemJams , 1 , Util . WILDCARD ) ) , new PagePicture ( 2 , " pageJamHouse " , 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-10 19:50:01 +01:00
* / }
2015-08-28 21:17:09 +02:00
}