Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
Modifier and Type | Method and Description |
---|---|
MainHand |
HumanEntity.getMainHand()
Gets the players selected main hand
|
Modifier and Type | Method and 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 © 2016. All rights reserved.