diff --git a/src/main/java/de/ellpeck/actuallyadditions/api/ActuallyAdditionsAPI.java b/src/main/java/de/ellpeck/actuallyadditions/api/ActuallyAdditionsAPI.java index fb514634a..ffa8a6c5a 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/api/ActuallyAdditionsAPI.java +++ b/src/main/java/de/ellpeck/actuallyadditions/api/ActuallyAdditionsAPI.java @@ -31,7 +31,7 @@ public final class ActuallyAdditionsAPI{ public static final String MOD_ID = "actuallyadditions"; public static final String API_ID = MOD_ID+"api"; - public static final String API_VERSION = "28"; + public static final String API_VERSION = "29"; public static final List CRUSHER_RECIPES = new ArrayList(); public static final List BALL_OF_FUR_RETURN_ITEMS = new ArrayList(); @@ -77,6 +77,7 @@ public final class ActuallyAdditionsAPI{ public static IBookletEntry entryItemsNonRF; public static IBookletEntry entryItemsRF; public static IBookletEntry entryMisc; + public static IBookletEntry entryUpdatesAndInfos; //This is added to automatically, you don't need to add anything to this entry public static IBookletEntry allAndSearch; 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 3730d9547..cef1e72a2 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java @@ -30,10 +30,12 @@ import de.ellpeck.actuallyadditions.mod.items.InitItems; import de.ellpeck.actuallyadditions.mod.items.lens.LensDisenchanting; import de.ellpeck.actuallyadditions.mod.items.lens.LensMining; import de.ellpeck.actuallyadditions.mod.items.lens.LensRecipeHandler; +import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals; import de.ellpeck.actuallyadditions.mod.items.metalists.TheFoods; import de.ellpeck.actuallyadditions.mod.items.metalists.TheMiscItems; import de.ellpeck.actuallyadditions.mod.recipe.EmpowererHandler; import de.ellpeck.actuallyadditions.mod.tile.*; +import de.ellpeck.actuallyadditions.mod.update.UpdateChecker; import de.ellpeck.actuallyadditions.mod.util.ModUtil; import de.ellpeck.actuallyadditions.mod.util.Util; import net.minecraft.init.Blocks; @@ -59,7 +61,8 @@ public final class InitBooklet{ ActuallyAdditionsAPI.entryGeneratingRF = new BookletEntry("generatingRF"); ActuallyAdditionsAPI.entryItemsNonRF = new BookletEntry("itemsNoRF"); ActuallyAdditionsAPI.entryItemsRF = new BookletEntry("itemsRF"); - ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc").setSpecial(); + ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc"); + ActuallyAdditionsAPI.entryUpdatesAndInfos = new BookletEntry("updatesAndInfos").setSpecial(); ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllItems("allAndSearch").setImportant(); } @@ -235,5 +238,11 @@ public final class InitBooklet{ 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()); + + //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")); + new BookletChapter("patreon", ActuallyAdditionsAPI.entryUpdatesAndInfos, new ItemStack(InitItems.itemCrystal, 1, TheCrystals.EMERALD.ordinal()), new PageLinkButton(1, "http://patreon.com/Ellpeck"), new PagePicture(2, "pagePatreon", 153)).setImportant(); + new BookletChapter("website", ActuallyAdditionsAPI.entryUpdatesAndInfos, new ItemStack(InitItems.itemBooklet), new PageLinkButton(1, "http://ellpeck.de")); } } diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/gui/GuiMainPage.java b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/gui/GuiMainPage.java index e12ef792f..867303eb6 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/gui/GuiMainPage.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/gui/GuiMainPage.java @@ -54,7 +54,8 @@ public class GuiMainPage extends GuiBooklet{ "TINY TORCHES!! BABY TORCHES!! Somebody actually finally did it!!@Soaryn", "Balanced mod wich makes things different - in a good way.@garantiertnicht", "The mod everyone needs, but not everyone knows@Brewpl", - "The in-game documentation is the best I’ve seen. I especially love the JEI integration. Even a derp like me can figure it out.@dannydjdk" + "The in-game documentation is the best I’ve seen. I especially love the JEI integration. Even a derp like me can figure it out.@dannydjdk", + "The second best mod I've ever used.@mmaas44" }; private TexturedButton achievementButton; diff --git a/src/main/resources/assets/actuallyadditions/lang/en_us.lang b/src/main/resources/assets/actuallyadditions/lang/en_us.lang index 66d9299ed..b3470d8a5 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_us.lang +++ b/src/main/resources/assets/actuallyadditions/lang/en_us.lang @@ -742,6 +742,7 @@ booklet.actuallyadditions.indexEntry.itemsNoRF.name=Items that don't use RF booklet.actuallyadditions.indexEntry.itemsRF.name=Items that use RF booklet.actuallyadditions.indexEntry.reconstruction.name=Reconstruction booklet.actuallyadditions.indexEntry.laserRelays.name=Laser Transport +booklet.actuallyadditions.indexEntry.updatesAndInfos.name=Updates and Infos #Booklet Info booklet.actuallyadditions.recipeDisabled=The crafting recipe for this item is disabled in the Config File! If you're on a server, ask the server author to enable it in the config. If you're on a client, press the 'Open Config'-Button on the top right and enable the recipe! @@ -1059,4 +1060,21 @@ booklet.actuallyadditions.chapter.lensMoreDeath.name=Lens of the Killer booklet.actuallyadditions.chapter.lensMoreDeath.text.1=The Lens of the Killer works much like the Lens of Certain Death, however it will also drop experience and player-kill loot. This means, however, that it will use a lot more power. To pick up the experience it drops, you might want to try an Experience Solidifier. booklet.actuallyadditions.chapter.fillingWand.name=Handheld Filler -booklet.actuallyadditions.chapter.fillingWand.text.1=The Handheld Filler is a great way to fill any area with blocks. To do this, first sneak-right-click a block in the world that you want to fill an area with. To actually fill an area, look at the first corner and hold right-click. Let go of right-click at the second corner. The area you mark can be a flat plane or a cube. This process requires some RF for placing the blocks and you need to have the blocks in your inventory. \ No newline at end of file +booklet.actuallyadditions.chapter.fillingWand.text.1=The Handheld Filler is a great way to fill any area with blocks. To do this, first sneak-right-click a block in the world that you want to fill an area with. To actually fill an area, look at the first corner and hold right-click. Let go of right-click at the second corner. The area you mark can be a flat plane or a cube. This process requires some RF for placing the blocks and you need to have the blocks in your inventory. + +booklet.actuallyadditions.chapter.patreon.name=Patreon Support +booklet.actuallyadditions.chapter.patreon.text.1=Do you really like Actually Additions? If you do, you can support me, Ellpeck, the author of the mod! Do you think that's a thing for you? Well, then check out my Patreon page by clicking the button below! As you can see on the next page, you can get things like floaty items above your head as a reward! Thanks a bunch <3 +booklet.actuallyadditions.chapter.patreon.button.1=View the Patreon +booklet.actuallyadditions.chapter.patreon.text.2=3pixel with his Patreon reward + +booklet.actuallyadditions.chapter.changelog.name=Changelog +booklet.actuallyadditions.chapter.changelog.text.1=Interested in everything that changed over the course of all of the versions of Actually Additions? If so, you can click the button below to view a very detailed changelog that contains every addition, every bugfix and all other types of changes! +booklet.actuallyadditions.chapter.changelog.button.1=View Changelog + +booklet.actuallyadditions.chapter.curse.name=The Mod's Website +booklet.actuallyadditions.chapter.curse.text.1=If you want to download any new versions of the mod, view any infos or recommend the mod to someone else, I'd highly suggest checking out its CurseForge page by clicking the button below. +booklet.actuallyadditions.chapter.curse.button.1=View the page + +booklet.actuallyadditions.chapter.website.name=The Author's Website +booklet.actuallyadditions.chapter.website.text.1=On the topic of self-advertisement, if you're interested in any of the other stuff I, Ellpeck, the author of this mod, do, you can go check out my website by clicking the button below. On there, you will find links to all of the social medias I use, an FAQ, and information about Minecraft Mods and other stuff I make! +booklet.actuallyadditions.chapter.website.button.1=View the Website \ No newline at end of file diff --git a/src/main/resources/assets/actuallyadditions/textures/gui/booklet/pagepatreon.png b/src/main/resources/assets/actuallyadditions/textures/gui/booklet/pagepatreon.png new file mode 100644 index 000000000..506475516 Binary files /dev/null and b/src/main/resources/assets/actuallyadditions/textures/gui/booklet/pagepatreon.png differ