Class LooseDirtBlock


public class LooseDirtBlock extends FallingFullBlock
  • Constructor Details

    • LooseDirtBlock

      public LooseDirtBlock(int iBlockID)
  • Method Details

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

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

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

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

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

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

      public void onVegetationAboveGrazed(World world, int i, int j, int k, EntityAnimal animal)
      Overrides:
      onVegetationAboveGrazed in class Block
    • canReedsGrowOnBlock

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

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

      public boolean canWildVegetationGrowOnBlock(World world, int i, int j, int k)
      Description copied from class: Block
      Covers stuff like flowers and tall grass
      Overrides:
      canWildVegetationGrowOnBlock in class Block
    • getCanBlightSpreadToBlock

      public boolean getCanBlightSpreadToBlock(World world, int i, int j, int k, int iBlightLevel)
      Overrides:
      getCanBlightSpreadToBlock in class Block
    • canConvertBlock

      public boolean canConvertBlock(ItemStack stack, World world, int i, int j, int k)
      Overrides:
      canConvertBlock in class Block
    • convertBlock

      public boolean convertBlock(ItemStack stack, World world, int x, int y, int z, int iFromSide)
      Description copied from class: Block
      Returns false if the block has not been replaced with another, and should be removed
      Overrides:
      convertBlock in class Block
    • shouldPlayStandardConvertSound

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

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