java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.player.PlayerEvent
org.cloudburstmc.api.event.player.PlayerMoveEvent
- All Implemented Interfaces:
Cancellable
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerMoveEvent(Player player, Location from, Location to)PlayerMoveEvent(Player player, Location from, Location to, boolean resetBlocks) -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()getTo()booleanvoidvoidvoidsetResetBlocksAround(boolean value)voidMethods inherited from class org.cloudburstmc.api.event.player.PlayerEvent
getPlayerMethods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
PlayerMoveEvent
-
PlayerMoveEvent
-
-
Method Details
-
getFrom
-
setFrom
-
getTo
-
setTo
-
isResetBlocksAround
public boolean isResetBlocksAround() -
setResetBlocksAround
public void setResetBlocksAround(boolean value) -
setCancelled
public void setCancelled()- Specified by:
setCancelledin interfaceCancellable- Overrides:
setCancelledin classEvent
-