Class BlockShroomlight

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

@PowerNukkitOnly @Since("1.4.0.0-PN") public class BlockShroomlight extends BlockTransparent
  • Constructor Details

  • Method Details

    • getId

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

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

      public int getToolType()
      Description copied from class: Block
      控制挖掘方块的工具类型
      Overrides:
      getToolType in class Block
      Returns:
      挖掘方块的工具类型
    • 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:
      方块的硬度
    • getLightLevel

      public int getLightLevel()
      Description copied from class: Block
      控制方块的发光等级
      Overrides:
      getLightLevel in class Block
      Returns:
      发光等级(0 - 15)
    • getColor

      public BlockColor getColor()
      Overrides:
      getColor in class BlockTransparent