This commit is contained in:
Kam committed 2025-03-13 15:36:30 -04:00
1 parent c81e848895
commit c7a74a3e0e
59 files changed
+506 -592

No files matched your search

@@ -14,14 +14,12 @@ 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);
@@ -29,49 +27,42 @@ 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);