org.bukkit.material
Class NetherWarts

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.NetherWarts
All Implemented Interfaces:
Cloneable

public class NetherWarts
extends MaterialData

Represents nether wart


Constructor Summary
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)
           
 
Method Summary
 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
 String toString()
           
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetherWarts

public NetherWarts()

NetherWarts

public NetherWarts(NetherWartsState state)

NetherWarts

@Deprecated
public NetherWarts(int type)
Deprecated. Magic value


NetherWarts

public NetherWarts(Material type)

NetherWarts

@Deprecated
public NetherWarts(int type,
                              byte data)
Deprecated. Magic value


NetherWarts

@Deprecated
public NetherWarts(Material type,
                              byte data)
Deprecated. Magic 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:
toString in class MaterialData

clone

public NetherWarts clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.