Class BlockGlowLichen

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

@Since("FUTURE") public class BlockGlowLichen extends BlockLichen
Since:
2021-06-13
Author:
Gabriel8579
  • Constructor Details

    • BlockGlowLichen

      public BlockGlowLichen()
  • Method Details

    • getName

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

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

      public boolean onActivate(@NotNull Item item, @Nullable Player player)
      Overrides:
      onActivate in class Block
    • canBeActivated

      public boolean canBeActivated()
      Overrides:
      canBeActivated in class Block
    • getLightLevel

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