@FunctionalInterface
public static interface WItemSlot.ChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onStackChanged(WItemSlot slot,
net.minecraft.inventory.Inventory inventory,
int index,
net.minecraft.item.ItemStack stack)
Handles a changed item stack in an item slot.
|
void onStackChanged(WItemSlot slot, net.minecraft.inventory.Inventory inventory, int index, net.minecraft.item.ItemStack stack)
slot - the item slot widgetinventory - the item inventory of the slotindex - the index of the slot in the inventorystack - the changed item stack