枚举的使用
org.bukkit.entity.ArmorStand.LockType
-
org.bukkit.entity中ArmorStand.LockType的使用
修饰符和类型方法说明static ArmorStand.LockType
返回带有指定名称的该类型的枚举常量。static ArmorStand.LockType[]
ArmorStand.LockType.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明void
ArmorStand.addEquipmentLock
(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) Locks the equipment slot with the specifiedlocking mechanism
.boolean
ArmorStand.hasEquipmentLock
(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) Returns if the ArmorStand has the specifiedlocking mechanism
.void
ArmorStand.removeEquipmentLock
(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) Remove alocking mechanism
.