Adds the lore container to the callback

This commit is contained in:
zontreck 2024-01-14 19:51:47 -07:00
parent 2e0dce868b
commit a4f66468ee
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,6 @@
package dev.zontreck.libzontreck.chestgui;
import dev.zontreck.libzontreck.lore.LoreContainer;
import net.minecraft.world.item.ItemStack;
import net.minecraftforge.items.ItemStackHandler;
@ -13,6 +14,7 @@ public interface IChestGUIButtonCallback
* A callback function that when invoked will pass the ChestGUI ItemStack
* @param stack A temporary itemstack that is used for the ChestGUI
* @param container The container object for manipulating other items when this is invoked
* @param lore The lore's container instance
*/
void run(ItemStack stack, ItemStackHandler container);
void run(ItemStack stack, ItemStackHandler container, LoreContainer lore);
}