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)
           
NetherWarts(int type, byte data)
           
NetherWarts(Material type)
           
NetherWarts(Material type, byte data)
           
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

public NetherWarts(int type)

NetherWarts

public NetherWarts(Material type)

NetherWarts

public NetherWarts(int type,
                   byte data)

NetherWarts

public NetherWarts(Material type,
                   byte data)
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.