2016-05-16 22:52:27 +02:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*
|
2016-05-16 22:54:42 +02:00
|
|
|
* © 2015-2016 Ellpeck
|
2016-05-16 22:52:27 +02:00
|
|
|
*/
|
|
|
|
|
2016-05-14 13:51:18 +02:00
|
|
|
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();
|
|
|
|
|
|
|
|
NBTTagCompound writeToNBT();
|
|
|
|
|
|
|
|
BookletPage getCurrentPage();
|
|
|
|
|
|
|
|
IBookletEntry getCurrentEntry();
|
|
|
|
|
|
|
|
IBookletChapter getCurrentChapter();
|
|
|
|
|
|
|
|
int getPageInIndex();
|
|
|
|
|
|
|
|
void setPage(BookletPage page);
|
|
|
|
|
|
|
|
void setEntry(IBookletEntry entry);
|
|
|
|
|
|
|
|
void setChapter(IBookletChapter chapter);
|
|
|
|
|
|
|
|
void setPageInIndex(int page);
|
|
|
|
}
|