// Path: src/main/java/charcoalPit/crafting/BrewingNBTRecipe.java
// public class BrewingNBTRecipe extends BrewingOreRecipe{
// 	
// 	public BrewingNBTRecipe(@Nonnull ItemStack input, @Nonnull String ingredient, @Nonnull ItemStack output) {
// 		super(input, ingredient, output);
// 	}
// 	
// 	@Override
// 	public boolean isInput(ItemStack stack) {
// 		return super.isInput(stack) && ItemStack.areItemStackTagsEqual(getInput(), stack);
// 	}
// }


import charcoalPit.crafting.BrewingNBTRecipe;
import net.minecraft.init.Items;
import net.minecraft.init.MobEffects;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.potion.PotionType;
import net.minecraft.potion.PotionUtils;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraftforge.event.brewing.PotionBrewEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.ForgeRegistries;
	public static void initPotions(){
		ForgeRegistries.POTION_TYPES.register(COKE_COLA);
		ForgeRegistries.POTION_TYPES.register(COKE_COLA_LONG);
		ForgeRegistries.POTION_TYPES.register(COKE_COLA_STRONG);
		
		Coke_Cola_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA);
		Coke_Cola_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA_LONG);
		Coke_Cola_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA_STRONG);
		
		Coke_Cola_Splash_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA);
		Coke_Cola_Splash_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA_LONG);
		Coke_Cola_Splash_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA_STRONG);
		
		Coke_Cola_Lingering_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA);
		Coke_Cola_Lingeting_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA_LONG);
		Coke_Cola_Lingering_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA_STRONG);
		
		Coke_Cola_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		Coke_Cola_Splash_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Splash_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Splash_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		Coke_Cola_Lingering_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Lingeting_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Lingering_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		//speed to coke
// Path: src/main/java/charcoalPit/crafting/BrewingNBTRecipe.java
// public class BrewingNBTRecipe extends BrewingOreRecipe{
// 	
// 	public BrewingNBTRecipe(@Nonnull ItemStack input, @Nonnull String ingredient, @Nonnull ItemStack output) {
// 		super(input, ingredient, output);
// 	}
// 	
// 	@Override
// 	public boolean isInput(ItemStack stack) {
// 		return super.isInput(stack) && ItemStack.areItemStackTagsEqual(getInput(), stack);
// 	}
// }


// Path: src/main/java/charcoalPit/core/PotionRegistry.java
import charcoalPit.crafting.BrewingNBTRecipe;
import net.minecraft.init.Items;
import net.minecraft.init.MobEffects;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.potion.PotionType;
import net.minecraft.potion.PotionUtils;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraftforge.event.brewing.PotionBrewEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.ForgeRegistries;

	public static void initPotions(){
		ForgeRegistries.POTION_TYPES.register(COKE_COLA);
		ForgeRegistries.POTION_TYPES.register(COKE_COLA_LONG);
		ForgeRegistries.POTION_TYPES.register(COKE_COLA_STRONG);
		
		Coke_Cola_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA);
		Coke_Cola_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA_LONG);
		Coke_Cola_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), COKE_COLA_STRONG);
		
		Coke_Cola_Splash_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA);
		Coke_Cola_Splash_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA_LONG);
		Coke_Cola_Splash_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.SPLASH_POTION), COKE_COLA_STRONG);
		
		Coke_Cola_Lingering_Bottle=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA);
		Coke_Cola_Lingeting_Bottle_Long=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA_LONG);
		Coke_Cola_Lingering_Bottle_Strong=PotionUtils.addPotionToItemStack(new ItemStack(Items.LINGERING_POTION), COKE_COLA_STRONG);
		
		Coke_Cola_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		Coke_Cola_Splash_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Splash_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Splash_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		Coke_Cola_Lingering_Bottle.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Lingeting_Bottle_Long.getTagCompound().setInteger("CustomPotionColor", 4738376);
		Coke_Cola_Lingering_Bottle_Strong.getTagCompound().setInteger("CustomPotionColor", 4738376);
		
		//speed to coke
		BrewingRecipeRegistry.addRecipe(new BrewingNBTRecipe(PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.SWIFTNESS), "fuelCoke", Coke_Cola_Bottle));