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

Method setResourcePack

src/main/java/org/bukkit/entity/Player.java:883–883  ·  view source on GitHub ↗

Request that the player's client download and switch resource packs. The player's client will download the new resource pack asynchronously in the background, and will automatically switch to it once the download is complete. If the client has downloaded and cached the same resource pack in the

(@NotNull String url)

Source from the content-addressed store, hash-verified

881 * length restriction is an implementation specific arbitrary value.
882 */
883 public void setResourcePack(@NotNull String url);
884
885 /**
886 * Request that the player's client download and switch resource packs.

Callers

nothing calls this directly

Implementers 1

CraftPlayersrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected