From f59e8f88e57a87a13d03fe2c68d703f07d052f25 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 5 Aug 2016 13:24:48 +0200 Subject: [PATCH] Turned some recipe ordering around in the booklet --- .../mod/booklet/InitBooklet.java | 10 +++++++--- .../gui/container/tab_actuallyadditions.png | Bin 0 -> 1089 bytes 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/assets/minecraft/textures/gui/container/tab_actuallyadditions.png diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java index c5bf4e390..dc0efd190 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java @@ -65,17 +65,21 @@ public final class InitBooklet{ 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("bookTutorial", ActuallyAdditionsAPI.entryGettingStarted, new ItemStack(InitItems.itemBooklet), new PageTextOnly(1), new PageTextOnly(2), new PageCrafting(3, ItemCrafting.recipeBook)); ArrayList crystalPages = new ArrayList(); - crystalPages.addAll(Arrays.asList(new PageTextOnly(1).addTextReplacement("", TileEntityAtomicReconstructor.ENERGY_USE), new PageTextOnly(2), new PageTextOnly(3), new PagePicture(4, "pageAtomicReconstructor", 0).setNoText(), new PageTextOnly(5), new PageCrafting(6, BlockCrafting.recipeAtomicReconstructor).setPageStacksWildcard(), new PageCrafting(7, MiscCrafting.RECIPES_CRYSTALS).setNoText(), new PageCrafting(8, MiscCrafting.RECIPES_CRYSTAL_BLOCKS).setNoText())); + crystalPages.addAll(Arrays.asList(new PageTextOnly(1).addTextReplacement("", TileEntityAtomicReconstructor.ENERGY_USE), new PageTextOnly(2), new PageTextOnly(3), new PagePicture(4, "pageAtomicReconstructor", 0).setNoText(), new PageTextOnly(5), new PageCrafting(6, BlockCrafting.recipeAtomicReconstructor).setPageStacksWildcard())); for(int i = 0; i < LensRecipeHandler.MAIN_PAGE_RECIPES.size(); i++){ - crystalPages.add(new PageReconstructor(9+i, LensRecipeHandler.MAIN_PAGE_RECIPES.get(i)).setNoText()); + crystalPages.add(new PageReconstructor(7+i, LensRecipeHandler.MAIN_PAGE_RECIPES.get(i)).setNoText()); } + crystalPages.add(new PageCrafting(crystalPages.size()+1, MiscCrafting.RECIPES_CRYSTALS).setNoText()); + crystalPages.add(new PageCrafting(crystalPages.size()+1, MiscCrafting.RECIPES_CRYSTAL_BLOCKS).setNoText()); new BookletChapter("crystals", ActuallyAdditionsAPI.entryGettingStarted, new ItemStack(InitBlocks.blockAtomicReconstructor), crystalPages.toArray(new BookletPage[crystalPages.size()])).setSpecial(); new BookletChapter("coalGen", ActuallyAdditionsAPI.entryGettingStarted, new ItemStack(InitBlocks.blockCoalGenerator), new PageCrafting(1, BlockCrafting.recipeCoalGen).addTextReplacement("", TileEntityCoalGenerator.PRODUCE).setPageStacksWildcard()); ArrayList empowererPages = new ArrayList(); - empowererPages.addAll(Arrays.asList(new PageTextOnly(1), new PagePicture(2, "pageEmpowerer", 137), new PageCrafting(3, BlockCrafting.recipeEmpowerer).setNoText(), new PageCrafting(4, BlockCrafting.recipeDisplayStand), new PageCrafting(5, MiscCrafting.RECIPES_EMPOWERED_CRYSTALS).setNoText(), new PageCrafting(6, MiscCrafting.RECIPES_EMPOWERED_CRYSTAL_BLOCKS).setNoText())); + empowererPages.addAll(Arrays.asList(new PageTextOnly(1), new PagePicture(2, "pageEmpowerer", 137), new PageCrafting(3, BlockCrafting.recipeEmpowerer).setNoText(), new PageCrafting(4, BlockCrafting.recipeDisplayStand))); for(int i = 0; i < EmpowererHandler.MAIN_PAGE_RECIPES.size(); i++){ empowererPages.add(new PageEmpowerer(7+i, EmpowererHandler.MAIN_PAGE_RECIPES.get(i)).setNoText()); } + 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()); new BookletChapter("empowerer", ActuallyAdditionsAPI.entryGettingStarted, new ItemStack(InitBlocks.blockEmpowerer), empowererPages.toArray(new BookletPage[empowererPages.size()])).setSpecial(); 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(); new BookletChapter("rf", ActuallyAdditionsAPI.entryGettingStarted, new ItemStack(Items.REDSTONE), new PageTextOnly(1)); diff --git a/src/main/resources/assets/minecraft/textures/gui/container/tab_actuallyadditions.png b/src/main/resources/assets/minecraft/textures/gui/container/tab_actuallyadditions.png new file mode 100644 index 0000000000000000000000000000000000000000..cc250e55833bd9aea93e175d5728169b162f12a5 GIT binary patch literal 1089 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6&6|H(?D8gCb z5n0T@z;_UY8Fx&~e#^kX{Ls_IF{I+w+q(w~X9oy0Jgk+xdc<*yqw=hU{Gv>y3pUN; zmrQaGblW&@qszD7c{|s*bJQs(t@qxun(^n9cyWib<(xA2;&;EE-x6N0`8Ank)6a*G z)HkO_2HpQV?KMM;o_IQI=A84-J33}8)681?@*NAG{QrlK>i@7LS;t;?z5ku>$Th|X zABCs9?RorS_T{$oAYZUB2rxJx7!7kjPj2YlwXVBRMwWv`Ve!8Ae`jd@&u8#k9{gEc zvQ6<>rP=X0?ayQW8(mO-{&cM+(}#Zcbw@4w49{=2d}d?w{95d_^yj~pF0!xW;9z3l zU{GLaU|_(`_^|2SJ7$Tthu&dvGn4t&FL!ZSyVdQ;TYLUIg#pz-^Cnpzd_9G-i*su z$K4dL1t8oYaG*{C+A}BiOro?I)6C7?mS#-0FZmK`nWJu0B>TOVk#4kMMvnlvejo!B zJ08c}6pG6X+jH;Sy-YyWw@zaBE)m+|0xKkgU?*@nj