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

27 lines
556 B
Java
Raw Normal View History

2016-01-05 14:57:50 +01:00
package de.ellpeck.actuallyadditions.api.booklet;
import net.minecraft.item.ItemStack;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
2016-01-05 14:57:50 +01:00
2019-05-02 09:10:29 +02:00
public interface IBookletChapter {
2016-01-05 14:57:50 +01:00
IBookletPage[] getAllPages();
2016-01-05 14:57:50 +01:00
@OnlyIn(Dist.CLIENT)
2016-01-05 14:57:50 +01:00
String getLocalizedName();
@OnlyIn(Dist.CLIENT)
2016-01-05 14:57:50 +01:00
String getLocalizedNameWithFormatting();
IBookletEntry getEntry();
ItemStack getDisplayItemStack();
String getIdentifier();
2016-11-11 18:55:32 +01:00
int getPageIndex(IBookletPage page);
2016-11-22 22:54:35 +01:00
int getSortingPriority();
2016-01-05 14:57:50 +01:00
}