public class BukkitPartiesCombustFriendlyFireBlockedEvent extends BukkitPartiesEvent implements Cancellable
| Constructor and Description |
|---|
BukkitPartiesCombustFriendlyFireBlockedEvent(PartyPlayer victim,
PartyPlayer attacker,
org.bukkit.event.entity.EntityCombustByEntityEvent originalEvent) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.event.entity.EntityCombustByEntityEvent |
getOriginalEvent()
Get the original Bukkit event handled by Parties
|
@NotNull PartyPlayer |
getPlayerAttacker()
Get the attacker
|
@NotNull PartyPlayer |
getPlayerVictim()
Get the victim of the event
|
boolean |
isCancelled()
Is the event cancelled?
|
void |
setCancelled(boolean cancel)
Set the event as cancelled
|
getApi, getHandlerList, getHandlers, setApipublic BukkitPartiesCombustFriendlyFireBlockedEvent(PartyPlayer victim, PartyPlayer attacker, org.bukkit.event.entity.EntityCombustByEntityEvent originalEvent)
@NotNull public @NotNull PartyPlayer getPlayerVictim()
PartyPlayer@NotNull public @NotNull PartyPlayer getPlayerAttacker()
PartyPlayer@NotNull public @NotNull org.bukkit.event.entity.EntityCombustByEntityEvent getOriginalEvent()
EntityCombustByEntityEventpublic boolean isCancelled()
CancellableisCancelled in interface Cancellabletrue if the event is cancelledpublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true to cancelCopyright © 2023. All rights reserved.