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

27 lines
556 B
Java

package de.ellpeck.actuallyadditions.api.booklet;
import net.minecraft.item.ItemStack;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
public interface IBookletChapter {
IBookletPage[] getAllPages();
@OnlyIn(Dist.CLIENT)
String getLocalizedName();
@OnlyIn(Dist.CLIENT)
String getLocalizedNameWithFormatting();
IBookletEntry getEntry();
ItemStack getDisplayItemStack();
String getIdentifier();
int getPageIndex(IBookletPage page);
int getSortingPriority();
}