Expansion for MCItemDefinition
Link to expansion-for-mcitemdefinition
Additional methods for easier modification of item-related loot tables.
Metodi
Link to metodi
Name: addToolModifier
Adds an ILootModifier for everything that uses this item as a tool, such as block breaking.
Return Type: void
ZenScript CopyMCItemDefinition.addToolModifier(name as string, modifier as ILootModifier) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione A name for the loot modifier. |
Parametro modifier | Tipo ILootModifier | Descrizione The loot modifier to add. |