Class SugarCaneBlockRoots


public class SugarCaneBlockRoots extends SugarCaneBlockBase
  • Constructor Details

    • SugarCaneBlockRoots

      public SugarCaneBlockRoots(int id)
  • Method Details

    • idDropped

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

      public boolean canPlaceBlockAt(World world, int x, int y, int z)
      Description copied from class: Block
      Checks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z
      Overrides:
      canPlaceBlockAt in class SugarCaneBlockBase