📜  如何向小怪插件添加附魔 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:19.251000             🧑  作者: Mango

代码示例1
zombie.getEquipment().setItemInHand(new ItemStack(Material.STICK, 1).addEnchantment(Enchantment.DAMAGE_ALL, 5));