public class EXPELLIARMUS extends SpellProjectile implements Spell
changed, kill, lifeTicks, location, moveEffect, moveEffectData, name, p, player, rightWand, spellUses, usesModifier, vector
Constructor and Description |
---|
EXPELLIARMUS(Ollivanders p,
org.bukkit.entity.Player player,
Spells name,
java.lang.Double rightWand) |
Modifier and Type | Method and Description |
---|---|
void |
checkEffect()
This is the spell's effect.
|
boolean |
holdsWand(org.bukkit.entity.LivingEntity entity)
Does the player hold a wand item?
|
getBlock, getBlocksInRadius, getBlocksTouching, getCloseEntities, getItems, getLivingEntities, kill, move, revert
public EXPELLIARMUS(Ollivanders p, org.bukkit.entity.Player player, Spells name, java.lang.Double rightWand)
public void checkEffect()
Spell
checkEffect
in interface Spell
public boolean holdsWand(org.bukkit.entity.LivingEntity entity)
player
- - Player to check.