@FunctionalInterface public interface Execution
MenuIcon| Modifier and Type | Method and Description |
|---|---|
void |
onExec(Player p,
InventoryInterface ii,
MenuIcon icon)
Called when a
MenuIcon is clicked |
void onExec(Player p, InventoryInterface ii, MenuIcon icon)
MenuIcon is clickedp - The Player who clicked the iconii - The InventoryInterface this icon belongs toicon - The MenuIcon that was clickedCopyright © 2015. All rights reserved.