Package net.mcft.copy.betterstorage.misc

Examples of net.mcft.copy.betterstorage.misc.SmallPotionEffect


      }
   
    for (PotionEffect effect : potionEffects) {
      Potion potion = Potion.potionTypes[effect.getPotionID()];
      PotionEffect active = player.getActivePotionEffect(potion);
      effect = new SmallPotionEffect(effect, active);
      player.addPotionEffect(effect);
    }
   
    player.worldObj.playSoundAtEntity(player, "random.drink", 0.5F, 0.9F + player.worldObj.rand.nextFloat() * 0.1F);
    if (--uses <= 0) setPotions(drinkingHelmet, null);
View Full Code Here

TOP

Related Classes of net.mcft.copy.betterstorage.misc.SmallPotionEffect

Copyright © 2018 www.massapicom. 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.