Class BlockSand


public class BlockSand extends FallingFullBlock
  • Constructor Details

    • BlockSand

      public BlockSand(int blockID)
  • Method Details

    • canEndermenPickUpBlock

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

      public float getMovementModifier(World world, int i, int j, int k)
      Overrides:
      getMovementModifier in class Block
    • dropComponentItemsOnBadBreak

      public boolean dropComponentItemsOnBadBreak(World world, int i, int j, int k, int iMetadata, float fChanceOfDrop)
      Description copied from class: Block
      Called by explosions and improper tool use. Should return true if the block processes its own drops through this method, false otherwise Note that the block may no longer be at the specified position when this is called
      Overrides:
      dropComponentItemsOnBadBreak in class Block
    • canBePistonShoveled

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

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

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

      public boolean isBreakableBarricade(World world, int i, int j, int k, boolean advancedBreaker)
      Overrides:
      isBreakableBarricade in class Block