public interface IGuiItemStackGroup extends IGuiIngredientGroup<net.minecraft.item.ItemStack>
IRecipeLayout.getItemStacks().| Modifier and Type | Method and Description |
|---|---|
void |
addTooltipCallback(ITooltipCallback<net.minecraft.item.ItemStack> tooltipCallback)
Add a callback to alter the tooltip for these ingredients.
|
void |
init(int slotIndex,
boolean input,
int xPosition,
int yPosition)
Initialize the itemStack at slotIndex.
|
void |
set(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Set the ingredient at slotIndex to a specific ingredient.
|
getGuiIngredients, init, set, set, setBackground, setOverrideDisplayFocusvoid init(int slotIndex,
boolean input,
int xPosition,
int yPosition)
IGuiIngredientGroup.init(int, boolean, IIngredientRenderer, int, int, int, int, int, int) with padding set to 0.init in interface IGuiIngredientGroup<net.minecraft.item.ItemStack>slotIndex - the slot index of this itemStackinput - whether this slot is an input. Used for the recipe-fill feature.xPosition - x position of the slot relative to the recipe backgroundyPosition - y position of the slot relative to the recipe backgroundinit(int, boolean, int, int),
IGuiFluidStackGroup.init(int, boolean, int, int, int, int, int, boolean, IDrawable)void set(int slotIndex,
@Nullable
net.minecraft.item.ItemStack itemStack)
IGuiIngredientGroupset in interface IGuiIngredientGroup<net.minecraft.item.ItemStack>void addTooltipCallback(ITooltipCallback<net.minecraft.item.ItemStack> tooltipCallback)
IGuiIngredientGroupaddTooltipCallback in interface IGuiIngredientGroup<net.minecraft.item.ItemStack>