Class BlockDoubleSlabBrickDeepslate

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

@PowerNukkitOnly @Since("FUTURE") public class BlockDoubleSlabBrickDeepslate extends BlockDoubleSlabBase
  • Constructor Details

    • BlockDoubleSlabBrickDeepslate

      @PowerNukkitOnly @Since("FUTURE") public BlockDoubleSlabBrickDeepslate()
    • BlockDoubleSlabBrickDeepslate

      @PowerNukkitOnly @Since("FUTURE") protected BlockDoubleSlabBrickDeepslate(int meta)
  • Method Details

    • getId

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

      public int getSingleSlabId()
      Specified by:
      getSingleSlabId in class BlockDoubleSlabBase
    • getSlabName

      public String getSlabName()
      Specified by:
      getSlabName in class BlockDoubleSlabBase
    • getProperties

      @Nonnull 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 BlockDoubleSlabBase
    • getHardness

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

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

      public boolean canHarvestWithHand()
      Overrides:
      canHarvestWithHand in class Block
    • getToolTier

      public int getToolTier()
      Description copied from class: Block
      控制挖掘方块的最低工具级别(木质、石质...)
      Overrides:
      getToolTier in class Block
      Returns:
      挖掘方块的最低工具级别
    • getToolType

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

      public BlockColor getColor()
      Overrides:
      getColor in class BlockSolidMeta