public abstract class AbstractShapelessRecipeWrapper extends BlankRecipeWrapper implements ICraftingRecipeWrapper
Constructor and Description |
---|
AbstractShapelessRecipeWrapper(IGuiHelper guiHelper) |
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<java.lang.String> |
getTooltipStrings(int mouseX,
int mouseY)
Get the tooltip for whatever's under the mouse.
|
protected abstract boolean |
hasMultipleIngredients() |
handleClick
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIngredients, handleClick
public AbstractShapelessRecipeWrapper(IGuiHelper guiHelper)
public void drawInfo(net.minecraft.client.Minecraft minecraft, int recipeWidth, int recipeHeight, int mouseX, int mouseY)
IRecipeWrapper
IRecipeWrapper.getTooltipStrings(int, int)
drawInfo
in interface IRecipeWrapper
drawInfo
in class BlankRecipeWrapper
mouseX
- 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)
IRecipeWrapper
getTooltipStrings
in interface IRecipeWrapper
getTooltipStrings
in class BlankRecipeWrapper
mouseX
- the X position of the mouse, relative to the recipe.mouseY
- the Y position of the mouse, relative to the recipe.protected abstract boolean hasMultipleIngredients()