Package | Description |
---|---|
com.destroystokyo.paper.event.player |
Modifier and Type | Method and Description |
---|---|
static PlayerArmorChangeEvent.SlotType |
PlayerArmorChangeEvent.SlotType.getByMaterial(Material material)
Gets the type of slot via the specified material
|
PlayerArmorChangeEvent.SlotType |
PlayerArmorChangeEvent.getSlotType()
Gets the type of slot being altered.
|
static PlayerArmorChangeEvent.SlotType |
PlayerArmorChangeEvent.SlotType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerArmorChangeEvent.SlotType[] |
PlayerArmorChangeEvent.SlotType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PlayerArmorChangeEvent(Player player,
PlayerArmorChangeEvent.SlotType slotType,
ItemStack oldItem,
ItemStack newItem) |
Copyright © 2021. All rights reserved.