recipe-nope/src/main/java/dev/pfaff/recipe_nope/RecipeNope.java

18 lines
569 B
Java

package dev.pfaff.recipe_nope;
import dev.pfaff.recipe_nope.injector.UnconstrainedRedirectInjectionInfo;
import net.minecraftforge.fml.common.Mod;
import org.spongepowered.asm.mixin.injection.struct.InjectionInfo;
// The value here should match an entry in the META-INF/mods.toml file
@Mod("recipe_nope")
public final class RecipeNope {
public RecipeNope() {
InjectionInfo.register(UnconstrainedRedirectInjectionInfo.class);
}
public static RuntimeException unsupported() {
throw new UnsupportedOperationException("Recipe nope");
}
}