Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.map.MapCursor.Type Enum Reference

Public Member Functions

byte getValue ()
 

Static Public Member Functions

static Type byValue (byte value)
 

Public Attributes

 WHITE_POINTER =(0)
 
 GREEN_POINTER =(1)
 
 RED_POINTER =(2)
 
 BLUE_POINTER =(3)
 
 WHITE_CROSS =(4)
 

Detailed Description

Represents the standard types of map cursors. More may be made available by texture packs - the value is used by the client as an index in the file './misc/mapicons.png' from minecraft.jar or from a texture pack.

Definition at line 154 of file MapCursor.java.

Member Function Documentation

static Type org.bukkit.map.MapCursor.Type.byValue ( byte  value)
static
Deprecated:
Magic value

Definition at line 181 of file MapCursor.java.

Referenced by org.bukkit.map.MapCursor.getType().

181  {
182  for (Type t : values()) {
183  if (t.value == value) return t;
184  }
185  return null;
186  }
byte org.bukkit.map.MapCursor.Type.getValue ( )
Deprecated:
Magic value

Definition at line 172 of file MapCursor.java.

172  {
173  return value;
174  }

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