Package net.william278.husksync.event
Class BukkitPreSyncEvent
java.lang.Object
org.bukkit.event.Event
net.william278.husksync.event.BukkitEvent
net.william278.husksync.event.BukkitPlayerEvent
net.william278.husksync.event.BukkitPreSyncEvent
- All Implemented Interfaces:
net.william278.husksync.event.Event
,net.william278.husksync.event.PlayerEvent
,net.william278.husksync.event.PreSyncEvent
,org.bukkit.event.Cancellable
public class BukkitPreSyncEvent
extends BukkitPlayerEvent
implements net.william278.husksync.event.PreSyncEvent, org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
Fields inherited from class net.william278.husksync.event.BukkitPlayerEvent
player
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BukkitPreSyncEvent(net.william278.husksync.user.OnlineUser player, net.william278.husksync.data.DataSnapshot.Packed data, net.william278.husksync.HuskSync plugin)
-
Method Summary
Modifier and TypeMethodDescriptionnet.william278.husksync.data.DataSnapshot.Packed
getData()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
net.william278.husksync.HuskSync
boolean
void
setCancelled(boolean cancelled)
Methods inherited from class net.william278.husksync.event.BukkitPlayerEvent
getUser
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.william278.husksync.event.PlayerEvent
getUser
Methods inherited from interface net.william278.husksync.event.PreSyncEvent
editData, getSaveCause
-
Constructor Details
-
BukkitPreSyncEvent
protected BukkitPreSyncEvent(@NotNull net.william278.husksync.user.OnlineUser player, @NotNull net.william278.husksync.data.DataSnapshot.Packed data, @NotNull net.william278.husksync.HuskSync plugin)
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getData
@NotNull public net.william278.husksync.data.DataSnapshot.Packed getData()- Specified by:
getData
in interfacenet.william278.husksync.event.PreSyncEvent
-
getPlugin
@NotNull public net.william278.husksync.HuskSync getPlugin()- Specified by:
getPlugin
in interfacenet.william278.husksync.event.PreSyncEvent
-
getHandlers
@NotNull public org.bukkit.event.HandlerList getHandlers()- Overrides:
getHandlers
in classBukkitPlayerEvent
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-