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