Package net.minecraft.block

Examples of net.minecraft.block.Block.damageDropped()


        int meta = world.getBlockMetadata(x, y, z);

        if(!block.getMaterial().isToolNotRequired() && !ForgeHooks.canToolHarvestBlock(block, meta, stack))
            return false;

        meta = block.damageDropped(meta);

        if (tags.getBoolean("Lava") && block.quantityDropped(meta, 0, random) != 0)
        {
            int amount = block.quantityDropped(random);
            Item item = block.getItemDropped(meta, random, EnchantmentHelper.getFortuneModifier(entity));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.