ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/booklet/IBookletEntry.java
2020-09-07 15:29:31 +01:00

30 lines
644 B
Java

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