Package com.plotsquared.core.events
Class RemoveRoadEntityEvent
java.lang.Object
com.plotsquared.core.events.EntityEvent
com.plotsquared.core.events.RemoveRoadEntityEvent
- All Implemented Interfaces:
CancellablePlotEvent
- Since:
- 6.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveRoadEntityEvent(Entity entity) RemoveRoadEntityEvent: Called when an entity on road is removed. -
Method Summary
Modifier and TypeMethodDescriptionThe currently setResultfor this event (as set by potential previous event listeners).voidsetEventResult(Result eventResult) Set theResultfor this event.Methods inherited from class com.plotsquared.core.events.EntityEvent
getEntity, getEventNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.plotsquared.core.events.CancellablePlotEvent
getEventResultRaw
-
Constructor Details
-
RemoveRoadEntityEvent
RemoveRoadEntityEvent: Called when an entity on road is removed.- Parameters:
entity- The entity to remove- Since:
- 6.11.0
-
-
Method Details
-
getEventResult
Description copied from interface:CancellablePlotEventThe currently setResultfor this event (as set by potential previous event listeners).- Specified by:
getEventResultin interfaceCancellablePlotEvent- Returns:
- the current result.
-
setEventResult
Description copied from interface:CancellablePlotEventSet theResultfor this event.- Specified by:
setEventResultin interfaceCancellablePlotEvent- Parameters:
eventResult- the new result.
-