Class BedwarsPlayerKilledEvent

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsPlayerKilledEvent

public class BedwarsPlayerKilledEvent extends org.bukkit.event.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    BedwarsPlayerKilledEvent(Game game, org.bukkit.entity.Player player, org.bukkit.entity.Player killer, List<org.bukkit.inventory.ItemStack> drops)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.bukkit.inventory.ItemStack>
     
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
     
    org.bukkit.entity.Player
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • BedwarsPlayerKilledEvent

      public BedwarsPlayerKilledEvent(Game game, org.bukkit.entity.Player player, org.bukkit.entity.Player killer, List<org.bukkit.inventory.ItemStack> drops)
      Parameters:
      game -
      player -
      killer -
      drops -
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getGame

      public Game getGame()
      Returns:
      game
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getKiller

      public org.bukkit.entity.Player getKiller()
      Returns:
      killer
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      victim
    • getDrops

      public List<org.bukkit.inventory.ItemStack> getDrops()
      Returns:
      victim's drops