Home Commands Examples Getting Started With Scripts Global Keywords
Generic JSON Recipes

Expansion for TierFactory

Methods

Return Type: TierReference

script.zs
TierFactory.of(name as string, level as int, uses as int, speed as float, attackDamageBonus as float, enchantmentValue as int, repairItem as ItemReference) as TierReference
ParameterType
Parameter
name
Type
string
Parameter
level
Type
int
Parameter
uses
Type
int
Parameter
speed
Type
float
Parameter
attackDamageBonus
Type
float
Parameter
enchantmentValue
Type
int
Parameter
repairItem
Type
ItemReference