Class BlockRail


public class BlockRail extends BlockRailBase
  • Constructor Details

    • BlockRail

      protected BlockRail(int par1)
  • Method Details

    • getIcon

      public Icon getIcon(int par1, int par2)
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class Block
    • registerIcons

      public void registerIcons(IconRegister par1IconRegister)
      When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
      Overrides:
      registerIcons in class Block
    • func_94358_a

      protected void func_94358_a(World par1World, int par2, int par3, int par4, int par5, int par6, int par7)
      Overrides:
      func_94358_a in class BlockRailBase