30public class ItemOnItemInteractionEvent
extends InteractionEvent {
32 private final Item first, second;
33 private final int firstSlot, secondSlot;
35 public ItemOnItemInteractionEvent(Item first, Item second,
int firstSlot,
int secondSlot) {
36 super(InteractionType.ITEM_ON_ITEM);
39 this.firstSlot = firstSlot;
40 this.secondSlot = secondSlot;
43 public Item getFirst() {
47 public int getFirstSlot() {
51 public Item getSecond() {
55 public int getSecondSlot() {