Examples of IBloodOrb


Examples of WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb

       
        ItemStack slot = inv.getStackInRowAndColumn(x, y);
        //If target is integer, then we should be check the blood orb value of the item instead
        if(target instanceof Integer) {
          if(slot != null && slot.getItem() instanceof IBloodOrb) {
            IBloodOrb orb = (IBloodOrb) slot.getItem();
            if(orb.getOrbLevel() < (Integer)target) {
              return false;
            }
          } else return false;
        } else if (target instanceof ItemStack) {
          if (!OreDictionary.itemMatches((ItemStack) target, slot, false)) {
View Full Code Here

Examples of WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb

          Object next = req.next();

          //If target is integer, then we should be check the blood orb value of the item instead
          if(next instanceof Integer) {
            if(slot != null && slot.getItem() instanceof IBloodOrb) {
              IBloodOrb orb = (IBloodOrb) slot.getItem();
              if(orb.getOrbLevel() < (Integer)next) {
                return false;
              }
            } else return false;
          } else if (next instanceof ItemStack) {
            match = OreDictionary.itemMatches((ItemStack) next, slot, false);
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.