Examples of preHarvest()


Examples of powercrystals.minefactoryreloaded.api.IFactoryHarvestable.preHarvest()

   
    IFactoryHarvestable harvestable = MFRRegistry.getHarvestables().get(new Integer(harvestedBlockId));
   
    List<ItemStack> drops = harvestable.getDrops(worldObj, _rand, ImmutableMap.copyOf(_settings), targetCoords.x, targetCoords.y, targetCoords.z);
   
    harvestable.preHarvest(worldObj, targetCoords.x, targetCoords.y, targetCoords.z);
   
    doDrop(drops);
   
    if(harvestable.breakBlock())
    {
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.