org.bukkit.material
Class LongGrass

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.LongGrass
All Implemented Interfaces:
Cloneable

public class LongGrass
extends MaterialData

Represents the different types of long grasses.


Constructor Summary
LongGrass()
           
LongGrass(GrassSpecies species)
           
LongGrass(int type)
           
LongGrass(int type, byte data)
           
LongGrass(Material type)
           
LongGrass(Material type, byte data)
           
 
Method Summary
 LongGrass clone()
           
 GrassSpecies getSpecies()
          Gets the current species of this grass
 void setSpecies(GrassSpecies species)
          Sets the species of this grass
 String toString()
           
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongGrass

public LongGrass()

LongGrass

public LongGrass(GrassSpecies species)

LongGrass

public LongGrass(int type)

LongGrass

public LongGrass(Material type)

LongGrass

public LongGrass(int type,
                 byte data)

LongGrass

public LongGrass(Material type,
                 byte data)
Method Detail

getSpecies

public GrassSpecies getSpecies()
Gets the current species of this grass

Returns:
GrassSpecies of this grass

setSpecies

public void setSpecies(GrassSpecies species)
Sets the species of this grass

Parameters:
species - New species of this grass

toString

public String toString()
Overrides:
toString in class MaterialData

clone

public LongGrass clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.