Started by
Muzaki
on
Topic category: Help with Minecraft modding (Java Edition)
I'm not sure what I'm doing wrong, any help is appreciated thanks.
heres the code:
package net.muzaki.minecraftenhanced;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.item.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potions;
import net.minecraft.potion.Potion;
import net.minecraft.item.PotionItem;
import net.mcreator.potion.Energypotion;
@MinecraftEnhancedModElements.ModElement.Tag
public class EnergyregenpotionrecipieBrewingRecipe extends MinecraftEnhancedModElements.ModElement {
public EnergyregenpotionrecipieBrewingRecipe(MinecraftEnhancedModElements instance) {
super(instance, 42);
}
@Override
public void init(FMLCommonSetupEvent event) {
BrewingRecipeRegistry.addRecipe(Ingredient.fromStacks(new PotionItems(Potions.AWKWARD))), Ingredient.fromStacks(new ItemStack(Items.HONEYCOMB)),
new ItemStack(Potions.ENERGYPOTION));
}
}