java.lang.Cloneable
public class NetherWarts extends MaterialData
Constructor | Description |
---|---|
NetherWarts() |
|
NetherWarts(Material type) |
|
NetherWarts(Material type,
byte data) |
Deprecated.
Magic value
|
NetherWarts(NetherWartsState state) |
Modifier and Type | Method | Description |
---|---|---|
NetherWarts |
clone() |
|
NetherWartsState |
getState() |
Gets the current growth state of this nether wart
|
void |
setState(NetherWartsState state) |
Sets the growth state of this nether wart
|
java.lang.String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public NetherWarts()
public NetherWarts(NetherWartsState state)
public NetherWarts(Material type)
@Deprecated public NetherWarts(Material type, byte data)
type
- the typedata
- the raw data valuepublic NetherWartsState getState()
public void setState(NetherWartsState state)
state
- New growth state of this nether wartpublic java.lang.String toString()
toString
in class MaterialData
public NetherWarts clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.