extract an interface representing the Ritual Diviner into the API for use by other mods
This commit is contained in:
parent
885d1a41de
commit
c0cb436797
2 changed files with 24 additions and 1 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue