/* * This file ("IBookletEntry.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://ellpeck.de/actaddlicense * View the source code at https://github.com/Ellpeck/ActuallyAdditions * * © 2015-2017 Ellpeck */ package de.ellpeck.actuallyadditions.api.booklet; import java.util.List; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public interface IBookletEntry { List getAllChapters(); String getIdentifier(); @SideOnly(Side.CLIENT) String getLocalizedName(); @SideOnly(Side.CLIENT) String getLocalizedNameWithFormatting(); void addChapter(IBookletChapter chapter); @SideOnly(Side.CLIENT) List getChaptersForDisplay(String searchBarText); int getSortingPriority(); @SideOnly(Side.CLIENT) boolean visibleOnFrontPage(); }