Class BoneSlabBlock


public class BoneSlabBlock extends SlabBlock
  • Constructor Details

    • BoneSlabBlock

      public BoneSlabBlock(int iBlockID)
  • Method Details

    • doesBlockBreakSaw

      public boolean doesBlockBreakSaw(World world, int i, int j, int k)
      Overrides:
      doesBlockBreakSaw in class Block
    • getCombinedBlockID

      public int getCombinedBlockID(int iMetadata)
      Specified by:
      getCombinedBlockID in class SlabBlock
    • getCombinedMetadata

      public int getCombinedMetadata(int iMetadata)
      Overrides:
      getCombinedMetadata in class SlabBlock
    • canBePistonShoveled

      public boolean canBePistonShoveled(World world, int i, int j, int k)
      Overrides:
      canBePistonShoveled in class Block
    • registerIcons

      @Environment(CLIENT) public void registerIcons(IconRegister register)
      Description copied from class: Block
      When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
      Overrides:
      registerIcons in class Block
    • getIcon

      @Environment(CLIENT) public Icon getIcon(int iSide, int iMetadata)
      Description copied from class: Block
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class Block