RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemOnNpcEvent.java
1package com.osroyale.game.event.impl;
2
3import com.osroyale.game.event.Event;
4import com.osroyale.game.world.entity.mob.npc.Npc;
5import com.osroyale.game.world.items.Item;
6
31
32public class ItemOnNpcEvent implements Event {
33
34 private final Npc npc;
35 private final Item used;
36 private final int slot;
37
38 public ItemOnNpcEvent(Npc npc, Item used, int slot) {
39 this.npc = npc;
40 this.used = used;
41 this.slot = slot;
42 }
43
44 public Npc getNpc() {
45 return npc;
46 }
47
48 public Item getUsed() {
49 return used;
50 }
51
52 public int getSlot() {
53 return slot;
54 }
55
56}