跳转至

/enchant

文档版本:1.21.0.24

/enchant命令command.enchant.description

执行条件

该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。

用法

/enchant <player:target> <enchantmentName:Enchant> [level:int]

command.enchant.1.description

playertarget
基本类型。command.enchant.player.description
enchantmentNameEnchant
枚举类型。command.enum.enchant.description枚举值如下:
描述
protection command.enum.enchant.protection
fire_protection command.enum.enchant.fire_protection
feather_falling command.enum.enchant.feather_falling
blast_protection command.enum.enchant.blast_protection
projectile_protection command.enum.enchant.projectile_protection
thorns command.enum.enchant.thorns
respiration command.enum.enchant.respiration
depth_strider command.enum.enchant.depth_strider
aqua_affinity command.enum.enchant.aqua_affinity
sharpness command.enum.enchant.sharpness
smite command.enum.enchant.smite
bane_of_arthropods command.enum.enchant.bane_of_arthropods
knockback command.enum.enchant.knockback
fire_aspect command.enum.enchant.fire_aspect
looting command.enum.enchant.looting
efficiency command.enum.enchant.efficiency
silk_touch command.enum.enchant.silk_touch
unbreaking command.enum.enchant.unbreaking
fortune command.enum.enchant.fortune
power command.enum.enchant.power
punch command.enum.enchant.punch
flame command.enum.enchant.flame
infinity command.enum.enchant.infinity
luck_of_the_sea command.enum.enchant.luck_of_the_sea
lure command.enum.enchant.lure
frost_walker command.enum.enchant.frost_walker
mending command.enum.enchant.mending
binding command.enum.enchant.binding
vanishing command.enum.enchant.vanishing
impaling command.enum.enchant.impaling
riptide command.enum.enchant.riptide
loyalty command.enum.enchant.loyalty
channeling command.enum.enchant.channeling
multishot command.enum.enchant.multishot
piercing command.enum.enchant.piercing
quick_charge command.enum.enchant.quick_charge
soul_speed command.enum.enchant.soul_speed
swift_sneak command.enum.enchant.swift_sneak
wind_burst command.enum.enchant.wind_burst
density command.enum.enchant.density
breach command.enum.enchant.breach
levelint
基本类型,可选。command.enchant.level.description
/enchant <player:target> <enchantmentId:int> [level:int]

command.enchant.2.description

playertarget
基本类型。command.enchant.player.description
enchantmentIdint
基本类型。command.enchant.enchantmentId.description
levelint
基本类型,可选。command.enchant.level.description