mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 13:03:12 +01:00
43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
/*
|
|
* This file ("IEntrySet.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2016 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.api.internal;
|
|
|
|
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
|
import de.ellpeck.actuallyadditions.api.booklet.IBookletChapter;
|
|
import de.ellpeck.actuallyadditions.api.booklet.IBookletEntry;
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
public interface IEntrySet{
|
|
|
|
void setEntry(BookletPage page, IBookletChapter chapter, IBookletEntry entry, int pageInIndex);
|
|
|
|
void removeEntry();
|
|
|
|
void writeToNBT(NBTTagCompound compound);
|
|
|
|
void readFromNBT(NBTTagCompound compound);
|
|
|
|
BookletPage getCurrentPage();
|
|
|
|
IBookletEntry getCurrentEntry();
|
|
|
|
IBookletChapter getCurrentChapter();
|
|
|
|
int getPageInIndex();
|
|
|
|
void setPage(BookletPage page);
|
|
|
|
void setEntry(IBookletEntry entry);
|
|
|
|
void setChapter(IBookletChapter chapter);
|
|
|
|
void setPageInIndex(int page);
|
|
}
|