Package org.bukkit.material
Class NetherWarts
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.NetherWarts
-
- All Implemented Interfaces:
Cloneable
public class NetherWarts extends MaterialData
Represents nether wart
-
-
Constructor Summary
Constructors Constructor Description NetherWarts()NetherWarts(Material type)NetherWarts(Material type, byte data)Deprecated.Magic valueNetherWarts(NetherWartsState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetherWartsclone()NetherWartsStategetState()Gets the current growth state of this nether wartvoidsetState(NetherWartsState state)Sets the growth state of this nether wartStringtoString()-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
NetherWarts
public NetherWarts()
-
NetherWarts
public NetherWarts(NetherWartsState state)
-
NetherWarts
public NetherWarts(Material type)
-
NetherWarts
@Deprecated public NetherWarts(Material type, byte data)
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Detail
-
getState
public NetherWartsState getState()
Gets the current growth state of this nether wart- Returns:
- NetherWartsState of this nether wart
-
setState
public void setState(NetherWartsState state)
Sets the growth state of this nether wart- Parameters:
state- New growth state of this nether wart
-
toString
public String toString()
- Overrides:
toStringin classMaterialData
-
clone
public NetherWarts clone()
- Overrides:
clonein classMaterialData
-
-