Class BlockFenceNetherBrick

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

@PowerNukkitDifference(info="Extends BlockFenceBase instead of BlockFence only in PowerNukkit", since="1.4.0.0-PN") public class BlockFenceNetherBrick extends BlockFenceBase
Since:
2015/12/7
Author:
xtypr
  • Constructor Details

    • BlockFenceNetherBrick

      public BlockFenceNetherBrick()
    • BlockFenceNetherBrick

      public BlockFenceNetherBrick(int meta)
  • Method Details

    • getToolType

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

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

      public int getId()
      Overrides:
      getId in class BlockFence
    • getHardness

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

      public double getResistance()
      Description copied from class: Block
      控制方块爆炸抗性
      Overrides:
      getResistance in class BlockFence
      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 BlockFence
    • canHarvestWithHand

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

      @Since("1.2.1.0-PN") public int getBurnChance()
      Overrides:
      getBurnChance in class BlockFence
    • getBurnAbility

      @Since("1.2.1.0-PN") public int getBurnAbility()
      Overrides:
      getBurnAbility in class BlockFence