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

 NORMAL =("DEFAULT")
 
 FLAT =("FLAT")
 
 VERSION_1_1 =("DEFAULT_1_1")
 
 LARGE_BIOMES =("LARGEBIOMES")
 
 AMPLIFIED =("AMPLIFIED")
 

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)
static

Gets a Worldtype by its name

Parameters
nameName of the WorldType to get
Returns
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

Returns
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: