Class BlockSlabMangrove

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

@PowerNukkitXOnly @Since("1.6.0.0-PNX") public class BlockSlabMangrove extends BlockSlab
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class BlockSlab
    • getId

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

      @PowerNukkitOnly public String getSlabName()
      Specified by:
      getSlabName in class BlockSlab
    • isSameType

      @PowerNukkitOnly public boolean isSameType(BlockSlab slab)
      Specified by:
      isSameType in class BlockSlab
    • getProperties

      @Since("1.4.0.0-PN") @PowerNukkitOnly @NotNull 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
      Specified by:
      getProperties in class BlockMeta
    • getBurnChance

      public int getBurnChance()
      Description copied from class: Block
      这个值越大,这个方块本身越容易起火 返回-1,这个方块不能被点燃

      The higher this value, the more likely the block itself is to catch fire

      Overrides:
      getBurnChance in class Block
      Returns:
      the burn chance
    • getBurnAbility

      public int getBurnAbility()
      Description copied from class: Block
      这个值越大,越有可能被旁边的火焰引燃

      The higher this value, the more likely it is to be ignited by the fire next to it

      Overrides:
      getBurnAbility in class Block
    • getToolType

      public int getToolType()
      Description copied from class: Block
      控制挖掘方块的工具类型
      Overrides:
      getToolType in class Block
      Returns:
      挖掘方块的工具类型