Class WickerSlabBlock


public class WickerSlabBlock extends SlabBlock
  • Constructor Details

    • WickerSlabBlock

      public WickerSlabBlock(int iBlockID)
  • Method Details

    • doesBlockBreakSaw

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

      public boolean dropComponentItemsOnBadBreak(World world, int i, int j, int k, int iMetadata, float fChanceOfDrop)
      Description copied from class: Block
      Called by explosions and improper tool use. Should return true if the block processes its own drops through this method, false otherwise Note that the block may no longer be at the specified position when this is called
      Overrides:
      dropComponentItemsOnBadBreak in class Block
    • getCombinedBlockID

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

      public boolean canToolsStickInBlock(IBlockAccess blockAccess, int i, int j, int k)
      Overrides:
      canToolsStickInBlock 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