Files
2026-03-09 16:20:07 -04:00

19 lines
418 B
Java

package noppes.npcs.api.roles;
import net.minecraft.entity.INpc;
/**
* Base interface for all NPC roles (Trader, Follower, Bank, Mailman, Transporter).
*/
public interface IRole {
/** @return the NPC this role is assigned to. */
INpc getNpc();
/**
* @return the role type ordinal.
* 0: None, 1: Trader, 2: Follower, 3: Bank, 4: Transporter, 5: Mailman.
*/
int getType();
}