public class LongGrass extends MaterialData
| Constructor and Description | 
|---|
LongGrass()  | 
LongGrass(GrassSpecies species)  | 
LongGrass(Material type)  | 
LongGrass(Material type,
         byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LongGrass | 
clone()  | 
GrassSpecies | 
getSpecies()
Gets the current species of this grass 
 | 
void | 
setSpecies(GrassSpecies species)
Sets the species of this grass 
 | 
String | 
toString()  | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic LongGrass()
public LongGrass(GrassSpecies species)
public LongGrass(Material type)
@Deprecated public LongGrass(Material type, byte data)
type - the typedata - the raw data valuepublic GrassSpecies getSpecies()
public void setSpecies(GrassSpecies species)
species - New species of this grasspublic String toString()
toString in class MaterialDatapublic LongGrass clone()
clone in class MaterialDataCopyright © 2022. All rights reserved.