Tier
Link to tier
Importare la Classe
Link to importare-la-classe
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.
ZenScript Copyimport crafttweaker.api.item.type.tiered.Tier;
Metodi
Link to metodi
Name: getAttackDamageBonus
Return Type: float
ZenScript Copy// Tier.getAttackDamageBonus() as float
myTier.getAttackDamageBonus();
Name: getEnchantmentValue
Return Type: int
ZenScript Copy// Tier.getEnchantmentValue() as int
myTier.getEnchantmentValue();
Name: getLevel
Return Type: int
ZenScript Copy// Tier.getLevel() as int
myTier.getLevel();
Name: getRepairIngredient
Return Type: IIngredient
ZenScript Copy// Tier.getRepairIngredient() as IIngredient
myTier.getRepairIngredient();
Name: getSpeed
Return Type: float
ZenScript Copy// Tier.getSpeed() as float
myTier.getSpeed();
Name: getUses
Return Type: int
ZenScript Copy// Tier.getUses() as int
myTier.getUses();
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome attackDamageBonus | Tipo float | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome enchantmentValue | Tipo int | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome level | Tipo int | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome repairIngredient | Tipo IIngredient | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome speec | Tipo float | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |
Nome uses | Tipo int | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |