| Package | Description |
|---|---|
| com.destroystokyo.paper.event.player |
| Modifier and Type | Method | Description |
|---|---|---|
static @Nullable PlayerArmorChangeEvent.SlotType |
PlayerArmorChangeEvent.SlotType.getByMaterial(@NotNull Material material) |
Gets the type of slot via the specified material
|
@NotNull 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(@NotNull Player player,
@NotNull PlayerArmorChangeEvent.SlotType slotType,
@Nullable ItemStack oldItem,
@Nullable ItemStack newItem) |
Copyright © 2020. All rights reserved.