Class EventSubscription
java.lang.Object
net.mathias2246.buildmc.api.messageBus.EventSubscription
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed, org.bukkit.Keyed
-
Constructor Summary
ConstructorsConstructorDescriptionEventSubscription(@NotNull org.bukkit.NamespacedKey key, @NotNull org.bukkit.NamespacedKey channelId, @NotNull Set<SemVer> acceptedVersions, @NotNull String subscriberId, @NotNull EventHandler handler) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.NamespacedKey@NotNull EventHandler@NotNull org.bukkit.NamespacedKeygetKey()@NotNull StringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
key
-
Constructor Details
-
EventSubscription
public EventSubscription(@NotNull @NotNull org.bukkit.NamespacedKey key, @NotNull @NotNull org.bukkit.NamespacedKey channelId, @NotNull @NotNull Set<SemVer> acceptedVersions, @NotNull @NotNull String subscriberId, @NotNull @NotNull EventHandler handler)
-
-
Method Details
-
getKey
@Contract(pure=true) @NotNull public @NotNull org.bukkit.NamespacedKey getKey()- Specified by:
getKeyin interfaceorg.bukkit.Keyed
-
getChannelId
@Contract(pure=true) @NotNull public @NotNull org.bukkit.NamespacedKey getChannelId() -
getAcceptedVersions
-
getSubscriberId
-
getHandler
-