-
Method Summary
double
Get the dropped experience
Get the killed entity, null if doesn't exist.
Get the player who killed the entity, null if there isn't any
void
Set the dropped experience
-
Method Details
-
getParty
@NotNull
@NotNull Party getParty()
Get the party
- Returns:
- the
Party
-
getPlayer
Get the player who killed the entity, null if there isn't any
- Returns:
- the
PartyPlayer
-
getKilledEntity
@Nullable
@Nullable Object getKilledEntity()
Get the killed entity, null if doesn't exist.
Only Bukkit handles killed entities.
The object, if not null, its an instance of Bukkit Entity.
- Returns:
- the killed entity, intance of Bukkit Entity
-
getExperience
double getExperience()
Get the dropped experience
- Returns:
- the number of experience dropped
-
setExperience
void setExperience(double experience)
Set the dropped experience
- Parameters:
experience - the number of experience dropped