Package | Description |
---|---|
com.comphenix.xp | |
com.comphenix.xp.listeners | |
com.comphenix.xp.lookup | |
com.comphenix.xp.messages | |
com.comphenix.xp.parser |
Modifier and Type | Field and Description |
---|---|
static Action |
Action.Default |
Modifier and Type | Method and Description |
---|---|
Action |
Action.multiply(double multiply) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Action> |
Configuration.getActions() |
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.
|
java.util.List<Action> |
ExperienceMod.getPlayerReward(org.bukkit.entity.Player player,
java.lang.Integer trigger,
Query query)
Retrieves a list of action rewards that applies when a player performs a given action to the item or block
specified by the query.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RewardableAction.canPerform(org.bukkit.entity.Player player,
Action action,
int count)
Determine whether or not the given player can be rewarded or penalized by the given action and item count.
|
void |
RewardableAction.performAction(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack item,
Action action,
int count)
Performs a given action for a player.
|
Modifier and Type | Method and Description |
---|---|
Action |
ActionTree.get(java.lang.Integer id) |
Action |
PlayerRewards.get(PlayerRewards.Rewards key,
Action defaultValue) |
Action |
PlayerRewards.getFishingFailure() |
Action |
PlayerRewards.getFishingSuccess() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Action> |
ActionTree.getValues()
Returns a list of every stored range (scaled by experience) in this search tree.
|
java.util.Collection<Action> |
PlayerRewards.getValues()
Retrieve every reward stored.
|
Modifier and Type | Method and Description |
---|---|
Action |
PlayerRewards.get(PlayerRewards.Rewards key,
Action defaultValue) |
void |
PlayerRewards.put(java.lang.String key,
Action value) |
Modifier and Type | Method and Description |
---|---|
protected void |
ItemTree.putAllParameters(SearchTree<ItemQuery,Action> other,
java.lang.Integer offset) |
protected void |
MobTree.putAllParameters(SearchTree<MobQuery,Action> other,
java.lang.Integer offset) |
protected void |
PotionTree.putAllParameters(SearchTree<PotionQuery,Action> other,
java.lang.Integer offset) |
Modifier and Type | Method and Description |
---|---|
void |
MessageQueue.enqueue(Action action,
MessageFormatter formatter) |
void |
MessagePlayerQueue.enqueue(org.bukkit.entity.Player player,
Action action,
MessageFormatter formatter)
Enqueues a message transmitted by a player (or environment, in which case player should be NULL),
ensuring that there aren't too many messages sent at once.
|
void |
MessageQueue.transmitt(Action action,
MessageFormatter formatter) |
Modifier and Type | Method and Description |
---|---|
Action |
ActionParser.parse(org.bukkit.configuration.ConfigurationSection input,
java.lang.String key) |