Fix ritual templates
This commit is contained in:
parent
5d6c55758e
commit
7188a5efb3
@ -9,6 +9,7 @@ import org.bukkit.entity.Player;
|
||||
public abstract class Ritual {
|
||||
public HashMap<Material, Integer> ingredients = new HashMap<Material, Integer>();
|
||||
public HashMap<EntityType, Integer> sacrifices = new HashMap<EntityType, Integer>();
|
||||
public int health = 0;
|
||||
public abstract void execute(Player caster, Player target);
|
||||
public void addIngredient(Material material, int 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