Search in sources :

Example 6 with PharmacologyEffect

use of minechem.potion.PharmacologyEffect in project Minechem by iopleke.

the class Chemicals method addCureEffect.

@ZenMethod
public static void addCureEffect(IIngredient ingredient) {
    PharmacologyEffect effect = new PharmacologyEffect.Cure();
    addEffect(ingredient, effect);
}
Also used : PharmacologyEffect(minechem.potion.PharmacologyEffect) ZenMethod(stanhebben.zenscript.annotations.ZenMethod)

Example 7 with PharmacologyEffect

use of minechem.potion.PharmacologyEffect in project Minechem by iopleke.

the class Chemicals method addDamageEffect.

@ZenMethod
public static void addDamageEffect(IIngredient ingredient, double damage) {
    PharmacologyEffect effect = new PharmacologyEffect.Damage((float) damage);
    addEffect(ingredient, effect);
}
Also used : PharmacologyEffect(minechem.potion.PharmacologyEffect) ZenMethod(stanhebben.zenscript.annotations.ZenMethod)

Aggregations

PharmacologyEffect (minechem.potion.PharmacologyEffect)7 ZenMethod (stanhebben.zenscript.annotations.ZenMethod)6 SideOnly (cpw.mods.fml.relauncher.SideOnly)1 RadiationEnum (minechem.radiation.RadiationEnum)1