ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/booklet/IBookletEntry.java
2019-05-02 03:10:29 -04:00

40 lines
994 B
Java

/*
* 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<IBookletChapter> getAllChapters();
String getIdentifier();
@SideOnly(Side.CLIENT)
String getLocalizedName();
@SideOnly(Side.CLIENT)
String getLocalizedNameWithFormatting();
void addChapter(IBookletChapter chapter);
@SideOnly(Side.CLIENT)
List<IBookletChapter> getChaptersForDisplay(String searchBarText);
int getSortingPriority();
@SideOnly(Side.CLIENT)
boolean visibleOnFrontPage();
}