Examples of canReceiveManaFromItem()


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

          for(ItemStack stack : stacks) {
            if(stack == null || !(stack.getItem() instanceof IManaItem))
              continue;

            IManaItem manaItem = (IManaItem) stack.getItem();
            if(manaItem.canReceiveManaFromItem(stack, input)) {
              Map receivingStacks;
              boolean add = false;
              if(!receivingPlayers.containsKey(player)) {
                add = true;
                receivingStacks = new HashMap();
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.