Cloneable
BlockData
.@Deprecated public class LongGrass extends MaterialData
Constructor | Description |
---|---|
LongGrass() |
Deprecated.
|
LongGrass(GrassSpecies species) |
Deprecated.
|
LongGrass(Material type) |
Deprecated.
|
LongGrass(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
LongGrass |
clone() |
Deprecated.
|
GrassSpecies |
getSpecies() |
Deprecated.
Gets the current species of this grass
|
void |
setSpecies(GrassSpecies species) |
Deprecated.
Sets the species of this grass
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public LongGrass()
public LongGrass(GrassSpecies species)
public LongGrass(Material type)
@Deprecated public LongGrass(Material type, byte data)
type
- the typedata
- the raw data valuepublic GrassSpecies getSpecies()
public void setSpecies(GrassSpecies species)
species
- New species of this grasspublic String toString()
toString
in class MaterialData
public LongGrass clone()
clone
in class MaterialData
Copyright © 2019. All rights reserved.