Examples of pickFruit()


Examples of forestry.api.genetics.IFruitBearer.pickFruit()

  @SuppressWarnings({ "unchecked", "rawtypes" })
  @Override
  public List<ItemStack> getDrops(World world, Random rand, int x, int y, int z)
  {
    IFruitBearer f = ForestryUtils.getFruitBearer(world.getBlockTileEntity(x, y, z));
    return((List)f.pickFruit(ForestryUtils.getItem("grafter").copy()));
  }
 
  @Override
  public void postPick(World world, int x, int y, int z)
  {
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.