public class VehicleDamageEvent extends VehicleEvent implements Cancellable
| Constructor and Description |
|---|
VehicleDamageEvent(Entity vehicle,
Entity attacker,
double damage) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getAttacker() |
double |
getDamage() |
static HandlerList |
getHandlers() |
void |
setDamage(double damage) |
getVehiclegetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic static HandlerList getHandlers()
public Entity getAttacker()
public double getDamage()
public void setDamage(double damage)
Copyright © 2020. All rights reserved.