Package nl.mtvehicles.core.events
Class VehicleRegionLeaveEvent
java.lang.Object
org.bukkit.event.Event
nl.mtvehicles.core.infrastructure.models.MTVEvent
nl.mtvehicles.core.events.VehicleRegionLeaveEvent
- All Implemented Interfaces:
HasVehicle,org.bukkit.event.Cancellable
public class VehicleRegionLeaveEvent
extends MTVEvent
implements org.bukkit.event.Cancellable, HasVehicle
On region enter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet license plate of the vehicle used in the eventvoidsetCancelled(boolean cancelled) Methods inherited from class nl.mtvehicles.core.infrastructure.models.MTVEvent
call, getHandlerList, getHandlers, getPlayer, isCancelled, setPlayerMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.event.Cancellable
isCancelledMethods inherited from interface nl.mtvehicles.core.events.interfaces.HasVehicle
getVehicle
-
Constructor Details
-
VehicleRegionLeaveEvent
-
-
Method Details
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-
getLicensePlate
Description copied from interface:HasVehicleGet license plate of the vehicle used in the event- Specified by:
getLicensePlatein interfaceHasVehicle- Returns:
- Vehicle's license plate
-
getRegionName
-