2016-01-05 14:57:50 +01:00
|
|
|
package de.ellpeck.actuallyadditions.api.booklet;
|
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
import net.minecraftforge.api.distmarker.Dist;
|
|
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
2019-05-02 09:10:29 +02:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
import java.util.List;
|
2016-11-10 19:50:01 +01:00
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public interface IBookletEntry {
|
2016-01-05 14:57:50 +01:00
|
|
|
|
2016-11-10 19:50:01 +01:00
|
|
|
List<IBookletChapter> getAllChapters();
|
2016-01-05 14:57:50 +01:00
|
|
|
|
2016-08-02 00:36:14 +02:00
|
|
|
String getIdentifier();
|
2016-01-05 14:57:50 +01:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2016-01-05 14:57:50 +01:00
|
|
|
String getLocalizedName();
|
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2016-01-05 14:57:50 +01:00
|
|
|
String getLocalizedNameWithFormatting();
|
|
|
|
|
|
|
|
void addChapter(IBookletChapter chapter);
|
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2016-11-12 12:26:36 +01:00
|
|
|
List<IBookletChapter> getChaptersForDisplay(String searchBarText);
|
2016-11-22 22:54:35 +01:00
|
|
|
|
|
|
|
int getSortingPriority();
|
2017-02-18 00:54:58 +01:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2017-02-18 00:54:58 +01:00
|
|
|
boolean visibleOnFrontPage();
|
2016-01-05 14:57:50 +01:00
|
|
|
}
|