mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 02:55:27 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -14,12 +14,14 @@ public interface IItemCustom extends IItemCustomizable {
|
||||
|
||||
/**
|
||||
* Sets the armor type for the scripted item.
|
||||
*
|
||||
* @param armorType The armor type
|
||||
*/
|
||||
void setArmorType(int armorType);
|
||||
|
||||
/**
|
||||
* Sets whether the scripted item is a tool.
|
||||
*
|
||||
* @param isTool True if the item is a tool, false otherwise
|
||||
*/
|
||||
void setIsTool(boolean isTool);
|
||||
@@ -27,42 +29,49 @@ public interface IItemCustom extends IItemCustomizable {
|
||||
/**
|
||||
* Sets whether the scripted item is a normal item. Will disable
|
||||
* all forms of Rotation, Translation, Scale Rendering in hand and on ground
|
||||
*
|
||||
* @param normalItem True if the item is a normal item, false otherwise
|
||||
*/
|
||||
void setIsNormalItem(boolean normalItem);
|
||||
|
||||
/**
|
||||
* Sets the dig speed for the scripted item.
|
||||
*
|
||||
* @param digSpeed The dig speed
|
||||
*/
|
||||
void setDigSpeed(int digSpeed);
|
||||
|
||||
/**
|
||||
* Sets the maximum stack size for the scripted item.
|
||||
*
|
||||
* @param maxStackSize The maximum stack size
|
||||
*/
|
||||
void setMaxStackSize(int maxStackSize);
|
||||
|
||||
/**
|
||||
* Sets the current durability value for the scripted item.
|
||||
*
|
||||
* @param durabilityValue The durability value
|
||||
*/
|
||||
void setDurabilityValue(float durabilityValue);
|
||||
|
||||
/**
|
||||
* Sets the maximum item use duration for the scripted item.
|
||||
*
|
||||
* @param duration The maximum item use duration
|
||||
*/
|
||||
void setMaxItemUseDuration(int duration);
|
||||
|
||||
/**
|
||||
* Sets the item use action for the scripted item.
|
||||
*
|
||||
* @param action The item use action
|
||||
*/
|
||||
void setItemUseAction(int action);
|
||||
|
||||
/**
|
||||
* Sets the enchantability for the scripted item.
|
||||
*
|
||||
* @param enchantability The enchantability
|
||||
*/
|
||||
void setEnchantability(int enchantability);
|
||||
|
||||
Reference in new issue
Block a user