Uses of Enum Class
com.destroystokyo.paper.event.player.PlayerArmorChangeEvent.SlotType
-
Uses of PlayerArmorChangeEvent.SlotType in com.destroystokyo.paper.event.player
Modifier and TypeMethodDescriptionPlayerArmorChangeEvent.SlotType.getByMaterial
(@NotNull Material material) Gets the type of slot via the specified materialPlayerArmorChangeEvent.getSlotType()
Gets the type of slot being altered.Returns the enum constant of this class with the specified name.static PlayerArmorChangeEvent.SlotType[]
PlayerArmorChangeEvent.SlotType.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerArmorChangeEvent
(@NotNull Player player, @NotNull PlayerArmorChangeEvent.SlotType slotType, @NotNull ItemStack oldItem, @NotNull ItemStack newItem)