net.minecraft.item
Class ItemPickaxe

java.lang.Object
  extended by net.minecraft.item.Item
      extended by net.minecraft.item.ItemTool
          extended by net.minecraft.item.ItemPickaxe

public class ItemPickaxe
extends ItemTool


Field Summary
static Block[] blocksEffectiveAgainst
          an array of the blocks this pickaxe is effective against
 
Fields inherited from class net.minecraft.item.ItemTool
damageVsEntity, efficiencyOnProperMaterial
 
Fields inherited from class net.minecraft.item.Item
appleGold, appleRed, arrow, axeDiamond, axeGold, axeSteel, axeStone, axeWood, bakedPotato, bed, beefCooked, beefRaw, blazePowder, blazeRod, boat, bone, book, bootsChain, bootsDiamond, bootsGold, bootsLeather, bootsSteel, bow, bowlEmpty, bowlSoup, bread, brewingStand, brick, bucketEmpty, bucketLava, bucketMilk, bucketWater, cake, carrot, carrotOnAStick, cauldron, chickenCooked, chickenRaw, clay, coal, compass, cookie, diamond, doorSteel, doorWood, dyePowder, egg, emerald, emptyMap, enderPearl, expBottle, eyeOfEnder, feather, fermentedSpiderEye, field_92052_bU, field_92053_bW, field_92054_bV, fireballCharge, fishCooked, fishingRod, fishRaw, flint, flintAndSteel, flowerPot, ghastTear, glassBottle, goldenCarrot, goldNugget, gunpowder, helmetChain, helmetDiamond, helmetGold, helmetLeather, helmetSteel, hoeDiamond, hoeGold, hoeSteel, hoeStone, hoeWood, ingotGold, ingotIron, isDefaultTexture, itemFrame, itemID, itemsList, leather, legsChain, legsDiamond, legsGold, legsLeather, legsSteel, lightStoneDust, magmaCream, map, melon, melonSeeds, minecartCrate, minecartEmpty, minecartPowered, monsterPlacer, netherStalkSeeds, netherStar, painting, paper, pickaxeDiamond, pickaxeGold, pickaxeSteel, pickaxeStone, pickaxeWood, plateChain, plateDiamond, plateGold, plateLeather, plateSteel, pocketSundial, poisonousPotato, porkCooked, porkRaw, potato, potion, pumpkinPie, pumpkinSeeds, record11, record13, recordBlocks, recordCat, recordChirp, recordFar, recordMall, recordMellohi, recordStal, recordStrad, recordWait, recordWard, redstone, redstoneRepeater, reed, rottenFlesh, saddle, seeds, shears, shovelDiamond, shovelGold, shovelSteel, shovelStone, shovelWood, sign, silk, skull, slimeBall, snowball, speckledMelon, spiderEye, stick, sugar, swordDiamond, swordGold, swordSteel, swordStone, swordWood, wheat, writableBook, writtenBook
 
Constructor Summary
ItemPickaxe(int par1, EnumToolMaterial par2EnumToolMaterial)
           
 
Method Summary
 boolean canHarvestBlock(Block par1Block)
          Returns if the item (tool) can harvest results from the block type.
 float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 
Methods inherited from class net.minecraft.item.ItemTool
getDamageVsEntity, getIsRepairable, getItemEnchantability, getStrVsBlock, getToolMaterialName, hitEntity, isFull3D, onBlockDestroyed
 
Methods inherited from class net.minecraft.item.Item
addInformation, createEntity, doesContainerItemLeaveCraftingGrid, func_77653_i, func_82788_x, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItemStack, getCreativeTab, getCreativeTabs, getEntityLifespan, getHasSubtypes, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconIndex, getIconIndex, getItemDisplayName, getItemName, getItemNameIS, getItemStackLimit, getItemUseAction, getLocalItemName, getMaxDamage, getMaxItemUseDuration, getMetadata, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getStatName, getSubItems, getTextureFile, hasContainerItem, hasCustomEntity, hasEffect, isDamageable, isItemTool, isMap, isPotionIngredient, isRepairable, itemInteractionForEntity, onBlockStartBreak, onCreated, onDroppedByPlayer, onFoodEaten, onItemRightClick, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingItemTick, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setIconCoord, setIconIndex, setItemName, setMaxDamage, setMaxStackSize, setNoRepair, setTextureFile, shouldPassSneakingClickToBlock, shouldRotateAroundWhenRendering
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blocksEffectiveAgainst

public static final Block[] blocksEffectiveAgainst
an array of the blocks this pickaxe is effective against

Constructor Detail

ItemPickaxe

public ItemPickaxe(int par1,
                   EnumToolMaterial par2EnumToolMaterial)
Method Detail

canHarvestBlock

public boolean canHarvestBlock(Block par1Block)
Returns if the item (tool) can harvest results from the block type.

Overrides:
canHarvestBlock in class Item

getStrVsBlock

public float getStrVsBlock(ItemStack par1ItemStack,
                           Block par2Block)
Returns the strength of the stack against a given block. 1.0F base, (Quality+1)*2 if correct blocktype, 1.5F if sword

Overrides:
getStrVsBlock in class ItemTool