Package powercrystals.minefactoryreloaded.farmables.drinkhandlers

Source Code of powercrystals.minefactoryreloaded.farmables.drinkhandlers.DrinkHandlerSludge

package powercrystals.minefactoryreloaded.farmables.drinkhandlers;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import powercrystals.minefactoryreloaded.api.ILiquidDrinkHandler;

public class DrinkHandlerSludge implements ILiquidDrinkHandler
{
  @Override
  public void onDrink(EntityPlayer player)
  {
    player.addPotionEffect(new PotionEffect(Potion.poison.id, 40 * 20, 0));
    player.addPotionEffect(new PotionEffect(Potion.blindness.id, 40 * 20, 0));
    player.addPotionEffect(new PotionEffect(Potion.confusion.id, 40 * 20, 0));
  }
}
TOP

Related Classes of powercrystals.minefactoryreloaded.farmables.drinkhandlers.DrinkHandlerSludge

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.