ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/booklet/IBookletEntry.java

35 lines
877 B
Java
Raw Normal View History

2016-01-05 14:57:50 +01:00
/*
2016-05-16 22:52:27 +02:00
* This file ("IBookletEntry.java") is part of the Actually Additions mod for Minecraft.
2016-01-05 14:57:50 +01:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http://ellpeck.de/actaddlicense
2016-01-05 14:57:50 +01:00
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2017-01-01 16:23:26 +01:00
* © 2015-2017 Ellpeck
2016-01-05 14:57:50 +01:00
*/
package de.ellpeck.actuallyadditions.api.booklet;
2016-11-10 21:07:15 +01:00
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
2016-01-05 14:57:50 +01:00
import java.util.List;
public interface IBookletEntry{
List<IBookletChapter> getAllChapters();
2016-01-05 14:57:50 +01:00
String getIdentifier();
2016-01-05 14:57:50 +01:00
String getLocalizedName();
String getLocalizedNameWithFormatting();
void addChapter(IBookletChapter chapter);
2016-11-10 21:07:15 +01:00
@SideOnly(Side.CLIENT)
2016-11-12 12:26:36 +01:00
List<IBookletChapter> getChaptersForDisplay(String searchBarText);
2016-11-22 22:54:35 +01:00
int getSortingPriority();
2016-01-05 14:57:50 +01:00
}