Uses of Interface
org.bukkit.util.CachedServerIcon
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Events
relating to programmatic state
changes on the server.-
Uses of CachedServerIcon in com.destroystokyo.paper.event.server
Modifier and TypeMethodDescriptionPaperServerListPingEvent.getServerIcon()
Gets the server icon sent to the client.Modifier and TypeMethodDescriptionvoid
PaperServerListPingEvent.setServerIcon
(@Nullable CachedServerIcon icon) Sets the server icon sent to the client.ModifierConstructorDescriptionPaperServerListPingEvent
(@NotNull StatusClient client, @NotNull String motd, int numPlayers, int maxPlayers, @NotNull String version, int protocolVersion, @Nullable CachedServerIcon favicon) Deprecated.PaperServerListPingEvent
(@NotNull StatusClient client, Component motd, int numPlayers, int maxPlayers, @NotNull String version, int protocolVersion, @Nullable CachedServerIcon favicon) -
Uses of CachedServerIcon in org.bukkit
Modifier and TypeMethodDescriptionstatic @Nullable CachedServerIcon
Bukkit.getServerIcon()
Gets an instance of the server's default server-icon.Server.getServerIcon()
Gets an instance of the server's default server-icon.static @NotNull CachedServerIcon
Bukkit.loadServerIcon
(@NotNull BufferedImage image) Creates a cached server-icon for the specific image.static @NotNull CachedServerIcon
Bukkit.loadServerIcon
(@NotNull File file) Loads an image from a file, and returns a cached image for the specific server-icon.Server.loadServerIcon
(@NotNull BufferedImage image) Creates a cached server-icon for the specific image.Server.loadServerIcon
(@NotNull File file) Loads an image from a file, and returns a cached image for the specific server-icon. -
Uses of CachedServerIcon in org.bukkit.event.server
Modifier and TypeMethodDescriptionvoid
ServerListPingEvent.setServerIcon
(CachedServerIcon icon) Sets the server-icon sent to the client.