Class QuestEvents
java.lang.Object
rocks.gravili.notquests.spigot.events.QuestEvents
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkIfInReachLocation
(org.bukkit.event.player.PlayerMoveEvent e, org.bukkit.Location currentLocation) final int
getCraftAmount
(org.bukkit.inventory.ItemStack result, org.bukkit.inventory.ItemStack cursor, org.bukkit.event.inventory.ClickType click, org.bukkit.entity.HumanEntity whoClicked, int hotbarButton, org.bukkit.inventory.CraftingInventory craftingInventory, org.bukkit.inventory.InventoryView inventoryView, QuestPlayer questPlayer) final int
getInventorySpaceLeftForItem
(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack item) void
interactEvent
(org.bukkit.event.player.PlayerInteractEvent e) void
onCommand
(org.bukkit.event.player.PlayerCommandPreprocessEvent e) void
onMove
(org.bukkit.event.player.PlayerMoveEvent e) void
void
onPlayerSneak
(org.bukkit.event.player.PlayerToggleSneakEvent e) protected void
onPluginEnable
(org.bukkit.event.server.PluginEnableEvent event) void
playerChangeWorldEvent
(org.bukkit.event.player.PlayerChangedWorldEvent e) void
playerChatEvent
(org.bukkit.event.player.PlayerCommandPreprocessEvent e)
-
Constructor Details
-
QuestEvents
-
-
Method Details
-
getInventorySpaceLeftForItem
public final int getInventorySpaceLeftForItem(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack item) -
getCraftAmount
public final int getCraftAmount(org.bukkit.inventory.ItemStack result, org.bukkit.inventory.ItemStack cursor, org.bukkit.event.inventory.ClickType click, org.bukkit.entity.HumanEntity whoClicked, int hotbarButton, org.bukkit.inventory.CraftingInventory craftingInventory, org.bukkit.inventory.InventoryView inventoryView, QuestPlayer questPlayer) -
onPlayerJump
-
interactEvent
public void interactEvent(org.bukkit.event.player.PlayerInteractEvent e) -
onCommand
public void onCommand(org.bukkit.event.player.PlayerCommandPreprocessEvent e) -
playerChangeWorldEvent
public void playerChangeWorldEvent(org.bukkit.event.player.PlayerChangedWorldEvent e) -
onMove
public void onMove(org.bukkit.event.player.PlayerMoveEvent e) -
checkIfInReachLocation
public void checkIfInReachLocation(org.bukkit.event.player.PlayerMoveEvent e, org.bukkit.Location currentLocation) -
onPluginEnable
protected void onPluginEnable(org.bukkit.event.server.PluginEnableEvent event) -
playerChatEvent
public void playerChatEvent(org.bukkit.event.player.PlayerCommandPreprocessEvent e) -
onPlayerSneak
public void onPlayerSneak(org.bukkit.event.player.PlayerToggleSneakEvent e)
-