Package appeng.api.integrations.jei
Class IngredientConverters
java.lang.Object
appeng.api.integrations.jei.IngredientConverters
Register your
IngredientConverter instances for JEI here.-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @Nullable IngredientConverter<T>getConverter(mezz.jei.api.ingredients.IIngredientType<T> type) static List<IngredientConverter<?>>static booleanregister(IngredientConverter<?> converter) Registers a new ingredient converter for handling customkey typesin the AE2 JEI addon.
-
Method Details
-
register
Registers a new ingredient converter for handling customkey typesin the AE2 JEI addon.- Returns:
- false if a converter for the converters type has already been registered.
-
getConverters
- Returns:
- The currently registered converters.
-
getConverter
@Nullable public static <T> @Nullable IngredientConverter<T> getConverter(mezz.jei.api.ingredients.IIngredientType<T> type) - Returns:
- The currently registered converter for the given type or null.
-