Package thaumcraft.common.items.wands

Examples of thaumcraft.common.items.wands.ItemWandCasting.storeVis()


    if (aspectToAdd != null) {
      int xpUse = getXpUse(paramItemStack);
      if (paramEntityPlayer.experienceTotal >= xpUse) {
        ExperienceHelper.drainPlayerXP(paramEntityPlayer, xpUse);
        wand.storeVis(paramItemStack, aspectToAdd, Math.min(wand.getMaxVis(paramItemStack), wand.getVis(paramItemStack, aspectToAdd) + 500));
      }
    }
  }

  @Override
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.