mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 01:45:08 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user