Class LooseCobblestoneBlock


public class LooseCobblestoneBlock extends LavaReceiverBlock
  • Constructor Details

    • LooseCobblestoneBlock

      public LooseCobblestoneBlock(int iBlockID)
  • Method Details

    • 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
    • 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
    • dropItemsOnDestroyedByMiningCharge

      public void dropItemsOnDestroyedByMiningCharge(World world, int x, int y, int z, int metadata)
      Overrides:
      dropItemsOnDestroyedByMiningCharge in class Block
    • canBeConvertedByMobSpawner

      public boolean canBeConvertedByMobSpawner(World world, int x, int y, int z)
      Overrides:
      canBeConvertedByMobSpawner in class Block
    • convertBlockFromMobSpawner

      public void convertBlockFromMobSpawner(World world, int x, int y, int z)
      Overrides:
      convertBlockFromMobSpawner in class Block
    • getStepSoundInternal

      protected StepSound getStepSoundInternal(World world, int meta)
      Overrides:
      getStepSoundInternal in class Block
    • isBreakableBarricade

      public boolean isBreakableBarricade(World world, int i, int j, int k, boolean advancedBreaker)
      Overrides:
      isBreakableBarricade 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
    • 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

      @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
    • getLavaCracksOverlay

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