Uses of Enum Class
org.bukkit.ServerLinks.Type
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of ServerLinks.Type in org.bukkit
Modifier and TypeMethodDescriptionServerLinks.ServerLink.getType()
Gets the type of this link if it is a known special type.static ServerLinks.Type
Returns the enum constant of this class with the specified name.static ServerLinks.Type[]
ServerLinks.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionServerLinks.addLink
(@NotNull ServerLinks.Type type, @NotNull URI url) Adds the given link to the list of links.ServerLinks.getLink
(@NotNull ServerLinks.Type type) Gets the link of a given type, if it exists.ServerLinks.setLink
(@NotNull ServerLinks.Type type, @NotNull URI url) Adds the given link, overwriting the first link of the same type if already set.