枚举的使用
org.bukkit.entity.ArmorStand.LockType
使用ArmorStand.LockType的程序包
-
org.bukkit.entity中ArmorStand.LockType的使用
修饰符和类型方法说明static ArmorStand.LockType返回带有指定名称的该类型的枚举常量。static ArmorStand.LockType[]ArmorStand.LockType.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为ArmorStand.LockType的org.bukkit.entity中的方法修饰符和类型方法说明voidArmorStand.addEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) 使用指定的锁定机制锁定装备槽位.booleanArmorStand.hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) 返回此盔甲架是否具有指定的锁定机制.voidArmorStand.removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) 移除锁定机制.