Examples of canReceiveManaFromPool()


Examples of vazkii.botania.api.mana.IManaItem.canReceiveManaFromPool()

        continue;

      ItemStack stack = item.getEntityItem();
      if(stack != null && stack.getItem() instanceof IManaItem) {
        IManaItem mana = (IManaItem) stack.getItem();
        if(outputting && mana.canReceiveManaFromPool(stack, this) || !outputting && mana.canExportManaToPool(stack, this)) {
          boolean didSomething = false;

          if(outputting) {
            if(canSpare) {
              if(getCurrentMana() > 0 && mana.getMana(stack) < mana.getMaxMana(stack))
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.