public class FluidConverterRecipeJEI
extends java.lang.Object
implements mezz.jei.api.recipe.IRecipeWrapper
| Modifier and Type | Field and Description |
|---|---|
net.minecraftforge.fluids.FluidStack |
inputStack |
net.minecraftforge.fluids.FluidStack |
outputStack |
| Constructor and Description |
|---|
FluidConverterRecipeJEI(FluidGroup.FluidElement fluidInput,
FluidGroup.FluidElement fluidOutput,
FluidGroup fluidGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawInfo(net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
Draw additional info about the recipe.
|
void |
getIngredients(mezz.jei.api.ingredients.IIngredients ingredients)
Gets all the recipe's ingredients by filling out an instance of
IIngredients. |
java.util.List<java.lang.String> |
getTooltipStrings(int mouseX,
int mouseY)
Get the tooltip for whatever's under the mouse.
|
public final net.minecraftforge.fluids.FluidStack inputStack
public final net.minecraftforge.fluids.FluidStack outputStack
public FluidConverterRecipeJEI(FluidGroup.FluidElement fluidInput, FluidGroup.FluidElement fluidOutput, FluidGroup fluidGroup)
public void drawInfo(@Nonnull
net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
mezz.jei.api.recipe.IRecipeWrapperIRecipeWrapper.getTooltipStrings(int, int)drawInfo in interface mezz.jei.api.recipe.IRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.for a simple class for drawing things.,
for useful functions.@Nullable
public java.util.List<java.lang.String> getTooltipStrings(int mouseX,
int mouseY)
mezz.jei.api.recipe.IRecipeWrapperIGuiIngredientGroup.addTooltipCallback(ITooltipCallback)
To add tooltips for a recipe category, see IRecipeCategory.getTooltipStrings(int, int)getTooltipStrings in interface mezz.jei.api.recipe.IRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.public void getIngredients(mezz.jei.api.ingredients.IIngredients ingredients)
mezz.jei.api.recipe.IRecipeWrapperIIngredients.getIngredients in interface mezz.jei.api.recipe.IRecipeWrapper