diff --git a/src/main/java/de/ellpeck/naturesaura/api/NaturesAuraAPI.java b/src/main/java/de/ellpeck/naturesaura/api/NaturesAuraAPI.java index ae653012..f9f38303 100644 --- a/src/main/java/de/ellpeck/naturesaura/api/NaturesAuraAPI.java +++ b/src/main/java/de/ellpeck/naturesaura/api/NaturesAuraAPI.java @@ -33,9 +33,12 @@ import java.util.function.Supplier; * internal mod functions not exposed to the API. */ public final class NaturesAuraAPI { - public static final String MOD_ID = "naturesaura"; private static IInternalHooks instance = new StubHooks(); + public static final String MOD_ID = "naturesaura"; + public static final String API_ID = MOD_ID + "api"; + public static final String VERSION = "1"; + /** * The list of all {@link AltarRecipe} instances which are the recipes used * by the Natural Altar. Newly created recipes can be easily added using diff --git a/src/main/java/de/ellpeck/naturesaura/api/package-info.java b/src/main/java/de/ellpeck/naturesaura/api/package-info.java new file mode 100644 index 00000000..7b0c9970 --- /dev/null +++ b/src/main/java/de/ellpeck/naturesaura/api/package-info.java @@ -0,0 +1,4 @@ +@API(owner = NaturesAuraAPI.MOD_ID, provides = NaturesAuraAPI.API_ID, apiVersion = NaturesAuraAPI.VERSION) +package de.ellpeck.naturesaura.api; + +import net.minecraftforge.fml.common.API; \ No newline at end of file