public class SkillCondition extends Object
Modifier and Type | Field and Description |
---|---|
protected ConditionAction |
ACTION |
protected PlaceholderString |
actionVar |
protected String |
conditionVar |
Constructor and Description |
---|
SkillCondition(String line) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateCaster(SkillMetadata meta) |
boolean |
evaluateDropCause(DropMetadata meta) |
boolean |
evaluateDropper(DropMetadata meta) |
boolean |
evaluateEntity(AbstractEntity t) |
boolean |
evaluateRandomSpawnPoint(RandomSpawnPoint rsp) |
boolean |
evaluateTargets(SkillMetadata meta) |
boolean |
evaluateToEntity(AbstractEntity base,
AbstractEntity t) |
boolean |
evaluateTrigger(SkillMetadata meta) |
String |
getActionVar() |
static SkillCondition |
getCondition(String condition) |
static MythicMobs |
getPlugin() |
boolean |
handleOutcome(AbstractEntity entity,
boolean outcome) |
boolean |
handleOutcome(DropMetadata meta,
boolean outcome) |
boolean |
handleOutcome(RandomSpawnPoint rsp,
boolean outcome) |
boolean |
handleOutcome(SkillMetadata meta,
boolean outcome) |
void |
setAction(ConditionAction action) |
protected String conditionVar
protected ConditionAction ACTION
protected PlaceholderString actionVar
public SkillCondition(String line)
public static MythicMobs getPlugin()
public boolean evaluateEntity(AbstractEntity t)
public boolean evaluateToEntity(AbstractEntity base, AbstractEntity t)
public boolean evaluateCaster(SkillMetadata meta)
public boolean evaluateTrigger(SkillMetadata meta)
public boolean evaluateTargets(SkillMetadata meta)
public boolean evaluateRandomSpawnPoint(RandomSpawnPoint rsp)
public boolean evaluateDropper(DropMetadata meta)
public boolean evaluateDropCause(DropMetadata meta)
public boolean handleOutcome(AbstractEntity entity, boolean outcome)
public boolean handleOutcome(SkillMetadata meta, boolean outcome)
public boolean handleOutcome(RandomSpawnPoint rsp, boolean outcome)
public boolean handleOutcome(DropMetadata meta, boolean outcome)
public void setAction(ConditionAction action)
public String getActionVar()
public static SkillCondition getCondition(String condition)
Copyright © 2020. All rights reserved.