Some more ritual work + imperfect rituals
This commit is contained in:
parent
3a7e0a3a8c
commit
afad5b0fd0
13 changed files with 540 additions and 186 deletions
src/main/java/WayofTime/alchemicalWizardry/api/ritual/imperfect
|
@ -0,0 +1,19 @@
|
|||
package WayofTime.alchemicalWizardry.api.ritual.imperfect;
|
||||
|
||||
import WayofTime.alchemicalWizardry.api.BlockStack;
|
||||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue