mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-19 21:09:46 +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
@@ -1,18 +1,24 @@
|
||||
package noppes.npcs.api.event;
|
||||
|
||||
/**
|
||||
* Events fired for linked items when their version changes or when they are being built.
|
||||
*/
|
||||
public interface ILinkedItemEvent extends IItemEvent {
|
||||
|
||||
/**
|
||||
* Fired when the linked item's version changes.
|
||||
* @hookName versionChanged
|
||||
*/
|
||||
interface VersionChangeEvent extends IItemEvent {
|
||||
|
||||
/** @return the new version number. */
|
||||
int getVersion();
|
||||
|
||||
/** @return the previous version number. */
|
||||
int getPreviousVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired when the linked item is being built/constructed.
|
||||
* @hookName buildingItem
|
||||
*/
|
||||
interface BuildEvent extends IItemEvent {
|
||||
|
||||
Reference in new issue
Block a user