Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
Modifier and Type | Method | Description |
---|---|---|
static CachedServerIcon |
Bukkit.getServerIcon() |
Gets an instance of the server's default server-icon.
|
CachedServerIcon |
Server.getServerIcon() |
Gets an instance of the server's default server-icon.
|
static CachedServerIcon |
Bukkit.loadServerIcon(BufferedImage image) |
Creates a cached server-icon for the specific image.
|
static CachedServerIcon |
Bukkit.loadServerIcon(File file) |
Loads an image from a file, and returns a cached image for the specific
server-icon.
|
CachedServerIcon |
Server.loadServerIcon(BufferedImage image) |
Creates a cached server-icon for the specific image.
|
CachedServerIcon |
Server.loadServerIcon(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 © 2019. All rights reserved.