Package fr.neatmonster.nocheatplus.utilities.BlockProperties

Examples of fr.neatmonster.nocheatplus.utilities.BlockProperties.BlockProps


   
    // Block of Coal: like block of redstone.
    BlockInit.setAs(173, 152);
   
    // Hardened Clay
    BlockProperties.setBlockProps(172, new BlockProps(BlockProperties.woodPickaxe, 1.25f, BlockProperties.secToMs(6.25, 0.95, 0.5, 0.35, 0.25, 0.2)));
    BlockFlags.setFlagsAs(172, Material.STONE); // TODO: Assumption (!).
   
    // Stained Clay: Set as hardened clay.
    BlockInit.setAs(159, 172);
   
    // Hay Bale
    BlockInit.setPropsAs(170, Material.STONE_BUTTON);
    BlockFlags.setFlagsAs(170, Material.STONE); // TODO: Assumption (!).
   
    // Carpet
    BlockProperties.setBlockProps(171, new BlockProps(BlockProperties.noTool, 0.1f, BlockProperties.secToMs(0.15)));
    BlockProperties.setBlockFlags(171, BlockProperties.F_GROUND|BlockProperties.F_IGN_PASSABLE|BlockProperties.F_GROUND_HEIGHT);
   
    LogUtil.logInfo("[NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks.");
  }
View Full Code Here

TOP

Related Classes of fr.neatmonster.nocheatplus.utilities.BlockProperties.BlockProps

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.