Search in sources :

Example 1 with PageTextComponent

use of com.mart.solar.client.gui.pages.component.PageTextComponent in project Solar by Martacus.

the class GuiPagesManager method init.

private static void init() {
    categories = new ArrayList<>();
    GuiCategory journalCategory = new GuiCategory(ModItems.JOURNAL, "Solar");
    GuiCategory ritualCategory = new GuiCategory(ModItems.RITUAL_AMULET, "Rituals");
    GuiCategory artifactCategory = new GuiCategory(ModItems.RING_FLIGHT, "Artifacts");
    categories.add(journalCategory);
    categories.add(ritualCategory);
    categories.add(artifactCategory);
    journalCategory.addPage(new GuiPage("Me", "page_me", new PageTextComponent("guide.me.info1"), new PageTextComponent("guide.me.info2"), new PageTextComponent("guide.me.info2.2").pageNumber(2), new PageTextComponent("guide.me.info3").pageNumber(2)));
    journalCategory.addPage(new GuiPage("Solar", "page_solar", new PageTextComponent("guide.solar.info")));
    journalCategory.addPage(new GuiPage("tile.solar.altar.name", "page_celestial_altar", new PageTextComponent("guide.celestial_altar.info"), new PageTextComponent("guide.celestial_altar.ancients"), new PageTextComponent("guide.celestial_altar.ancients_2").pageNumber(2), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "energy_core")).pageNumber(3), new PageTextComponent("Infused gold and silver.").pageNumber(3), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "altar")).pageNumber(4)));
    journalCategory.addPage(new GuiPage("item.solar.ritual_amulet.name", "page_ritual_amulet", new PageTextComponent("guide.ritual_amulet.info"), new PageTextComponent("guide.ritual_amulet.info_2"), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "dull_amulet")).pageNumber(2)));
    journalCategory.addPage(new GuiPage("tile.solar.menhir.name", "page_menhir", new PageTextComponent("guide.menhir.info"), new PageTextComponent("guide.menhir.creation")));
    journalCategory.addPage(new GuiPage("Runes", "page_runes", new PageTextComponent("guide.runes.info"), new PageTextComponent("guide.runes.unlocked_infusing").pageNumber(2), new PageTextComponent("guide.runes.unlocked_ritual").pageNumber(2)));
    journalCategory.addPage(new GuiPage("tile.solar.rune_infuser.name", "page_rune_infuser", new PageTextComponent("guide.rune_infuser.info1"), new PageTextComponent("guide.rune_infuser.info2"), new PageTextComponent("guide.rune_infuser.info2.1").pageNumber(2), new PageTextComponent("guide.rune_infuser.info3").pageNumber(2), new PageTextComponent("guide.rune_infuser.info4").pageNumber(2), new PageTextComponent("guide.rune_infuser.crafting_info").pageNumber(3), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "solar_focus")).pageNumber(3), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "rune_infuser")).pageNumber(4)));
    journalCategory.addPage(new GuiPage("tile.solar.flower_moon.name", "page_flower_moon", new PageTextComponent("guide.moon_flower.info")));
    journalCategory.addPage(new GuiPage("tile.solar.flower_fiery.name", "page_flower_fiery", new PageTextComponent("guide.fiery_flower.info")));
    journalCategory.addPage(new GuiPage("tile.solar.sundial.name", "page_sundial", new PageTextComponent("guide.sundial.info"), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sundial")).pageNumber(2)));
    journalCategory.addPage(new GuiPage("Sunburnt Stone", "page_sunburnt_stone", new PageTextComponent("guide.sunburnt.info"), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_engraved")).pageNumber(2), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_arched")).pageNumber(3), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_culled")).pageNumber(4), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_sliced")).pageNumber(5), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_crossed")).pageNumber(6), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_tangled")).pageNumber(7), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_oxidised_endorsed")).pageNumber(8), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_diamond_endorsed")).pageNumber(9)));
    journalCategory.addPage(new GuiPage("Sunburnt Chest", "page_sunburnt_chest", new PageTextComponent("guide.sunburnt_chest.info"), new CraftingGridComponent(new ResourceLocation(Solar.MODID, "sunburnt_chest")).pageNumber(2)));
    journalCategory.addPage(new GuiPage("Rituals", "page_rituals", new PageTextComponent("guide.rituals.info"), new PageTextComponent("guide.rituals.layout"), new PageTextComponent("guide.rituals.info_2").pageNumber(2)));
    journalCategory.addPage(new GuiPage("Spells", "page_spells", new PageTextComponent("guide.spells.info")));
    // Rituals
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_clear_skies"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_rain"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_high_tide"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_summer_heat"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_rising_moon"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_rising_sun"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_solar_protection"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_lunar_embrace"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_hunt"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_botanical_growth"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_purification"));
    ritualCategory.addPage(new GuiPage.RitualPage("ritual_levitation"));
    // Artifacts
    artifactCategory.addPage(new GuiPage("Artifacts", "page_artifacts", new PageTextComponent("guide.artifacts.info"), new PageTextComponent("guide.artifacts.notice")));
    artifactCategory.addPage(new GuiPage("Ring of Flight", "page_ring_of_flight", new PageTextComponent("guide.ring_flight.info")));
    artifactCategory.addPage(new GuiPage("Ring of Undead", "page_ring_of_undead", new PageTextComponent("guide.ring_undead.info")));
}
Also used : PageTextComponent(com.mart.solar.client.gui.pages.component.PageTextComponent) GuiPage(com.mart.solar.client.gui.pages.GuiPage) ResourceLocation(net.minecraft.util.ResourceLocation) CraftingGridComponent(com.mart.solar.client.gui.pages.component.CraftingGridComponent)

Aggregations

GuiPage (com.mart.solar.client.gui.pages.GuiPage)1 CraftingGridComponent (com.mart.solar.client.gui.pages.component.CraftingGridComponent)1 PageTextComponent (com.mart.solar.client.gui.pages.component.PageTextComponent)1 ResourceLocation (net.minecraft.util.ResourceLocation)1