Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.WorldType Enum Reference

Public Member Functions

String getName ()

Static Public Member Functions

static WorldType getByName (String name)
 [static initializer]

Public Attributes

 VERSION_1_1 =("DEFAULT_1_1")

Detailed Description

Represents various types of worlds that may exist

Definition at line 9 of file WorldType.java.

Member Function Documentation

static WorldType org.bukkit.WorldType.getByName ( String  name)

Gets a Worldtype by its name

nameName of the WorldType to get
Requested WorldType, or null if not found

Definition at line 38 of file WorldType.java.

38  {
39  return BY_NAME.get(name.toUpperCase());
40  }
String org.bukkit.WorldType.getName ( )

Gets the name of this WorldType

Name of this type

Definition at line 28 of file WorldType.java.

28  {
29  return name;
30  }

The documentation for this enum was generated from the following file: