Package org.bukkit.material
Class NetherWarts
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.NetherWarts
- All Implemented Interfaces:
Cloneable
@Deprecated public class NetherWarts extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Represents nether wart
-
Constructor Summary
Constructors Constructor Description NetherWarts()
Deprecated.NetherWarts(Material type)
Deprecated.NetherWarts(Material type, byte data)
Deprecated.Magic valueNetherWarts(NetherWartsState state)
Deprecated. -
Method Summary
Modifier and Type Method Description NetherWarts
clone()
Deprecated.NetherWartsState
getState()
Deprecated.Gets the current growth state of this nether wartvoid
setState(NetherWartsState state)
Deprecated.Sets the growth state of this nether wartString
toString()
Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
NetherWarts
public NetherWarts()Deprecated. -
NetherWarts
Deprecated. -
NetherWarts
Deprecated. -
NetherWarts
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getState
Deprecated.Gets the current growth state of this nether wart- Returns:
- NetherWartsState of this nether wart
-
setState
Deprecated.Sets the growth state of this nether wart- Parameters:
state
- New growth state of this nether wart
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-