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)

Gets the type of sandstone with the given data value

dataData value to fetch
The SandstoneType representing the given value, or null if it doesn't exist
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

A byte containing the data value of this sandstone type
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: