java.lang.Cloneable
public class LongGrass extends MaterialData
Constructor | Description |
---|---|
LongGrass() |
|
LongGrass(int type) |
Deprecated.
Magic value
|
LongGrass(int type,
byte data) |
Deprecated.
Magic value
|
LongGrass(GrassSpecies species) |
|
LongGrass(Material type) |
|
LongGrass(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
LongGrass |
clone() |
|
GrassSpecies |
getSpecies() |
Gets the current species of this grass
|
void |
setSpecies(GrassSpecies species) |
Sets the species of this grass
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public LongGrass()
public LongGrass(GrassSpecies species)
@Deprecated public LongGrass(int type)
type
- the raw type idpublic LongGrass(Material type)
@Deprecated public LongGrass(int type, byte data)
type
- the raw type iddata
- the raw data value@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 java.lang.String toString()
toString
in class MaterialData
public LongGrass clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.