A lot of GOOD API DOCUMENTATION

This commit is contained in:
Kam committed 2026-03-09 16:20:07 -04:00
1 parent a6c55ca331
commit 319e774518
131 files changed
+3363 -175

No files matched your search

+8
View File
@@ -2,9 +2,17 @@ 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();
}