diff --git a/src/main/java/vazkii/botania/api/recipe/RegisterRecipesEvent.java b/src/main/java/vazkii/botania/api/recipe/RegisterRecipesEvent.java deleted file mode 100644 index 79bbbccda..000000000 --- a/src/main/java/vazkii/botania/api/recipe/RegisterRecipesEvent.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * This class is distributed as part of the Botania Mod. - * Get the Source Code in github: - * https://github.com/Vazkii/Botania - * - * Botania is Open Source and distributed under the - * Botania License: http://botaniamod.net/license.php - */ -package vazkii.botania.api.recipe; - -import net.minecraftforge.eventbus.api.Event; - -import java.util.function.Consumer; - -/** - * Fired on {@link net.minecraftforge.common.MinecraftForge#EVENT_BUS} - * whenever Botania wants to receive recipe registrations, i.e. on server start and every /reload. - * The handles to register recipes are simple {@link Consumer}s that accept the recipe to register it. - * This will be fired many times during the lifecycle of the game, it's highly encouraged you keep your event - * handlers as stateless as possible. - */ -public class RegisterRecipesEvent extends Event { - private final Consumer apothecary; - private final Consumer runeAltar; - - public RegisterRecipesEvent(Consumer apothecary, Consumer runeAltar) { - this.apothecary = apothecary; - this.runeAltar = runeAltar; - } - - public Consumer apothecary() { - return apothecary; - } - - public Consumer runeAltar() { - return runeAltar; - } -}