Examples of canCombineLenses()


Examples of vazkii.botania.api.mana.ILens.canCombineLenses()

      }
    }

    if(lens.getItem() instanceof ILens) {
      ILens lensItem = (ILens) lens.getItem();
      if(secondLens == null || !lensItem.canCombineLenses(lens, secondLens) || lensItem.getCompositeLens(lens) != null || lensItem.getCompositeLens(secondLens) != null)
        return null;

      ItemStack lensCopy = lens.copy();
      ((ItemLens) ModItems.lens).setCompositeLens(lensCopy, secondLens);
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.