Class MushroomBlockBrown


public class MushroomBlockBrown extends BlockMushroom
  • Constructor Details

    • MushroomBlockBrown

      public MushroomBlockBrown(int iBlockID)
  • Method Details

    • 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 BlockMushroom
    • updateTick

      public void updateTick(World world, int x, int y, int z, Random rand)
      Description copied from class: BlockFlower
      Ticks the block if it's been scheduled
      Overrides:
      updateTick in class BlockMushroom
    • canSpreadToOrFromLocation

      protected boolean canSpreadToOrFromLocation(World world, int i, int j, int k)
    • checkForSpread

      protected void checkForSpread(World world, int i, int j, int k, Random rand)
    • canBlockStayDuringGenerate

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