| Package | Description |
|---|---|
| com.destroystokyo.paper.event.player |
| Modifier and Type | Method | 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 | Description |
|---|---|
PlayerArmorChangeEvent(Player player,
PlayerArmorChangeEvent.SlotType slotType,
ItemStack oldItem,
ItemStack newItem) |
Copyright © 2020. All rights reserved.