Fix ritual templates
This commit is contained in:
parent
e4beb3d606
commit
59c4153ab1
@ -9,6 +9,7 @@ import org.bukkit.entity.Player;
|
|||||||
public abstract class Ritual {
|
public abstract class Ritual {
|
||||||
public HashMap<Material, Integer> ingredients = new HashMap<Material, Integer>();
|
public HashMap<Material, Integer> ingredients = new HashMap<Material, Integer>();
|
||||||
public HashMap<EntityType, Integer> sacrifices = new HashMap<EntityType, Integer>();
|
public HashMap<EntityType, Integer> sacrifices = new HashMap<EntityType, Integer>();
|
||||||
|
public int health = 0;
|
||||||
public abstract void execute(Player caster, Player target);
|
public abstract void execute(Player caster, Player target);
|
||||||
public void addIngredient(Material material, int count) {
|
public void addIngredient(Material material, int count) {
|
||||||
ingredients.put(material, count);
|
ingredients.put(material, count);
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
package top.penowl.quidproquo.rituals;
|
||||||
|
|
||||||
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
import top.penowl.quidproquo.Ritual;
|
||||||
|
|
||||||
|
public class BlankRitual extends Ritual {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setup() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void execute(Player caster, Player target) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user