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

Public Member Functions

byte getData ()
 

Static Public Member Functions

static SandstoneType getByData (final byte data)
 
 [static initializer]
 

Public Attributes

 CRACKED =(0x0)
 
 GLYPHED =(0x1)
 
 SMOOTH =(0x2)
 

Detailed Description

Represents the three different types of Sandstone

Definition at line 10 of file SandstoneType.java.

Member Function Documentation

static SandstoneType org.bukkit.SandstoneType.getByData ( final byte  data)
static

Gets the type of sandstone with the given data value

Parameters
dataData value to fetch
Returns
The SandstoneType representing the given value, or null if it doesn't exist
Deprecated:
Magic value

Definition at line 42 of file SandstoneType.java.

Referenced by org.bukkit.material.Sandstone.getType().

42  {
43  return BY_DATA.get(data);
44  }
byte org.bukkit.SandstoneType.getData ( )

Gets the associated data value representing this type of sandstone

Returns
A byte containing the data value of this sandstone type
Deprecated:
Magic value

Definition at line 29 of file SandstoneType.java.

Referenced by org.bukkit.material.Sandstone.setType().

29  {
30  return data;
31  }

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