2015-08-29 14:33:25 +02:00
|
|
|
|
/*
|
|
|
|
|
* This file ("InitBooklet.java") is part of the Actually Additions Mod for Minecraft.
|
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
|
*
|
|
|
|
|
* <EFBFBD> 2015 Ellpeck
|
|
|
|
|
*/
|
|
|
|
|
|
2015-08-29 23:01:13 +02:00
|
|
|
|
package ellpeck.actuallyadditions.booklet;
|
2015-08-28 21:17:09 +02:00
|
|
|
|
|
2015-08-29 23:01:13 +02:00
|
|
|
|
import ellpeck.actuallyadditions.booklet.page.IBookletPage;
|
|
|
|
|
import ellpeck.actuallyadditions.booklet.page.PageCrafting;
|
|
|
|
|
import ellpeck.actuallyadditions.booklet.page.PageFurnace;
|
|
|
|
|
import ellpeck.actuallyadditions.booklet.page.PageText;
|
2015-08-29 01:09:09 +02:00
|
|
|
|
import ellpeck.actuallyadditions.crafting.BlockCrafting;
|
2015-08-28 21:17:09 +02:00
|
|
|
|
import ellpeck.actuallyadditions.crafting.FoodCrafting;
|
2015-08-29 15:40:12 +02:00
|
|
|
|
import ellpeck.actuallyadditions.crafting.ItemCrafting;
|
2015-08-28 22:18:46 +02:00
|
|
|
|
import ellpeck.actuallyadditions.items.InitItems;
|
|
|
|
|
import ellpeck.actuallyadditions.items.metalists.TheFoods;
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-08-28 21:17:09 +02:00
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
|
|
public class InitBooklet{
|
|
|
|
|
|
|
|
|
|
public static ArrayList<BookletIndexEntry> entries = new ArrayList<BookletIndexEntry>();
|
2015-08-29 17:32:39 +02:00
|
|
|
|
public static ArrayList<IBookletPage> pagesWithItemStackData = new ArrayList<IBookletPage>();
|
2015-08-28 21:17:09 +02:00
|
|
|
|
|
2015-08-30 19:10:10 +02:00
|
|
|
|
public static BookletChapter chapterIntro;
|
|
|
|
|
|
2015-08-29 01:09:09 +02:00
|
|
|
|
public static BookletIndexEntry entryFunctionalNonRF = new BookletIndexEntry("functionalNoRF");
|
2015-08-30 04:02:28 +02:00
|
|
|
|
public static BookletIndexEntry entryFunctionalRF = new BookletIndexEntry("functionalRF");
|
2015-08-28 22:18:46 +02:00
|
|
|
|
public static BookletIndexEntry entryMisc = new BookletIndexEntry("misc");
|
2015-08-30 01:19:03 +02:00
|
|
|
|
public static BookletIndexEntry allAndSearch = new BookletEntryAllSearch("allAndSearch");
|
2015-08-28 21:17:09 +02:00
|
|
|
|
|
|
|
|
|
static{
|
2015-08-30 19:10:10 +02:00
|
|
|
|
chapterIntro = new BookletChapter("intro", entryMisc, new PageText(1), new PageText(2), new PageCrafting(3, ItemCrafting.recipeBook));
|
|
|
|
|
|
2015-08-29 01:09:09 +02:00
|
|
|
|
new BookletChapter("breaker", entryFunctionalNonRF, new PageCrafting(1, BlockCrafting.recipeBreaker), new PageCrafting(2, BlockCrafting.recipePlacer), new PageCrafting(3, BlockCrafting.recipeLiquidPlacer), new PageCrafting(4, BlockCrafting.recipeLiquidCollector));
|
2015-08-30 01:19:03 +02:00
|
|
|
|
new BookletChapter("phantomfaces", entryFunctionalNonRF, new PageText(1), new PageCrafting(2, BlockCrafting.recipePhantomface), new PageCrafting(3, BlockCrafting.recipeLiquiface), new PageCrafting(4, BlockCrafting.recipeEnergyface), new PageCrafting(5, ItemCrafting.recipePhantomConnector), new PageCrafting(6, BlockCrafting.recipePhantomBooster));
|
|
|
|
|
new BookletChapter("phantomBreaker", entryFunctionalNonRF, new PageText(1), new PageCrafting(2, BlockCrafting.recipePhantomPlacer), new PageCrafting(3, BlockCrafting.recipePhantomBreaker));
|
|
|
|
|
new BookletChapter("esd", entryFunctionalNonRF, new PageText(1), new PageCrafting(2, BlockCrafting.recipeESD), new PageCrafting(3, BlockCrafting.recipeAdvancedESD));
|
2015-08-29 14:31:02 +02:00
|
|
|
|
|
2015-08-30 04:02:28 +02:00
|
|
|
|
new BookletChapter("coffeeMachine", entryFunctionalRF, new PageText(1), new PageText(2), new PageText(3), new PageCrafting(4, BlockCrafting.recipeCoffeeMachine));
|
2015-08-30 05:11:05 +02:00
|
|
|
|
new BookletChapterCrusher("crusher", entryFunctionalRF, new PageText(1), new PageCrafting(2, BlockCrafting.recipeCrusher), new PageCrafting(3, BlockCrafting.recipeDoubleCrusher));
|
2015-08-30 19:10:10 +02:00
|
|
|
|
new BookletChapterFurnace("furnaceDouble", entryFunctionalRF, new PageCrafting(1, BlockCrafting.recipeFurnace));
|
2015-08-30 04:02:28 +02:00
|
|
|
|
|
2015-08-30 01:19:03 +02:00
|
|
|
|
new BookletChapter("craftingIngs", entryMisc, new PageText(1), new PageCrafting(2, ItemCrafting.recipeCoil), new PageCrafting(3, ItemCrafting.recipeCoilAdvanced), new PageCrafting(4, BlockCrafting.recipeCase), new PageCrafting(5, BlockCrafting.recipeStoneCase), new PageCrafting(6, BlockCrafting.recipeEnderPearlBlock), new PageCrafting(7, BlockCrafting.recipeEnderCase));
|
2015-08-29 14:31:02 +02:00
|
|
|
|
new BookletChapter("cloud", entryMisc, new PageText(1), new PageCrafting(2, BlockCrafting.recipeSmileyCloud));
|
|
|
|
|
new BookletChapter("foods", entryMisc, new PageCrafting(1, FoodCrafting.recipePizza), new PageFurnace(2, new ItemStack(InitItems.itemFoods, 1, TheFoods.RICE_BREAD.ordinal())), new PageCrafting(3, FoodCrafting.recipeHamburger), new PageCrafting(4, FoodCrafting.recipeBigCookie), new PageCrafting(5, FoodCrafting.recipeSubSandwich), new PageCrafting(6, FoodCrafting.recipeFrenchFry), new PageCrafting(7, FoodCrafting.recipeFrenchFries), new PageCrafting(8, FoodCrafting.recipeFishNChips), new PageCrafting(9, FoodCrafting.recipeCheese), new PageCrafting(10, FoodCrafting.recipePumpkinStew), new PageCrafting(11, FoodCrafting.recipeCarrotJuice), new PageCrafting(12, FoodCrafting.recipeSpaghetti), new PageCrafting(13, FoodCrafting.recipeNoodle), new PageCrafting(14, FoodCrafting.recipeChocolate), new PageCrafting(15, FoodCrafting.recipeChocolateCake), new PageCrafting(16, FoodCrafting.recipeToast), new PageFurnace(17, new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal())));
|
2015-08-28 21:17:09 +02:00
|
|
|
|
}
|
|
|
|
|
}
|