MCPcopy Create free account
hub / github.com/Teneted/Tenet / loadServerIcon

Method loadServerIcon

src/main/java/org/bukkit/Server.java:1049–1049  ·  view source on GitHub ↗

Loads an image from a file, and returns a cached image for the specific server-icon. Size and type are implementation defined. An incompatible file is guaranteed to throw an implementation-defined Exception. @param file the file to load the from @throws IllegalArgumentException if image

(@NotNull File file)

Source from the content-addressed store, hash-verified

1047 * ServerListPingEvent#setServerIcon(CachedServerIcon)}
1048 */
1049 @NotNull
1050 CachedServerIcon loadServerIcon(@NotNull File file) throws IllegalArgumentException, Exception;
1051
1052 /**

Callers 1

loadServerIconMethod · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected