Class LooseStoneBrickBlock


public class LooseStoneBrickBlock extends LavaReceiverBlock
  • Constructor Details

    • LooseStoneBrickBlock

      public LooseStoneBrickBlock(int iBlockID)
  • Method Details

    • damageDropped

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

      public boolean onMortarApplied(World world, int i, int j, int k)
      Description copied from class: Block
      Should return true if mortar has been successfully applied to block.
      Overrides:
      onMortarApplied 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
    • getLavaCracksOverlay

      @Environment(CLIENT) protected Icon getLavaCracksOverlay(int metadata)
      Specified by:
      getLavaCracksOverlay in class LavaReceiverBlock
    • getSubBlocks

      public void getSubBlocks(int iBlockID, CreativeTabs creativeTabs, List list)
      Description copied from class: Block
      returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)
      Overrides:
      getSubBlocks in class Block
    • getDamageValue

      public int getDamageValue(World world, int x, int y, int z)
      Description copied from class: Block
      Get the block's damage value (for use with pick block).
      Overrides:
      getDamageValue in class Block
    • getIcon

      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