Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CustomEnchant

Module to create custom enchantments. Available starting from InnerCore 2.2.1b105

Index

Functions

  • Registers new custom enchantment from given name id and displayed name

    Parameters

    • nameID: string

      internal string id of the enchantment

    • displayedName: string

      enchantment name that will be displayed in the tooltips of the items having this enchant. Use Translation module to make localization of the displayed name

    Returns EnchantSetupInterface

    object to work with different enchantment behaviors

Generated using TypeDoc