Package api.item.items
Class AxeItem
java.lang.Object
net.minecraft.src.Item
api.item.items.ToolItem
api.item.items.AxeItem
- All Implemented Interfaces:
PlaceableAsItem
- Direct Known Subclasses:
AxeItemSteel,BattleAxeItem
-
Field Summary
Fields inherited from class api.item.items.ToolItem
damageVsEntity, efficiencyOnProperMaterial, toolMaterialFields inherited from class net.minecraft.src.Item
appleGold, appleRed, arrow, axeDiamond, axeGold, axeIron, axeStone, axeWood, bakedPotato, BASE_CHICKEN_ITEM_FOOD_VALUE, BASE_HERBIVORE_ITEM_FOOD_VALUE, BASE_PIG_ITEM_FOOD_VALUE, bed, beefCooked, beefRaw, bFull3D, blazePowder, blazeRod, boat, bone, book, bootsChain, bootsDiamond, bootsGold, bootsIron, bootsLeather, bow, bowlEmpty, bowlSoup, bread, brewingStand, brick, bucketEmpty, bucketLava, bucketMilk, bucketWater, cake, carrot, carrotOnAStick, cauldron, chickenCooked, chickenRaw, clay, coal, comparator, compass, cookie, defaultFurnaceBurnTime, diamond, doorIron, doorWood, dyePowder, egg, emerald, emptyMap, enchantedBook, enderPearl, expBottle, eyeOfEnder, feather, fermentedSpiderEye, field_111210_e, FILTERABLE_FINE, FILTERABLE_NARROW, FILTERABLE_NO_PROPERTIES, FILTERABLE_SMALL, FILTERABLE_SOLID_BLOCK, FILTERABLE_THIN, fireballCharge, firework, fireworkCharge, fishCooked, fishingRod, fishRaw, flint, flintAndSteel, flowerPot, ghastTear, glassBottle, glowstone, goldenCarrot, goldNugget, gunpowder, hasSubtypes, helmetChain, helmetDiamond, helmetGold, helmetIron, helmetLeather, hoeDiamond, hoeGold, hoeIron, hoeStone, hoeWood, horseArmorDiamond, horseArmorGold, horseArmorIron, iconString, ingotGold, ingotIron, isInceratedInCrucible, itemFrame, itemIcon, itemID, itemRand, itemsList, leash, leather, legsChain, legsDiamond, legsGold, legsIron, legsLeather, magmaCream, map, maxStackSize, melon, melonSeeds, minecartCrate, minecartEmpty, minecartHopper, minecartPowered, minecartTnt, modID, modIDSetter, monsterPlacer, nameTag, netherQuartz, netherrackBrick, netherStalkSeeds, netherStar, painting, paper, pickaxeDiamond, pickaxeGold, pickaxeIron, pickaxeStone, pickaxeWood, plateChain, plateDiamond, plateGold, plateIron, plateLeather, 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, shovelIron, shovelStone, shovelWood, sign, silk, skull, slimeBall, snowball, speckledMelon, spiderEye, stick, sugar, suppressConflictWarnings, swordDiamond, swordGold, swordIron, swordStone, swordWood, wheat, writableBook, writtenBook -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHarvestBlock(ItemStack stack, World world, Block block, int i, int j, int k) booleancanToolStickInBlock(ItemStack stack, Block block, World world, int i, int j, int k) booleanfloatgetExhaustionOnUsedToHarvestBlock(int iBlockID, World world, int i, int j, int k, int iBlockMetadata) booleanfloatgetStrVsBlock(ItemStack toolItemStack, World world, Block block, int i, int j, int k) booleanbooleanbooleanisEfficientVsBlock(ItemStack stack, World world, Block block, int i, int j, int k) booleanbooleanonBlockDestroyed(ItemStack stack, World world, int iBlockID, int i, int j, int k, EntityLivingBase destroyingEntityLiving) voidonBrokenInCrafting(EntityPlayer player) voidonUsedInCrafting(EntityPlayer player, ItemStack outputStack) static voidplayBreakSoundOnPlayer(EntityPlayer player) static voidplayChopSoundOnPlayer(EntityPlayer player) voidplayPlacementSound(ItemStack stack, Block blockStuckIn, World world, int i, int j, int k) Methods inherited from class api.item.items.ToolItem
addCustomEfficiencyMultiplier, applyStandardEfficiencyModifiers, canItemBeUsedByPlayer, getBlockBoundingBoxHeight, getBlockBoundingBoxWidth, getCanBePlacedAsBlock, getItemAttributeModifiers, getItemEnchantability, getVisualHorizontalOffsetAsBlock, getVisualRollOffsetAsBlock, getVisualVerticalOffsetAsBlock, hitEntity, isEnchantmentApplicable, isFull3D, onCreated, onItemUse, setDamageVsEntityMethods inherited from class net.minecraft.src.Item
addInformation, canItemEditBlocks, createItemAsEntityInWorld, doesConsumeContainerItemWhenCrafted, doesContainerItemLeaveCraftingGrid, doZombiesConsume, getAnimationIcon, getBuoyancy, getCampfireBurnTime, getCanBeFedDirectlyIntoBrickOven, getCanBeFedDirectlyIntoCampfire, getCanItemBeSetOnFireOnUse, getCanItemStartFireOnUse, getChickenFoodValue, getColorFromItemStack, getContainerItem, getCreativeTab, getCustomItemEntity, getFurnaceBurnTime, getHasSubtypes, getHerbivoreFoodValue, getHopperFilterIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getInfernalMaxEnchantmentCost, getInfernalMaxNumEnchants, getIsRepairable, getItemDisplayName, getItemRightClickCooldown, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getItemUseWarmupDuration, getMaxDamage, getMaxItemUseDuration, getMetadata, getModId, getMovingObjectPositionFromPlayer, getPigFoodValue, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getStatName, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, getWolfHealAmount, hasContainerItem, hasCustomItemEntity, hasEffect, hideFromEMI, ignoreDamageWhenComparingDuringUse, initializeStackOnGiveCommand, isDamageable, isIncineratedInCrucible, isItemTool, isMap, isMultiUsePerClick, isPotionIngredient, isWolfFood, itemInteractionForEntity, onDamagedInCrafting, onEaten, onItemRightClick, onItemUsedByBlockDispenser, onPlayerStoppedUsing, onUpdate, onUsedInCrafting, registerIcons, requiresMultipleRenderPasses, setAllAxesToBeEffectiveVsBlock, setAllPicksToBeEffectiveVsBlock, setAllShovelsToBeEffectiveVsBlock, setAsBasicChickenFood, setAsBasicHerbivoreFood, setAsBasicPigFood, setBuoyancy, setBuoyant, setChickenFoodValue, setContainerItem, setCreativeTab, setCustomItemEntity, setFull3D, setfurnaceburntime, setfurnaceburntime, setHasSubtypes, setHerbivoreFoodValue, setIncineratedInCrucible, setInfernalMaxEnchantmentCost, setInfernalMaxNumEnchants, setItemRightClickCooldown, setMaxDamage, setMaxStackSize, setModID, setNeutralBuoyant, setNonBuoyant, setNotIncineratedInCrucible, setPigFoodValue, setPotionEffect, setTextureName, setUnlocalizedName, shouldApplyAttributesWhenHeld, shouldApplyAttributesWhenWorn, shouldRotateAroundWhenRendering, updateUsingItem
-
Constructor Details
-
AxeItem
-
-
Method Details
-
getStrVsBlock
- Overrides:
getStrVsBlockin classToolItem
-
canHarvestBlock
- Overrides:
canHarvestBlockin classItem
-
isEfficientVsBlock
- Overrides:
isEfficientVsBlockin classToolItem
-
isConsumedInCrafting
public boolean isConsumedInCrafting()- Overrides:
isConsumedInCraftingin classItem
-
isDamagedInCrafting
public boolean isDamagedInCrafting()- Overrides:
isDamagedInCraftingin classItem
-
onUsedInCrafting
- Overrides:
onUsedInCraftingin classItem
-
onBrokenInCrafting
- Overrides:
onBrokenInCraftingin classItem
-
onBlockDestroyed
public boolean onBlockDestroyed(ItemStack stack, World world, int iBlockID, int i, int j, int k, EntityLivingBase destroyingEntityLiving) - Overrides:
onBlockDestroyedin classToolItem
-
getExhaustionOnUsedToHarvestBlock
public float getExhaustionOnUsedToHarvestBlock(int iBlockID, World world, int i, int j, int k, int iBlockMetadata) - Overrides:
getExhaustionOnUsedToHarvestBlockin classItem
-
isToolTypeEfficientVsBlockType
- Specified by:
isToolTypeEfficientVsBlockTypein classToolItem
-
canToolStickInBlock
- Overrides:
canToolStickInBlockin classToolItem
-
playPlacementSound
public void playPlacementSound(ItemStack stack, Block blockStuckIn, World world, int i, int j, int k) - Overrides:
playPlacementSoundin classToolItem
-
getConsumesHungerOnZeroHardnessVegetation
public boolean getConsumesHungerOnZeroHardnessVegetation() -
getIsDamagedByVegetation
public boolean getIsDamagedByVegetation() -
playChopSoundOnPlayer
-
playBreakSoundOnPlayer
-