Package com.burchard36.api.inventory
Class GlobalInventoryListener
java.lang.Object
com.burchard36.api.inventory.GlobalInventoryListener
- All Implemented Interfaces:
org.bukkit.event.Listener
The Listener for all
PluginInventory
's-
Constructor Summary
ConstructorsConstructorDescriptionGlobalInventoryListener(org.bukkit.plugin.java.JavaPlugin pluginInstance)
Creates a new instance for inventory events thePluginInventory
's use You should not be initializing this, the API already does this -
Method Summary
Modifier and TypeMethodDescriptionvoid
queuePluginInventory(PluginInventory inventory)
Adds aPluginInventory
to the Listener queue
-
Constructor Details
-
GlobalInventoryListener
public GlobalInventoryListener(org.bukkit.plugin.java.JavaPlugin pluginInstance)Creates a new instance for inventory events thePluginInventory
's use You should not be initializing this, the API already does this- Parameters:
pluginInstance
- Instance of the runningJavaPlugin
-
-
Method Details
-
queuePluginInventory
Adds aPluginInventory
to the Listener queue- Parameters:
inventory
- APluginInventory
instance
-