Class BedrollBlock


public class BedrollBlock extends BedBlockBase
  • Constructor Details

    • BedrollBlock

      public BedrollBlock(int blockID)
  • Method Details

    • blocksHealing

      public boolean blocksHealing()
      Overrides:
      blocksHealing in class BedBlockBase
    • idDropped

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

      public Icon getIcon(int side, int meta)
      Description copied from class: BlockBed
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class BlockBed
    • renderBlock

      public boolean renderBlock(RenderBlocks renderer, int x, int y, int z)
      Overrides:
      renderBlock in class Block
    • registerIcons

      public void registerIcons(IconRegister register)
      Description copied from class: BlockBed
      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 BlockBed
    • shouldSideBeRendered

      public boolean shouldSideBeRendered(IBlockAccess blockAccess, int neighborX, int neighborY, int neighborZ, int side)
      Overrides:
      shouldSideBeRendered in class Block
    • idPicked

      public int idPicked(World world, int x, int y, int z)
      Description copied from class: BlockBed
      only called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative)
      Overrides:
      idPicked in class BlockBed