Package | Description |
---|---|
com.destroystokyo.paper | |
com.destroystokyo.paper.event.player | |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player | |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Field | Description |
---|---|---|
static ClientOption<MainHand> |
ClientOption.MAIN_HAND |
Modifier and Type | Method | Description |
---|---|---|
@NotNull MainHand |
PlayerClientOptionsChangeEvent.getMainHand() |
Constructor | Description |
---|---|
PlayerClientOptionsChangeEvent(@NotNull Player player,
@NotNull String locale,
int viewDistance,
@NotNull ClientOption.ChatVisibility chatVisibility,
boolean chatColors,
@NotNull SkinParts skinParts,
@NotNull MainHand mainHand) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull MainHand |
HumanEntity.getMainHand() |
Gets the player's selected main hand
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull MainHand |
PlayerChangedMainHandEvent.getMainHand() |
Gets the new main hand of the player.
|
Constructor | Description |
---|---|
PlayerChangedMainHandEvent(@NotNull Player who,
@NotNull MainHand mainHand) |
Modifier and Type | Method | Description |
---|---|---|
static MainHand |
MainHand.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MainHand[] |
MainHand.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020. All rights reserved.