Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
Modifier and Type | Method | Description |
---|---|---|
static @Nullable CachedServerIcon |
Bukkit.getServerIcon() |
Gets an instance of the server's default server-icon.
|
@Nullable CachedServerIcon |
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.
|
@NotNull CachedServerIcon |
Server.loadServerIcon(@NotNull BufferedImage image) |
Creates a cached server-icon for the specific image.
|
@NotNull CachedServerIcon |
Server.loadServerIcon(@NotNull File file) |
Loads an image from a file, and returns a cached image for the specific
server-icon.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ServerListPingEvent.setServerIcon(CachedServerIcon icon) |
Sets the server-icon sent to the client.
|
Copyright © 2020. All rights reserved.