Class BlockWeightedPressurePlateHeavy

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

public class BlockWeightedPressurePlateHeavy extends BlockPressurePlateBase
Author:
CreeperFace
  • Constructor Details

    • BlockWeightedPressurePlateHeavy

      public BlockWeightedPressurePlateHeavy()
    • BlockWeightedPressurePlateHeavy

      public BlockWeightedPressurePlateHeavy(int meta)
  • Method Details

    • getId

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

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

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

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

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

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

      public BlockColor getColor()
      Overrides:
      getColor in class BlockTransparentMeta
    • computeRedstoneStrength

      protected int computeRedstoneStrength()
      Specified by:
      computeRedstoneStrength in class BlockPressurePlateBase
    • getMaxWeight

      public int getMaxWeight()