Examples of trySpawnFruitBlock()


Examples of forestry.api.arboriculture.IFruitProvider.trySpawnFruitBlock()

    IFruitProvider provider = getGenome().getFruitProvider();
    Collection<IFruitFamily> suitable = genome.getPrimary().getSuitableFruit();
    if (!suitable.contains(provider.getFamily()))
      return false;

    return provider.trySpawnFruitBlock(getGenome(), world, x, y, z);
  }

  /* INFORMATION */
  @Override
  public ITreeGenome getGenome() {
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.