Namespace CustomEnchant

Module to create custom enchantments.

2.2.1b105

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.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.