2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.api.ritual;
|
2015-10-31 13:47:43 -07:00
|
|
|
|
2015-11-02 17:45:11 -08:00
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-10-31 13:47:43 -07:00
|
|
|
import net.minecraft.util.EnumFacing;
|
2016-03-17 13:00:44 -07:00
|
|
|
import net.minecraft.util.math.BlockPos;
|
2015-10-31 13:47:43 -07:00
|
|
|
import net.minecraft.world.World;
|
|
|
|
|
2015-12-29 13:00:26 -08:00
|
|
|
/**
|
|
|
|
* This interface is for internal implementation only.
|
2015-12-30 15:34:40 -05:00
|
|
|
*
|
2015-12-29 13:00:26 -08:00
|
|
|
* It is provided via the API for easy obtaining of basic data.
|
|
|
|
*/
|
2015-12-30 15:34:40 -05:00
|
|
|
public interface IMasterRitualStone
|
|
|
|
{
|
2015-11-02 17:45:11 -08:00
|
|
|
String getOwner();
|
|
|
|
|
2015-12-26 16:49:25 -08:00
|
|
|
boolean activateRitual(ItemStack activationCrystal, EntityPlayer activator, Ritual ritual);
|
2015-10-31 13:47:43 -07:00
|
|
|
|
2015-12-26 16:49:25 -08:00
|
|
|
void performRitual(World world, BlockPos pos);
|
2015-10-31 13:47:43 -07:00
|
|
|
|
2015-12-26 16:49:25 -08:00
|
|
|
void stopRitual(Ritual.BreakType breakType);
|
2015-11-02 17:45:11 -08:00
|
|
|
|
2015-10-31 13:47:43 -07:00
|
|
|
int getCooldown();
|
|
|
|
|
2015-11-28 18:25:46 -08:00
|
|
|
void setCooldown(int cooldown);
|
|
|
|
|
2015-10-31 13:47:43 -07:00
|
|
|
void setActive(boolean active);
|
|
|
|
|
|
|
|
EnumFacing getDirection();
|
|
|
|
|
|
|
|
boolean areTanksEmpty();
|
|
|
|
|
|
|
|
int getRunningTime();
|
|
|
|
|
2016-01-03 08:30:59 -05:00
|
|
|
World getWorldObj();
|
2015-10-31 13:47:43 -07:00
|
|
|
|
2016-01-03 08:30:59 -05:00
|
|
|
BlockPos getBlockPos();
|
2015-10-31 13:47:43 -07:00
|
|
|
}
|