Package net.minecraft.item

Examples of net.minecraft.item.ItemAxe


    stickLeaves.setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setBlockName("leaves").setRequiresSelfNotify();
    stickLeaves.setGraphicsLevel(true);
    GameRegistry.registerBlock(stickLeaves);
    LanguageRegistry.addName(stickLeaves, "leaves");

    Item axeFlint = new ItemAxe(getUnusedItemID(), EnumToolMaterial.STONE).setIconCoord(1, 7).setItemName("hatchetFlint");
    GameRegistry.addRecipe(new ItemStack(axeFlint), "sf", "s ", 'f', new ItemStack(Item.flint), 's', new ItemStack(Item.stick));
    axeFlint.setMaxDamage(3);
    LanguageRegistry.addName(axeFlint, "leaves");
   
    GameRegistry.registerTileEntity(TileEntityCampFire.class, "TileEntityCampFire");
View Full Code Here

TOP

Related Classes of net.minecraft.item.ItemAxe

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.