public class DebugRecipe extends BlankRecipeWrapper
| Constructor and Description |
|---|
DebugRecipe() |
| 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.
|
java.util.List<net.minecraftforge.fluids.FluidStack> |
getFluidInputs()
Return a list of recipe fluid inputs.
|
java.util.List<java.lang.String> |
getTooltipStrings(int mouseX,
int mouseY)
Get the tooltip for whatever's under the mouse.
|
boolean |
handleClick(net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY,
int mouseButton)
Called when a player clicks the recipe.
|
drawAnimations, drawInfo, getFluidOutputs, getInputs, getOutputspublic void drawInfo(@Nonnull
net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
IRecipeWrapperdrawInfo in interface IRecipeWrapperdrawInfo in class BlankRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.public java.util.List<net.minecraftforge.fluids.FluidStack> getFluidInputs()
IRecipeWrappergetFluidInputs in interface IRecipeWrappergetFluidInputs in class BlankRecipeWrapper@Nullable
public java.util.List<java.lang.String> getTooltipStrings(int mouseX,
int mouseY)
IRecipeWrappergetTooltipStrings in interface IRecipeWrappergetTooltipStrings in class BlankRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.public boolean handleClick(@Nonnull
net.minecraft.client.Minecraft minecraft,
int mouseX,
int mouseY,
int mouseButton)
IRecipeWrapperhandleClick in interface IRecipeWrapperhandleClick in class BlankRecipeWrappermouseX - the X position of the mouse, relative to the recipe.mouseY - the Y position of the mouse, relative to the recipe.mouseButton - the current mouse event button.