All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
39 lines
712 B
Java
39 lines
712 B
Java
package net.knarcraft.blacksmith.event;
|
|
|
|
import net.citizensnpcs.api.npc.NPC;
|
|
import org.bukkit.entity.Entity;
|
|
import org.bukkit.entity.Player;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
* An event triggered by the Blacksmith plugin
|
|
*/
|
|
@SuppressWarnings("unused")
|
|
public interface BlacksmithPluginEvent {
|
|
|
|
/**
|
|
* Gets the NPC involved in the event
|
|
*
|
|
* @return <p>The NPC</p>
|
|
*/
|
|
@NotNull
|
|
NPC getNpc();
|
|
|
|
/**
|
|
* Gets the entity of the NPC
|
|
*
|
|
* @return <p>The NPC entity</p>
|
|
*/
|
|
@NotNull
|
|
Entity getEntity();
|
|
|
|
/**
|
|
* Gets the player involved in the event
|
|
*
|
|
* @return <p>The player</p>
|
|
*/
|
|
@NotNull
|
|
Player getPlayer();
|
|
|
|
}
|