Uses of Enum
org.bukkit.WorldType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of WorldType in org.bukkit
Modifier and TypeMethodDescriptionstatic WorldType
Gets a WorldType by its nameWorld.getWorldType()
Deprecated.world type is only used to select the default word generation settings and is not stored in Vanilla worlds, making it impossible for this method to always return the correct value.WorldCreator.type()
Gets the type of the world that will be created or loadedstatic WorldType
Returns the enum constant of this type with the specified name.static WorldType[]
WorldType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionSets the type of the world that will be created or loaded