Class NetherWarts

  • All Implemented Interfaces:
    Cloneable

    public class NetherWarts
    extends MaterialData
    Represents nether wart
    • Constructor Detail

      • NetherWarts

        public NetherWarts()
      • NetherWarts

        public NetherWarts​(Material type)
      • NetherWarts

        @Deprecated
        public NetherWarts​(Material type,
                           byte data)
        Deprecated.
        Magic value
        Parameters:
        type - the type
        data - 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