Class SpiderEyeSlab


public class SpiderEyeSlab extends SlabBlock
  • Constructor Details

    • SpiderEyeSlab

      public SpiderEyeSlab(int blockID)
  • Method Details

    • getCombinedBlockID

      public int getCombinedBlockID(int iMetadata)
      Specified by:
      getCombinedBlockID in class SlabBlock
    • canBePistonShoveled

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

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

      @Environment(CLIENT) public Icon getIcon(int side, int metadata)
      Description copied from class: Block
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class Block
    • registerIcons

      @Environment(CLIENT) public void registerIcons(IconRegister register)
      Description copied from class: Block
      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