public final class LegacyUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> net.minecraft.item.ItemStack |
cheatIngredient(T focusValue,
mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper,
boolean fullStack) |
static <T> T |
getIngredientCopy(T value,
mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper) |
static java.lang.String |
getModName(mezz.jei.api.recipe.IRecipeCategory recipeCategory) |
static <T> java.lang.String |
getResourceId(T ingredient,
mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper) |
static <T> java.util.List<java.lang.String> |
getTooltip(mezz.jei.api.ingredients.IIngredientRenderer<T> ingredientRenderer,
net.minecraft.client.Minecraft minecraft,
T ingredient,
boolean advanced) |
static java.util.List<java.lang.String> |
getTooltipStrings(mezz.jei.api.recipe.IRecipeCategory<?> recipeCategory,
int recipeMouseX,
int recipeMouseY) |
public static <T> java.util.List<java.lang.String> getTooltip(mezz.jei.api.ingredients.IIngredientRenderer<T> ingredientRenderer, net.minecraft.client.Minecraft minecraft, T ingredient, boolean advanced)
public static <T> T getIngredientCopy(T value, mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper)
public static java.util.List<java.lang.String> getTooltipStrings(mezz.jei.api.recipe.IRecipeCategory<?> recipeCategory, int recipeMouseX, int recipeMouseY)
public static <T> java.lang.String getResourceId(T ingredient, mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper)
public static <T> net.minecraft.item.ItemStack cheatIngredient(T focusValue, mezz.jei.api.ingredients.IIngredientHelper<T> ingredientHelper, boolean fullStack)
@Nullable public static java.lang.String getModName(mezz.jei.api.recipe.IRecipeCategory recipeCategory)