Adds some events that trigger when NPC actions start or end, and when sounds are played

This commit is contained in:
2024-07-28 17:12:26 +02:00
parent 81dda85405
commit 904adf46f0
20 changed files with 571 additions and 10 deletions

@ -0,0 +1,18 @@
package net.knarcraft.blacksmith.event;
/**
* An event triggered when a blacksmith or scrapper starts reforging or salvaging an item
*/
@SuppressWarnings("unused")
public interface ActionStartEvent extends BlacksmithPluginEvent {
/**
* Gets the end time for this action
*
* <p>The end time is a millisecond time-stamp, basically the same format used by currentTimeMillis();.</p>
*
* @return <p>The end time</p>
*/
long getActionEndTime();
}