Package org.bukkit.material
Class LongGrass
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.LongGrass
- All Implemented Interfaces:
- Cloneable
Deprecated.
Represents the different types of long grasses.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets the current species of this grassvoidsetSpecies(GrassSpecies species) Deprecated.Sets the species of this grasstoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
LongGrasspublic LongGrass()Deprecated.
- 
LongGrassDeprecated.
- 
LongGrassDeprecated.
- 
LongGrassDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getSpeciesDeprecated.Gets the current species of this grass- Returns:
- GrassSpecies of this grass
 
- 
setSpeciesDeprecated.Sets the species of this grass- Parameters:
- species- New species of this grass
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.