2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.api.ritual.imperfect;
|
2015-10-31 17:58:47 -07:00
|
|
|
|
2015-11-02 12:39:44 -08:00
|
|
|
import WayofTime.bloodmagic.api.BlockStack;
|
2015-10-31 17:58:47 -07:00
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
public abstract class ImperfectRitual {
|
|
|
|
|
|
|
|
private final BlockStack requiredBlock;
|
|
|
|
private final int activationCost;
|
|
|
|
private final boolean lightshow;
|
|
|
|
|
|
|
|
public ImperfectRitual(BlockStack requiredBlock, int activationCost) {
|
|
|
|
this(requiredBlock, activationCost, false);
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract boolean onActivate(IImperfectRitualStone imperfectRitualStone, EntityPlayer player);
|
|
|
|
}
|