mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 19:15:13 +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,15 +1,26 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
/**
|
||||
* Quest objective interface for item-collection quests.
|
||||
* Configures whether items are consumed on turn-in and matching criteria.
|
||||
*/
|
||||
public interface IQuestItem extends IQuestInterface {
|
||||
|
||||
/** @param leaveItems true to leave items in the player's inventory on turn-in. */
|
||||
void setLeaveItems(boolean leaveItems);
|
||||
|
||||
/** @return true if items remain in the player's inventory on turn-in. */
|
||||
boolean getLeaveItems();
|
||||
|
||||
/** @param ignoreDamage true to ignore item damage when matching. */
|
||||
void setIgnoreDamage(boolean ignoreDamage);
|
||||
|
||||
/** @return true if item damage is ignored when matching. */
|
||||
boolean getIgnoreDamage();
|
||||
|
||||
/** @param ignoreNbt true to ignore NBT data when matching. */
|
||||
void setIgnoreNbt(boolean ignoreNbt);
|
||||
|
||||
/** @return true if NBT data is ignored when matching. */
|
||||
boolean getIgnoreNbt();
|
||||
}
|
||||
Reference in new issue
Block a user