Files
Blacksmith/src/main/java/net/knarcraft/blacksmith/event/ActionStartEvent.java
EpicKnarvik97 cdb0f267a3
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Renames an event method
2024-08-03 16:44:15 +02:00

26 lines
597 B
Java

package net.knarcraft.blacksmith.event;
import org.bukkit.Material;
/**
* An event triggered when a blacksmith or scrapper starts reforging or salvaging an item
*/
@SuppressWarnings("unused")
public interface ActionStartEvent extends BlacksmithPluginEvent {
/**
* Gets the amount of ticks this action will take
*
* @return <p>The duration in ticks</p>
*/
long getActionDurationTicks();
/**
* Gets the appropriate crafting station for this action
*
* @return <p>The appropriate crafting station</p>
*/
Material getCraftingStation();
}