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

@@ -3,14 +3,24 @@ package noppes.npcs.api.event;
import cpw.mods.fml.common.eventhandler.Cancelable;
import noppes.npcs.api.handler.data.IFaction;
/**
* Events fired when a player's faction standing changes.
*/
public interface IFactionEvent extends IPlayerEvent {
/** @return the faction involved in this event. */
IFaction getFaction();
/**
* Fired when a player's faction points change. Cancelable.
* @hookName factionPoints
*/
@Cancelable
interface FactionPoints extends IFactionEvent {
/** @return true if the points decreased, false if increased. */
boolean decreased();
/** @return the amount of points changed. */
int getPoints();
}
}