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 Summary
Constructors -
Method Summary
Modifier 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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
LongGrass
public LongGrass()Deprecated. -
LongGrass
Deprecated. -
LongGrass
Deprecated. -
LongGrass
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
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:
toStringin classMaterialData
-
clone
Deprecated.- Overrides:
clonein classMaterialData
-
BlockData.