Package org.kingdoms.events.lands
Class AsyncBatchLandLoadEvent
java.lang.Object
org.bukkit.event.Event
org.kingdoms.events.KingdomsEvent
org.kingdoms.events.lands.AsyncBatchLandLoadEvent
- All Implemented Interfaces:
org.kingdoms.constants.namespace.NamespacedMetadataContainer,org.kingdoms.locale.provider.MessageContextProvider
An event called every 30 seconds if any lands are loaded as a result of players loading those chunks.
This is used by Kingdoms itself for the purpose of loading hologram and sending its packets to players
which is not important if it is delayed.
There is no guarantee that a single chunk will be only included in one of the events. Data can be unloaded and loaded again.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
Fields inherited from class org.kingdoms.events.KingdomsEvent
SILENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull org.bukkit.event.HandlerList@NonNull org.bukkit.event.HandlerListgetLands()Methods inherited from class org.kingdoms.events.KingdomsEvent
addMessageContextEdits, getMetadata, getMetadata, isSilenced, silenceMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kingdoms.locale.provider.MessageContextProvider
getMessageContext
-
Constructor Details
-
AsyncBatchLandLoadEvent
-
-
Method Details
-
getHandlerList
public static @NonNull org.bukkit.event.HandlerList getHandlerList() -
getHandlers
public @NonNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getLands
-