Package forestry.api.lepidopterology

Examples of forestry.api.lepidopterology.IButterfly.canSpawn()


      return false;
   
    if(world.countEntities(EntityButterfly.class) > PluginLepidopterology.spawnConstraint)
      return false;
   
    if(!spawn.canSpawn(world, x, y, z))
      return false;
   
    if(world.isAirBlock(x - 1, y, z)) {
      attemptButterflySpawn(world, spawn, x - 1, y, z);
    } else if(world.isAirBlock(x + 1, y, 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.