broken-arrow

Untitled

Nov 27th, 2021
887
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package org.brokenarrow.storage.menus.redone;
  2.  
  3. import org.bukkit.entity.Player;
  4. import org.bukkit.event.inventory.ClickType;
  5. import org.bukkit.inventory.Inventory;
  6. import org.bukkit.inventory.ItemStack;
  7.  
  8. public abstract class MenuButton {
  9.  
  10.     public abstract void onClickInsideMenu(Player player, Inventory menu, ClickType click, ItemStack clickedItem, Object object);
  11.  
  12.     public abstract ItemStack getItem();
  13.  
  14.     public ItemStack getItem(Object object) {
  15.         return null;
  16.     }
  17. }
RAW Paste Data