Expansion for TierFactory
Methods
Return Type: TierReference
TierFactory.of(name as string, level as int, uses as int, speed as float, attackDamageBonus as float, enchantmentValue as int, tag as ResourceLocation, repairItem as ItemReference, lowerTiers as TierSortingStruct[], higherTiers as TierSortingStruct[]) as TierReference
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter name | Type string | Optional false | Default Value |
Parameter level | Type int | Optional false | Default Value |
Parameter uses | Type int | Optional false | Default Value |
Parameter speed | Type float | Optional false | Default Value |
Parameter attackDamageBonus | Type float | Optional false | Default Value |
Parameter enchantmentValue | Type int | Optional false | Default Value |
Parameter tag | Type ResourceLocation | Optional false | Default Value |
Parameter repairItem | Type ItemReference | Optional false | Default Value |
Parameter lowerTiers | Type TierSortingStruct[] | Optional true | Default Value [] as contenttweaker._rt.vanilla.TierSortingStruct[] |
Parameter higherTiers | Type TierSortingStruct[] | Optional true | Default Value [] as contenttweaker._rt.vanilla.TierSortingStruct[] |