java.lang.Cloneable
public class NetherWarts extends MaterialData
Constructor | Description |
---|---|
NetherWarts() |
|
NetherWarts(int type) |
Deprecated.
Magic value
|
NetherWarts(int type,
byte data) |
Deprecated.
Magic value
|
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, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public NetherWarts()
public NetherWarts(NetherWartsState state)
@Deprecated public NetherWarts(int type)
type
- the raw type idpublic NetherWarts(Material type)
@Deprecated public NetherWarts(int type, byte data)
type
- the raw type iddata
- the raw data value@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.