public class BukkitSkillAdapter extends Object implements AbstractSkillAdapter
Constructor and Description |
---|
BukkitSkillAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
doDamage(DamageMetadata meta,
AbstractEntity aTarget) |
void |
executeVolley(SkillCaster am,
AbstractLocation t,
int amount,
float velocity,
float spread,
int fireTicks,
int removeDelay) |
void |
itemSprayEffect(AbstractLocation source,
org.bukkit.inventory.ItemStack item,
int amount,
int duration,
double force,
double yForce,
double radius,
double yOffset,
boolean allowPickup) |
void |
playSmokeEffect(AbstractLocation source,
int direction) |
void |
pushButton(SkillCaster am,
AbstractLocation location) |
AbstractEntity |
rainProjectile(SkillCaster caster,
AbstractLocation source,
Class<? extends org.bukkit.entity.Projectile> projectileClass,
float velocity,
ShootMechanic.ProjectileData pd) |
void |
sendToastNotification(SkillCaster caster,
String message) |
AbstractEntity |
shootArcProjectile(SkillCaster caster,
AbstractLocation target,
AbstractLocation origin,
Class<? extends org.bukkit.entity.Projectile> projectileClass,
float velocity,
ShootMechanic.ProjectileData pd,
boolean fromOrigin) |
void |
shootFireball(SkillCaster am,
AbstractLocation target,
float velocity,
float yield,
boolean incendiary,
int fireTicks,
boolean small,
boolean playsound) |
AbstractEntity |
shootProjectile(SkillCaster caster,
AbstractLocation target,
AbstractLocation origin,
Class<? extends org.bukkit.entity.Projectile> projectileClass,
float velocity,
ShootMechanic.ProjectileData pd,
boolean fromOrigin) |
void |
strikeLightning(AbstractLocation source) |
void |
strikeLightningEffect(AbstractLocation source) |
void |
throwSkill(AbstractLocation source,
AbstractEntity target,
float velocity,
float velocityY) |
void |
toggleLever(SkillCaster am,
AbstractLocation location,
int duration) |
public void doDamage(DamageMetadata meta, AbstractEntity aTarget)
doDamage
in interface AbstractSkillAdapter
public void strikeLightning(AbstractLocation source)
strikeLightning
in interface AbstractSkillAdapter
public void strikeLightningEffect(AbstractLocation source)
strikeLightningEffect
in interface AbstractSkillAdapter
public void shootFireball(SkillCaster am, AbstractLocation target, float velocity, float yield, boolean incendiary, int fireTicks, boolean small, boolean playsound)
shootFireball
in interface AbstractSkillAdapter
public AbstractEntity shootProjectile(SkillCaster caster, AbstractLocation target, AbstractLocation origin, Class<? extends org.bukkit.entity.Projectile> projectileClass, float velocity, ShootMechanic.ProjectileData pd, boolean fromOrigin)
shootProjectile
in interface AbstractSkillAdapter
public AbstractEntity shootArcProjectile(SkillCaster caster, AbstractLocation target, AbstractLocation origin, Class<? extends org.bukkit.entity.Projectile> projectileClass, float velocity, ShootMechanic.ProjectileData pd, boolean fromOrigin)
shootArcProjectile
in interface AbstractSkillAdapter
public AbstractEntity rainProjectile(SkillCaster caster, AbstractLocation source, Class<? extends org.bukkit.entity.Projectile> projectileClass, float velocity, ShootMechanic.ProjectileData pd)
rainProjectile
in interface AbstractSkillAdapter
public void throwSkill(AbstractLocation source, AbstractEntity target, float velocity, float velocityY)
throwSkill
in interface AbstractSkillAdapter
public void itemSprayEffect(AbstractLocation source, org.bukkit.inventory.ItemStack item, int amount, int duration, double force, double yForce, double radius, double yOffset, boolean allowPickup)
itemSprayEffect
in interface AbstractSkillAdapter
public void playSmokeEffect(AbstractLocation source, int direction)
playSmokeEffect
in interface AbstractSkillAdapter
public void pushButton(SkillCaster am, AbstractLocation location)
pushButton
in interface AbstractSkillAdapter
public void toggleLever(SkillCaster am, AbstractLocation location, int duration)
toggleLever
in interface AbstractSkillAdapter
public void executeVolley(SkillCaster am, AbstractLocation t, int amount, float velocity, float spread, int fireTicks, int removeDelay)
executeVolley
in interface AbstractSkillAdapter
public void sendToastNotification(SkillCaster caster, String message)
Copyright © 2020. All rights reserved.