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
      服务端侧的摩擦系数,用于控制玩家丢弃物品、实体、船其在上方移动的速度。值越大,移动越快。

      The friction on the server side, which is used to control the speed that player drops item,entity walk and boat movement on the block.The larger the value, the faster the movement.

      Overrides:
      getFrictionFactor in class BlockIce
    • 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)