Package noppes.npcs.api.event
package noppes.npcs.api.event
-
ClassDescriptionbrokenclickedcollidedoorTogglefallenUponexplodedharvestedinitinteractneighborChangedrainFilledredstonetimertickcustomGuiButtoncustomGuiClosedcustomGuiScrollcustomGuiSlotClickedcustomGuiSlotdialogClosedialogdialogOptionCalled for most Forge events.This event is used for every forge event which extends EntityEvent
EventyEvent
LivingEvent
PlayerEventinit
The init event has no forge eventThis event is used for every forge event which extends WorldEvent
WorldEventattack
Will trigger if you have an item and left click into the air or left click a block or left click an entityinitinteract
Will trigger if you have an item and right click into the air Or right click a block Or right click an entitypickedUp
When Cancelled it prevents the item from spawning in the level, the item still disappears from the inventoryspawntoss
When Cancelled it prevents the item from spawning in the level, the item still disappears from the inventorytick
When the item is in an inventory this will be called every 10 ticks (0.5 seconds)collidedamageddiedinitinteractkillmeleeAttackrangedAttacktargettargetLosttimertickattack
Will trigger if you have an item and left click into the air or left click a block or left click an entitybrokenchatcontainerClosedcontainerOpendamagedEntitydamageddiedfactionUpdate
Called when a players faction points changeinitinteract
Will trigger if you have an item and right click into the air Or right click a block Or right click an entitykeyPressed
Called when a player presses a button.keyReleased
Called when a player releases a button.killlevelUp
Called when a players level changesloginlogoutpickedUpplaySoundrangedLaunchedtimertosstickprojectileImpactprojectileTick