Class QuestEvents
java.lang.Object
rocks.gravili.notquests.paper.events.QuestEvents
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIfInReachLocation(org.bukkit.event.player.PlayerMoveEvent e, org.bukkit.Location currentLocation) final intgetCraftAmount(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 intgetInventorySpaceLeftForItem(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack item) voidinteractEvent(org.bukkit.event.player.PlayerInteractEvent e) voidonCommand(org.bukkit.event.player.PlayerCommandPreprocessEvent e) voidonMove(org.bukkit.event.player.PlayerMoveEvent e) voidonPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e) voidvoidonPlayerSneak(org.bukkit.event.player.PlayerToggleSneakEvent e) protected voidonPluginEnable(org.bukkit.event.server.PluginEnableEvent event) voidplayerChangeWorldEvent(org.bukkit.event.player.PlayerChangedWorldEvent e) voidplayerChatEvent(org.bukkit.event.player.PlayerCommandPreprocessEvent e) voidscheduleBeaconRemovalAt(org.bukkit.Location location, org.bukkit.entity.Player player)
-
Constructor Details
-
QuestEvents
-
-
Method Details
-
scheduleBeaconRemovalAt
public void scheduleBeaconRemovalAt(org.bukkit.Location location, org.bukkit.entity.Player player) -
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) -
onPlayerJoin
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e)
-