Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.osroyale.content.event.impl;
- import com.osroyale.content.event.InteractionEvent;
- import com.osroyale.game.world.items.Item;
- public class ItemOnItemInteractionEvent extends InteractionEvent {
- private final Item first, second;
- private final int firstSlot, secondSlot;
- public ItemOnItemInteractionEvent(Item first, Item second, int firstSlot, int secondSlot) {
- super(InteractionType.ITEM_ON_ITEM);
- this.first = first;
- this.second = second;
- this.firstSlot = firstSlot;
- this.secondSlot = secondSlot;
- }
- public Item getFirst() {
- return first;
- }
- public int getFirstSlot() {
- return firstSlot;
- }
- public Item getSecond() {
- return second;
- }
- public int getSecondSlot() {
- return secondSlot;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement