Package org.bukkit.material
Class LongGrass
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.LongGrass
- All Implemented Interfaces:
Cloneable
@Deprecated public class LongGrass extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Represents the different types of long grasses.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description LongGrass
clone()
Deprecated.GrassSpecies
getSpecies()
Deprecated.Gets the current species of this grassvoid
setSpecies(GrassSpecies species)
Deprecated.Sets the species of this grassString
toString()
Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
getSpecies
Deprecated.Gets the current species of this grass- Returns:
- GrassSpecies of this grass
-
setSpecies
Deprecated.Sets the species of this grass- Parameters:
species
- New species of this grass
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-