Package survivalcraft.block

Examples of survivalcraft.block.BlockStickLeaves


    BlockCampFire campFireActive = new BlockCampFire(getUnusedBlockID(), true);
    campFireActive.setHardness(3.5F).setStepSound(Block.soundStoneFootstep).setLightValue(0.875F).setBlockName("campFire").setRequiresSelfNotify();
    GameRegistry.registerBlock(campFireActive);

    Block.blocksList[Block.leaves.blockID] = null;
    BlockStickLeaves stickLeaves = new BlockStickLeaves(Block.leaves.blockID, 52);
    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));
View Full Code Here

TOP

Related Classes of survivalcraft.block.BlockStickLeaves

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.