Class BlockNetherWartBlock

All Implemented Interfaces:
BlockID, IBlockState, IMutableBlockState, AxisAlignedBB, Metadatable, Cloneable

@Since("1.4.0.0-PN") public class BlockNetherWartBlock extends BlockSolid
  • Constructor Details

    • BlockNetherWartBlock

      @Since("1.4.0.0-PN") public BlockNetherWartBlock()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class Block
    • getId

      public int getId()
      Specified by:
      getId in class Block
    • getResistance

      public double getResistance()
      Description copied from class: Block
      控制方块爆炸抗性
      Overrides:
      getResistance in class Block
      Returns:
      方块的爆炸抗性
    • getHardness

      public double getHardness()
      Description copied from class: Block
      控制方块硬度
      Overrides:
      getHardness in class Block
      Returns:
      方块的硬度
    • getToolType

      @PowerNukkitDifference(info="It\'s now hoe instead of none", since="1.4.0.0-PN") public int getToolType()
      Description copied from class: Block
      控制挖掘方块的工具类型
      Overrides:
      getToolType in class Block
      Returns:
      挖掘方块的工具类型
    • getColor

      public BlockColor getColor()
      Overrides:
      getColor in class BlockSolid