public abstract class Projectile extends SkillMechanic
Modifier and Type | Class and Description |
---|---|
protected static class |
Projectile.BulletType |
class |
Projectile.ProjectileTracker |
protected static class |
Projectile.ProjectileType |
AbstractSkill.DelayedSkill
clock, config, forceSync, interval, line, originOverride, targetIsOrigin
ASYNC_SAFE, chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, cooldownTimer, delay, healthMod, power, powerScale, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, trigger, uuid
Constructor and Description |
---|
Projectile(String skill,
MythicLineConfig mlc) |
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getRunAsync, getTimerInterval, init, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, getCooldown, getPlugin, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setTargetsCreativePlayers, targetsCreativePlayers
public static final Set<AbstractEntity> BULLET_ENTITIES
protected String onTickSkillName
protected String onHitSkillName
protected String onEndSkillName
protected String onStartSkillName
protected Projectile.ProjectileType type
protected boolean fromOrigin
protected Projectile.BulletType bulletType
protected org.bukkit.Material bulletMaterial
protected MythicItem bulletMythicItem
protected Projectile bulletProjectile
protected MythicMob bulletMob
protected float bulletSpin
protected PlaceholderInt duration
protected int tickInterval
protected float ticksPerSecond
protected float hitRadius
protected float verticalHitRadius
protected float maxDistanceSquared
protected float startYOffset
protected float startForwardOffset
protected float startSideOffset
protected float targetYOffset
protected float projectileVelocity
protected float projectileVelocityVertOffset
protected float projectileVelocityHorizOffset
protected float projectileVelocityAccuracy
protected float projectileVelocityVertNoise
protected float projectileVelocityHorizNoise
protected float projectileVelocityVertNoiseBase
protected float projectileVelocityHorizNoiseBase
protected boolean stopOnHitEntity
protected boolean stopOnHitGround
protected boolean powerAffectsVelocity
protected boolean powerAffectsRange
protected boolean hitSelf
protected boolean hitTarget
protected boolean hitPlayers
protected boolean hitNonPlayers
protected boolean hitTargetOnly
protected String hitConditionString
protected List<SkillCondition> hitConditions
public Projectile(String skill, MythicLineConfig mlc)
Copyright © 2020. All rights reserved.