Class BlockBlueIce

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

@PowerNukkitOnly public class BlockBlueIce extends BlockIcePacked
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Overrides:
      getId in class BlockIcePacked
    • getName

      public String getName()
      Overrides:
      getName in class BlockIcePacked
    • getFrictionFactor

      public double getFrictionFactor()
      Description copied from class: Block
      控制方块的摩擦因素
      Overrides:
      getFrictionFactor in class BlockIce
      Returns:
      方块的摩擦因素 (0-1)
    • getHardness

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

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

      public boolean isTransparent()
      Description copied from class: Block
      控制方块是否透明(默认为false)
      Overrides:
      isTransparent in class BlockIcePacked
      Returns:
      方块是否透明
    • getLightLevel

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