Class WhiteStoneStairsBlock


public class WhiteStoneStairsBlock extends StairsBlock
  • Constructor Details

    • WhiteStoneStairsBlock

      public WhiteStoneStairsBlock(int iBlockID)
  • Method Details

    • damageDropped

      public int damageDropped(int iMetadata)
      Description copied from class: Block
      Determines the damage on the item the block drops. Used in cloth and wood.
      Overrides:
      damageDropped in class Block
    • getIsCobbleFromMetadata

      public boolean getIsCobbleFromMetadata(int iMetadata)
    • 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 StairsBlock
    • 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 StairsBlock