package makeo.gadomancy.common.registration; import cpw.mods.fml.common.FMLLog; import makeo.gadomancy.common.Gadomancy; import makeo.gadomancy.common.data.config.ModConfig; import makeo.gadomancy.common.potions.*; import makeo.gadomancy.common.potions.PotionEldritch; import makeo.gadomancy.common.utils.Injector; import net.minecraft.potion.Potion; /** * This class is part of the Gadomancy Mod * Gadomancy is Open Source and distributed under the * GNU LESSER GENERAL PUBLIC LICENSE * for more read the LICENSE file *
* Created by makeo @ 31.10.2015 23:09 */ public class RegisteredPotions { public static PotionMiningLuck POTION_LUCK; public static PotionBuffGolem BUFF_GOLEM; public static PotionAchromatic ACHROMATIC; public static PotionEldritch ELDRITCH; public static PotionVisAffinity VIS_DISCOUNT; public static void init() { POTION_LUCK = registerPotion(PotionMiningLuck.class); BUFF_GOLEM = registerPotion(PotionBuffGolem.class); ACHROMATIC = registerPotion(PotionAchromatic.class); ELDRITCH = registerPotion(PotionEldritch.class); VIS_DISCOUNT = registerPotion(PotionVisAffinity.class); ModConfig.save(); } private static