package top.penowl.quidproquo.rituals; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.entity.Player; import top.penowl.quidproquo.Ritual; public class HitRitual extends Ritual { @Override public void setup() { addIngredient(Material.IRON_SWORD, 1); addIngredient(Material.IRON_INGOT, 1); addIngredient(Material.WHEAT, 9); name = "shadow hit"; health = 1; notify = false; description = "Play a fake hit noise to someone."; } @Override public void execute(Player caster, Player target, Location location) { target.playSound(target.getLocation(), Sound.HURT_FLESH, 1, 1); //target.damage(1.0); } }