Package vazkii.botania.common.entity

Examples of vazkii.botania.common.entity.EntityManaBurst


      return MathHelper.pointDistanceSpace(x, y / heightscale, z, srcx, srcy / heightscale, srcz) < range;
    else return MathHelper.pointDistanceSpace(x, 0, z, srcx, 0, srcz) < range - (srcy - y) / heightscale;
  }

  public EntityManaBurst getBurst(World world, int x, int y, int z, ItemStack stack) {
    EntityManaBurst burst = new EntityManaBurst(world);
    burst.posX = x + 0.5;
    burst.posY = y + 0.5;
    burst.posZ = z + 0.5;

    burst.setColor(0x00EAFF);
    burst.setMana(1);
    burst.setStartingMana(1);
    burst.setMinManaLoss(0);
    burst.setManaLossPerTick(0F);
    burst.setGravity(0F);
    burst.setMotion(0, 0.5, 0);

    burst.setSourceLens(stack);
    return burst;
  }
View Full Code Here

TOP

Related Classes of vazkii.botania.common.entity.EntityManaBurst

Copyright © 2018 www.massapicom. 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.