Class QuestEvents

java.lang.Object
rocks.gravili.notquests.events.QuestEvents
All Implemented Interfaces:
org.bukkit.event.Listener

public class QuestEvents extends Object implements org.bukkit.event.Listener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    protected void
    onPluginEnable (org.bukkit.event.server.PluginEnableEvent event)
     
    void
    playerChangeWorldEvent (org.bukkit.event.player.PlayerChangedWorldEvent e)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QuestEvents

      public QuestEvents(NotQuests main)
  • 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

      public void onPlayerJump (PlayerJumpEvent e)
    • 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)