Class TriggerPlayerListeners

java.lang.Object
me.deecaad.weaponmechanics.listeners.trigger.TriggerPlayerListeners
All Implemented Interfaces:
org.bukkit.event.Listener

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    animation(org.bukkit.event.player.PlayerAnimationEvent e)
    This is simply used to cancel player arm swing animation from OTHER players.
    void
    dropItem(org.bukkit.event.player.PlayerDropItemEvent e)
     
    void
    interact(org.bukkit.event.player.PlayerInteractEvent e)
     
    void
    interactAt(org.bukkit.event.player.PlayerInteractAtEntityEvent e)
     
    void
    join(org.bukkit.event.player.PlayerJoinEvent e)
     
    void
     
    void
    onBreak(org.bukkit.event.block.BlockBreakEvent event)
     
    void
    quit(org.bukkit.event.player.PlayerQuitEvent e)
     
    void
    swapHandItems(org.bukkit.event.player.PlayerSwapHandItemsEvent e)
     
    void
    toggleFlight(org.bukkit.event.player.PlayerToggleFlightEvent e)
     
    void
    toggleSneak(org.bukkit.event.player.PlayerToggleSneakEvent e)
     
    void
    toggleSprint(org.bukkit.event.player.PlayerToggleSprintEvent e)
     

    Methods inherited from class java.lang.Object

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

    • TriggerPlayerListeners

      public TriggerPlayerListeners(WeaponHandler weaponHandler)
  • Method Details

    • join

      public void join(org.bukkit.event.player.PlayerJoinEvent e)
    • quit

      public void quit(org.bukkit.event.player.PlayerQuitEvent e)
    • toggleSneak

      public void toggleSneak(org.bukkit.event.player.PlayerToggleSneakEvent e)
    • toggleSprint

      public void toggleSprint(org.bukkit.event.player.PlayerToggleSprintEvent e)
    • jump

      public void jump(PlayerJumpEvent e)
    • toggleFlight

      public void toggleFlight(org.bukkit.event.player.PlayerToggleFlightEvent e)
    • interactAt

      public void interactAt(org.bukkit.event.player.PlayerInteractAtEntityEvent e)
    • interact

      public void interact(org.bukkit.event.player.PlayerInteractEvent e)
    • animation

      public void animation(org.bukkit.event.player.PlayerAnimationEvent e)
      This is simply used to cancel player arm swing animation from OTHER players. It can't be cancelled from the player doing the arm swing.
    • dropItem

      public void dropItem(org.bukkit.event.player.PlayerDropItemEvent e)
    • swapHandItems

      public void swapHandItems(org.bukkit.event.player.PlayerSwapHandItemsEvent e)
    • onBreak

      public void onBreak(org.bukkit.event.block.BlockBreakEvent event)