Class BlockRotatedPillar

java.lang.Object
net.minecraft.src.Block
net.minecraft.src.BlockRotatedPillar
Direct Known Subclasses:
BlockHay, BlockLog

public abstract class BlockRotatedPillar extends Block
  • Field Details

    • field_111051_a

      protected Icon field_111051_a
  • Constructor Details

    • BlockRotatedPillar

      protected BlockRotatedPillar(int par1, Material par2Material)
  • Method Details

    • getRenderType

      public int getRenderType()
      The type of render function that is called for this block
      Overrides:
      getRenderType in class Block
    • onBlockPlaced

      public int onBlockPlaced(World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9)
      Called when a block is placed using its ItemBlock. Args: World, X, Y, Z, side, hitX, hitY, hitZ, block metadata
      Overrides:
      onBlockPlaced in class Block
    • 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
    • getSideIcon

      protected abstract Icon getSideIcon(int var1)
      The icon for the side of the block.
    • getEndIcon

      protected Icon getEndIcon(int par1)
      The icon for the tops and bottoms of the 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
    • func_111050_e

      public int func_111050_e(int par1)
    • createStackedBlock

      protected ItemStack createStackedBlock(int par1)
      Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null.
      Overrides:
      createStackedBlock in class Block