Class BlockSandStone

java.lang.Object
net.minecraft.src.Block
net.minecraft.src.BlockSandStone

public class BlockSandStone extends Block
  • Field Details

    • SAND_STONE_TYPES

      public static final String[] SAND_STONE_TYPES
  • Constructor Details

    • BlockSandStone

      public BlockSandStone(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
    • damageDropped

      public int damageDropped(int par1)
      Determines the damage on the item the block drops. Used in cloth and wood.
      Overrides:
      damageDropped in class Block
    • getSubBlocks

      public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
      returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)
      Overrides:
      getSubBlocks 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
    • getHarvestToolLevel

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

      @Environment(CLIENT) public boolean renderBlock(RenderBlocks renderer, int i, int j, int k)
      Overrides:
      renderBlock in class Block
    • doesItemRenderAsBlock

      @Environment(CLIENT) public boolean doesItemRenderAsBlock(int iItemDamage)
      Overrides:
      doesItemRenderAsBlock in class Block
    • renderBlockMovedByPiston

      @Environment(CLIENT) public void renderBlockMovedByPiston(RenderBlocks renderBlocks, int i, int j, int k)
      Overrides:
      renderBlockMovedByPiston in class Block