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() |
handleClickclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIngredients, handleClickpublic AbstractShapelessRecipeWrapper(IGuiHelper guiHelper)
public void drawInfo(net.minecraft.client.Minecraft minecraft,
int recipeWidth,
int recipeHeight,
int mouseX,
int mouseY)
IRecipeWrapperIRecipeWrapper.getTooltipStrings(int, int)drawInfo 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.for a simple class for drawing things.,
for useful functions.@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.protected abstract boolean hasMultipleIngredients()