Class BlockWool

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

public class BlockWool extends BlockSolidMeta
Since:
2015/12/2
Author:
xtypr
  • Field Details

  • Constructor Details

    • BlockWool

      public BlockWool()
    • BlockWool

      public BlockWool(int meta)
    • BlockWool

      public BlockWool(DyeColor dyeColor)
  • Method Details

    • getName

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

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

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

      public int getToolType()
      Description copied from class: Block
      控制挖掘方块的工具类型
      Overrides:
      getToolType in class Block
      Returns:
      挖掘方块的工具类型
    • 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:
      方块的爆炸抗性
    • getBurnChance

      public int getBurnChance()
      Overrides:
      getBurnChance in class Block
    • getBurnAbility

      public int getBurnAbility()
      Overrides:
      getBurnAbility in class Block
    • getColor

      public BlockColor getColor()
      Overrides:
      getColor in class BlockSolidMeta
    • getDyeColor

      public DyeColor getDyeColor()