extract an interface representing the Ritual Diviner into the API for use by other mods

This commit is contained in:
Ben Blank 2015-01-31 11:44:05 -08:00
parent 885d1a41de
commit c0cb436797
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,14 @@
package WayofTime.alchemicalWizardry.api.items.interfaces;
import net.minecraft.item.ItemStack;
public interface IRitualDiviner {
int cycleDirection(ItemStack stack);
String getCurrentRitual(ItemStack stack);
int getDirection(ItemStack stack);
int getMaxRuneDisplacement(ItemStack stack);
String getNameForDirection(int direction);
void setCurrentRitual(ItemStack stack, String ritualID);
void setDirection(ItemStack stack, int direction);
void setMaxRuneDisplacement(ItemStack stack, int displacement);
}