Class BlockFrogLight

All Implemented Interfaces:
BlockID, IBlockState, IMutableBlockState, AxisAlignedBB, Metadatable, Cloneable
Direct Known Subclasses:
BlockOchreFrogLight, BlockPearlescentFrogLight, BlockVerdantFrogLight

@PowerNukkitXOnly @Since("1.6.0.0-PNX") public abstract class BlockFrogLight extends BlockSolid
  • Field Details

  • Constructor Details

    • BlockFrogLight

      public BlockFrogLight()
  • Method Details

    • getProperties

      public BlockProperties getProperties()
      Description copied from class: Block
      The properties that fully describe all possible and valid states that this block can have.
      Specified by:
      getProperties in interface IBlockState
      Overrides:
      getProperties in class Block
    • getLightLevel

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

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