Class AshGroundCoverBlock


public class AshGroundCoverBlock extends GroundCoverBlock
  • Constructor Details

    • AshGroundCoverBlock

      public AshGroundCoverBlock(int iBlockID)
  • Method Details

    • updateTick

      public void updateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      updateTick in class Block
    • idDropped

      public int idDropped(int iMetadata, Random rand, int iFortuneModifier)
      Description copied from class: Block
      Returns the ID of the items to drop on destruction.
      Overrides:
      idDropped in class Block
    • getCanGrassGrowUnderBlock

      public boolean getCanGrassGrowUnderBlock(World world, int i, int j, int k, boolean bGrassOnHalfSlab)
      Overrides:
      getCanGrassGrowUnderBlock in class Block
    • getCanBlockBeReplacedByFire

      public boolean getCanBlockBeReplacedByFire(World world, int i, int j, int k)
      Description copied from class: Block
      Whether a fire block can be directly placed over this one, without first burning or catching fire, as if it were air.
      Overrides:
      getCanBlockBeReplacedByFire in class Block
    • canAshReplaceBlock

      public static boolean canAshReplaceBlock(World world, int i, int j, int k)
    • attemptToPlaceAshAt

      public static boolean attemptToPlaceAshAt(World world, int i, int j, int k)
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      A randomly called display update to be able to add particles or other items for display
      Overrides:
      randomDisplayTick in class Block