#add a enchanted item

1 messages · Page 1 of 1 (latest)

pale cape
#

hi

trim ingot
#

hi this is a post

#
                let enchantments;
                const item = new ItemStack(MinecraftItemTypes.items, 1, 0)
                enchantments = item.getComponent('enchantments').enchantments;
                enchantments.addEnchantment(new Enchantment(MinecraftEnchantmentTypes.binding, 1));
                item.getComponent('enchantments').enchantments = enchantments;
                inv.addItem(item);
#

try this

pale cape
#

no

trim ingot
#

no

#

wair

#

wait

pale cape
#

in the new update there's no item data