EnchantmentType Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Contains information on a type of enchantment.
Properties
id
read-only id: string;
The name of the enchantment type.
Type: string
maxLevel
read-only maxLevel: number;
The maximum level this type of enchantment can have.
Type: number
Methods
constructor
new EnchantmentType(enchantmentType: string)
Parameters
- enchantmentType: string
Returns EnchantmentType
Warning
This function can throw errors.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for