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 Summary
ConstructorDescriptionDeprecated, 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 Summary
Modifier 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 grassvoid
setSpecies
(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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
LongGrass
public LongGrass()Deprecated, for removal: This API element is subject to removal in a future version. -
LongGrass
Deprecated, for removal: This API element is subject to removal in a future version. -
LongGrass
Deprecated, for removal: This API element is subject to removal in a future version. -
LongGrass
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getSpecies
Deprecated, 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
-
setSpecies
Deprecated, 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
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.