Package | Description |
---|---|
com.comphenix.xp | |
com.comphenix.xp.lookup | |
com.comphenix.xp.parser.text |
Modifier and Type | Method and Description |
---|---|
java.util.List<Action> |
ExperienceMod.getMobReward(org.bukkit.entity.Player killer,
MobQuery query)
Retrieves a list of action rewards that applies when a mob is killed, either by the environment (when KILLER is NULL),
or by a player.
|
Modifier and Type | Method and Description |
---|---|
static MobQuery |
MobQuery.fromAny()
Universal query.
|
static MobQuery |
MobQuery.fromAny(org.bukkit.entity.EntityType type)
Creates a query where NULL values match any possible value in that category.
|
static MobQuery |
MobQuery.fromAny(org.bukkit.entity.EntityType type,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
Creates a query where NULL values match any possible value in that category.
|
static MobQuery |
MobQuery.fromAny(org.bukkit.entity.EntityType type,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates a query where NULL values match any possible value in that category.
|
static MobQuery |
MobQuery.fromAny(org.bukkit.entity.EntityType type,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
java.lang.Integer size,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates a query where NULL values match any possible value in that category.
|
static MobQuery |
MobQuery.fromAny(java.lang.Short typeID,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
java.lang.Integer size,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates a query where NULL values match any possible value in that category.
|
static MobQuery |
MobQuery.fromExact(org.bukkit.entity.EntityType type,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates an exact query - where null values only match unspecified "any" queries - from the given
entity, spawn reason and killer.
|
static MobQuery |
MobQuery.fromExact(org.bukkit.entity.EntityType type,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
java.lang.Integer size,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates an exact query - where null values only match unspecified "any" queries - from the given
entity, spawn reason and killer.
|
static MobQuery |
MobQuery.fromExact(org.bukkit.entity.LivingEntity entity,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
boolean playerKill)
Creates an exact query - where null values only match unspecified "any" queries - from the given
entity, spawn reason and killer.
|
static MobQuery |
MobQuery.fromExact(java.lang.Short typeID,
org.bukkit.event.entity.EntityDamageEvent.DamageCause deathCause,
java.lang.Integer size,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason,
java.lang.Boolean baby,
java.lang.Boolean tamed,
java.lang.Boolean playerKill)
Creates an exact query - where null values only match unspecified "any" queries - from the given
entity, spawn reason and killer.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<java.lang.Integer> |
MobTree.getFromParameters(MobQuery source) |
protected java.lang.Integer |
MobTree.putFromParameters(MobQuery source,
java.lang.Integer id) |
Modifier and Type | Method and Description |
---|---|
protected void |
MobTree.putAllParameters(SearchTree<MobQuery,Action> other,
java.lang.Integer offset) |
Modifier and Type | Method and Description |
---|---|
MobQuery |
MobParser.parse(java.lang.String text) |