mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 05:45:09 +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
@@ -4,25 +4,34 @@ import cpw.mods.fml.common.eventhandler.Event;
|
||||
import noppes.npcs.api.IWorld;
|
||||
import noppes.npcs.api.entity.IEntity;
|
||||
|
||||
/**
|
||||
* Wrapper events for Forge events, allowing scripts to listen for native Forge events.
|
||||
*/
|
||||
public interface IForgeEvent extends ICustomNPCsEvent {
|
||||
|
||||
/** @return the underlying Forge event. */
|
||||
Event getEvent();
|
||||
|
||||
/**
|
||||
* Fired for Forge world events.
|
||||
* @hookName forgeWorld
|
||||
*/
|
||||
interface WorldEvent extends IForgeEvent {
|
||||
/** @return the world associated with this event. */
|
||||
IWorld getWorld();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired for Forge entity events.
|
||||
* @hookName forgeEntity
|
||||
*/
|
||||
interface EntityEvent extends IForgeEvent {
|
||||
/** @return the entity associated with this event. */
|
||||
IEntity getEntity();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired during Forge initialization.
|
||||
* @hookName forgeInit
|
||||
*/
|
||||
interface InitEvent extends IForgeEvent {
|
||||
|
||||
Reference in new issue
Block a user