I would like to request an official Custom Enchantment Registry API for Minecraft Bedrock Edition.
Currently, add-on developers have limited capabilities when creating custom enchantments. Most custom enchantment systems rely on workarounds such as item lore, dynamic properties, scoreboards, or custom item components.
These approaches do not provide the same functionality, compatibility, or integration as Minecraft's native enchantment system.
An official registry would allow developers to register, manage, retrieve, and apply custom enchantments through the Script API. example like this:
import { EnchantmentRegistry } from "@minecraft/server";
EnchantmentRegistry.register({
id: "example:lifesteal",
displayName: "Lifesteal",
maxLevel: 3,
supportedItems: [
"minecraft:sword",
"minecraft:axe"
],
weight: 5,
minCost: 10,
maxCost: 30,
treasureOnly: false,
curse: false,
conflicts: [
"minecraft:sharpness"
]
});
0 Comments
Please sign in to leave a comment.
Post a new comment: