mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 20:44:44 +00:00
RightClick Event for Scripted Items
This commit is contained in:
1 parent
d497bb7045
commit
806bcf4c91
1 file changed
+9
@@ -41,6 +41,15 @@ public interface IItemEvent extends ICustomNPCsEvent {
|
||||
IPlayer getPlayer();
|
||||
}
|
||||
|
||||
@Cancelable
|
||||
interface RightClickEvent extends IItemEvent {
|
||||
int getType();
|
||||
|
||||
Object getTarget();
|
||||
|
||||
IPlayer getPlayer();
|
||||
}
|
||||
|
||||
@Cancelable
|
||||
interface AttackEvent extends IItemEvent {
|
||||
int getType();
|
||||
|
||||
Reference in new issue
Block a user