/* * 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 net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import java.util.List; public interface IBookletEntry { List getAllChapters(); String getIdentifier(); @OnlyIn(Dist.CLIENT) String getLocalizedName(); @OnlyIn(Dist.CLIENT) String getLocalizedNameWithFormatting(); void addChapter(IBookletChapter chapter); @OnlyIn(Dist.CLIENT) List getChaptersForDisplay(String searchBarText); int getSortingPriority(); @OnlyIn(Dist.CLIENT) boolean visibleOnFrontPage(); }