IItemTier
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Methods
Gets this tier’s attack damage.
Returns: This tier’s attack damage.
Return Type: float
Gets this tier’s efficiency.
Returns: This tier’s efficiency.
Return Type: float
Gets this tier’s enchantability.
Returns: This tier’s enchantability.
Return Type: int
Gets this tier’s harvest level.
Returns: This tier’s harvest level.
Return Type: int
Gets this tier’s max uses.
Returns: This tier’s max uses.
Return Type: int
Gets this tier’s repair material.
Returns: This tier’s repair material.
Return Type: Ingredient
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name attackDamage | Type float | Has Getter true | Has Setter false | Description Gets this tier’s attack damage. |
Name efficiency | Type float | Has Getter true | Has Setter false | Description Gets this tier’s efficiency. |
Name enchantability | Type int | Has Getter true | Has Setter false | Description Gets this tier’s enchantability. |
Name harvestLevel | Type int | Has Getter true | Has Setter false | Description Gets this tier’s harvest level. |
Name maxUses | Type int | Has Getter true | Has Setter false | Description Gets this tier’s max uses. |
Name repairMaterial | Type Ingredient | Has Getter true | Has Setter false | Description Gets this tier’s repair material. |