Examples of canStay()


Examples of forestry.api.arboriculture.ITree.canStay()

          return false;
        yShift = 1;
      } else
        yShift = 0;

      if (!tree.canStay(world, x, y + yShift, z))
        return false;

      if (PluginArboriculture.treeInterface.plantSapling(world, tree, player.getGameProfile(), x, y + yShift, z)) {
        Proxies.common.addBlockPlaceEffects(world, x, y, z, world.getBlock(x, y + yShift, z), 0);
        if (!player.capabilities.isCreativeMode)
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.