Package | Description |
---|---|
com.comphenix.xp.listeners | |
com.comphenix.xp.lookup | |
com.comphenix.xp.mods | |
com.comphenix.xp.rewards.items |
Modifier and Type | Method and Description |
---|---|
ItemQuery |
PlayerInteractionListener.getLastRightClick(org.bukkit.entity.Player player,
java.lang.Integer maxAge)
Retrieves the given player's most recent right click event.
|
ItemQuery |
PlayerInteractionListener.getLastRightClick(org.bukkit.entity.Player player,
java.lang.Integer maxAge,
long currentTime)
Retrieves the given player's most recent right click event.
|
Modifier and Type | Method and Description |
---|---|
static ItemQuery |
ItemQuery.fromAny()
Universal query.
|
static ItemQuery |
ItemQuery.fromAny(org.bukkit.block.Block block)
Creates a query from a given world block.
|
static ItemQuery |
ItemQuery.fromAny(java.lang.Integer itemID,
java.lang.Integer durability)
Creates a query from the given material and data, where NULL represents any value.
|
static ItemQuery |
ItemQuery.fromAny(java.lang.Integer itemID,
java.lang.Integer durability,
java.lang.Boolean playerCreated)
Creates a query from the given material and data, where NULL represents any value.
|
static ItemQuery |
ItemQuery.fromAny(org.bukkit.inventory.ItemStack stack)
Extracts the item type and durability.
|
static ItemQuery |
ItemQuery.fromAny(org.bukkit.Material material)
Creates a query from the given material and data.
|
static ItemQuery |
ItemQuery.fromAny(org.bukkit.Material material,
java.lang.Integer durability)
Creates a query from the given material and data.
|
static ItemQuery |
ItemQuery.fromExact(org.bukkit.block.Block block)
Creates a query from a given world block.
|
static ItemQuery |
ItemQuery.fromExact(java.lang.Integer itemID,
java.lang.Integer durability)
Creates a query from the given ID and durability.
|
static ItemQuery |
ItemQuery.fromExact(java.lang.Integer itemID,
java.lang.Integer durability,
java.lang.Boolean playerCreated)
Creates a query from the given ID and durability.
|
static ItemQuery |
ItemQuery.fromExact(org.bukkit.inventory.ItemStack stack)
Extracts the item type and durability.
|
ItemQuery |
PotionQuery.toItemQuery(boolean pickRandom)
Converts this potion query to an item query.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<java.lang.Integer> |
ItemTree.getFromParameters(ItemQuery source) |
protected java.lang.Integer |
ItemTree.putFromParameters(ItemQuery source,
java.lang.Integer id) |
Modifier and Type | Method and Description |
---|---|
protected void |
ItemTree.putAllParameters(SearchTree<ItemQuery,Action> other,
java.lang.Integer offset) |
Constructor and Description |
---|
PotionQuery(ItemQuery query) |
Modifier and Type | Method and Description |
---|---|
BlockResponse |
StandardBlockService.processClickEvent(org.bukkit.event.inventory.InventoryClickEvent event,
ItemQuery block) |
BlockResponse |
BlockService.processClickEvent(org.bukkit.event.inventory.InventoryClickEvent event,
ItemQuery block)
Called when a player has interacted with an inventory.
|
BlockResponse |
CustomBlockProviders.processInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event,
ItemQuery block)
Processes the given inventory click event with every registered block service,
starting with the default block service.
|
Modifier and Type | Method and Description |
---|---|
void |
ItemsFactory.addItems(ItemQuery item,
SampleRange range) |