Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EternalTD
/
com.magmaguy.eternaltd.npc
/
NPCEntity
/
NPCEntityListener
NPCEntity
Listener
public
class
NPCEntityListener
implements
Listener
Members
Constructors
NPCEntity.
NPCEntity
Listener
Link copied to clipboard
public
void
NPCEntity.NPCEntityListener
(
)
Properties
player
Menus
Link copied to clipboard
public
static
HashMap
<
UUID
,
NPCEntity
>
playerMenus
Functions
close
Menu
Event
Link copied to clipboard
public
void
closeMenuEvent
(
InventoryCloseEvent
event
)
drag
In
Menu
Event
Link copied to clipboard
public
void
dragInMenuEvent
(
InventoryDragEvent
event
)
interact
With
Menu
Event
Link copied to clipboard
public
void
interactWithMenuEvent
(
InventoryClickEvent
event
)
interact
With
NPCEvent
Link copied to clipboard
public
void
interactWithNPCEvent
(
PlayerInteractAtEntityEvent
event
)
on
NPCEntity
Hit
Link copied to clipboard
public
void
onNPCEntityHit
(
EntityDamageEvent
event
)
player
Quit
Event
Link copied to clipboard
public
void
playerQuitEvent
(
PlayerQuitEvent
event
)