Expansion for MCItemDefinition

Additional methods for easier modification of item-related loot tables.

Methoden

addToolModifier

Adds an ILootModifier for everything that uses this item as a tool, such as block breaking.

Return Type: void

MCItemDefinition.addToolModifier(name as string, modifier as ILootModifier) as void
ParameterTypeBeschreibung
namestringA name for the loot modifier.
modifierILootModifierThe loot modifier to add.