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

Public Member Functions

int getId ()
 

Static Public Member Functions

static Environment getEnvironment (int id)
 
 [static initializer]
 

Public Attributes

 NORMAL =(0)
 
 NETHER =(-1)
 
 THE_END =(1)
 

Detailed Description

Represents various map environment types that a world may be

Definition at line 1161 of file World.java.

Member Function Documentation

static Environment org.bukkit.World.Environment.getEnvironment ( int  id)
static

Get an environment by ID

Parameters
idThe ID of the environment
Returns
The environment
Deprecated:
Magic value

Definition at line 1202 of file World.java.

1202  {
1203  return lookup.get(id);
1204  }
int org.bukkit.World.Environment.getId ( )

Gets the dimension ID of this environment

Returns
dimension ID
Deprecated:
Magic value

Definition at line 1190 of file World.java.

1190  {
1191  return id;
1192  }

Member Data Documentation

org.bukkit.World.Environment.NETHER =(-1)

Represents a nether based map ("hell")

Definition at line 1170 of file World.java.

org.bukkit.World.Environment.NORMAL =(0)

Represents the "normal"/"surface world" map

Definition at line 1166 of file World.java.

org.bukkit.World.Environment.THE_END =(1)

Represents the "end" map

Definition at line 1174 of file World.java.


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