Large Cleanup to Code Imports and Formatting

This commit is contained in:
Kam committed 2026-01-22 23:07:36 -05:00
1 parent 64fe8794e7
commit a6b4a131c8
65 files changed
+606 -409

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,36 +29,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);
@@ -64,12 +72,14 @@ public interface IItemCustom extends IItemCustomizable {
/**
* Sets the attack speed for the scripted item.
* Speed is the max resistantance time between two attacks in ticks.
*
* @param speed The attack speed
*/
void setAttackSpeed(int speed);
/**
* Sets the enchantability for the scripted item.
*
* @param enchantability The enchantability
*/
void setEnchantability(int enchantability);