public class PlayerKill extends Object
Constructor and Description |
---|
PlayerKill(UUID victim,
String weapon,
long time)
Creates a PlayerKill object with given parameters.
|
Modifier and Type | Method and Description |
---|---|
Action |
convertToAction() |
boolean |
equals(Object o) |
long |
getTime()
Get the Epoch millisecond the kill occurred.
|
String |
getWeapon()
Get the Weapon used as string.
|
UUID |
getVictim()
Get the victim's UUID.
|
int |
hashCode() |
String |
toString() |
public UUID getVictim()
public long getTime()
public String getWeapon()
public Action convertToAction()
Copyright © 2017. All rights reserved.