Class LavaPillowBlock


public class LavaPillowBlock extends FullBlock
  • Constructor Details

    • LavaPillowBlock

      public LavaPillowBlock(int blockID)
  • Method Details

    • idDropped

      public int idDropped(int metadata, Random random, int fortuneModifier)
      Description copied from class: Block
      Returns the ID of the items to drop on destruction.
      Overrides:
      idDropped in class Block
    • harvestBlock

      public void harvestBlock(World world, EntityPlayer player, int x, int y, int z, int metadata)
      Description copied from class: Block
      Called when the player destroys a block with an item that can harvest it. (i, j, k) are the coordinates of the block and l is the block's subtype/damage. // +++START EDIT+++ FCNOTE: Only called on server // ---END EDIT---
      Overrides:
      harvestBlock in class Block
    • onBlockDestroyedWithImproperTool

      public void onBlockDestroyedWithImproperTool(World world, EntityPlayer player, int x, int y, int z, int metadata)
      Description copied from class: Block
      Called on server only, after the block is removed from the world
      Overrides:
      onBlockDestroyedWithImproperTool in class Block
    • canSilkHarvest

      protected boolean canSilkHarvest()
      Description copied from class: Block
      Return true if a player with Silk Touch can harvest this block directly, and not its normal drops.
      Overrides:
      canSilkHarvest in class Block
    • postBlockDestroyedByExplosion

      public void postBlockDestroyedByExplosion(World world, int x, int y, int z, Explosion explosion)
      Overrides:
      postBlockDestroyedByExplosion in class Block
    • isBlockDestroyedByBlockDispenser

      public boolean isBlockDestroyedByBlockDispenser(int iMetadata)
      Description copied from class: Block
      Whether a block is destroyed by the dispenser, even if no item is collected
      Overrides:
      isBlockDestroyedByBlockDispenser in class Block
    • onRemovedByBlockDispenser

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

      public void setBlockToLava(World world, int x, int y, int z)