48 public static HashMap<Integer, ItemAction>
ACTIONS =
new HashMap<>();
106 public static boolean itemOnItem(
Player player, Item first, Item second) {
108 return action !=
null && action.itemOnItem(player, first, second);
111 public static boolean inventory(
Player player, Item item,
int opcode) {
113 return action !=
null && action.
inventory(player, item, opcode);
116 public static boolean equipment(
Player player, Item item,
int opcode) {
118 return action !=
null && action.equipment(player, item, opcode);
121 public static boolean drop(
Player player, Item item) {
123 return action !=
null && action.drop(player, item);
boolean inventory(Player player, Item item, int opcode)
static HashMap< Integer, ItemAction > ACTIONS