| Modifier and Type | Method and Description |
|---|---|
static Hand |
Hand.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hand[] |
Hand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Hand |
ClientSettingsPacket.getMainHand() |
| Constructor and Description |
|---|
ClientSettingsPacket(String locale,
int renderDistance,
ChatVisibility chatVisibility,
boolean chatColors,
SkinPart[] visibleParts,
Hand mainHand) |
| Modifier and Type | Method and Description |
|---|---|
Hand |
ClientPlayerPlaceBlockPacket.getHand() |
Hand |
ClientPlayerUseItemPacket.getHand() |
Hand |
ClientPlayerInteractEntityPacket.getHand() |
Hand |
ClientPlayerSwingArmPacket.getHand() |
| Constructor and Description |
|---|
ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
float targetX,
float targetY,
float targetZ,
Hand hand) |
ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
Hand hand) |
ClientPlayerPlaceBlockPacket(Position position,
BlockFace face,
Hand hand,
float cursorX,
float cursorY,
float cursorZ) |
ClientPlayerSwingArmPacket(Hand hand) |
ClientPlayerUseItemPacket(Hand hand) |
Copyright © 2020. All rights reserved.