MCPcopy Index your code
hub / github.com/PaperMC/Paper / getWorld

Method getWorld

paper-api/src/main/java/org/bukkit/Bukkit.java:868–872  ·  view source on GitHub ↗

Gets the world with the given legacy Bukkit name. This method is considered obsolete and is a candidate for future deprecation. Prefer using #getWorld(NamespacedKey). @param name the legacy Bukkit name of the world to retrieve @return a world with the given legacy Bukkit name, or nu

(@NotNull String name)

Source from the content-addressed store, hash-verified

866 * @return a world with the given legacy Bukkit name, or null if none exists
867 */
868 @ApiStatus.Obsolete
869 @Nullable
870 public static World getWorld(@NotNull String name) {
871 return server.getWorld(name);
872 }
873
874 /**
875 * Gets the world from the given Unique ID.

Callers 2

isWorldLoadedMethod · 0.95
deserializeMethod · 0.95

Calls 1

getWorldMethod · 0.65

Tested by

no test coverage detected