| Package | Description |
|---|---|
| com.nukkitx.api.entity.component | |
| com.nukkitx.api.event.player | |
| com.nukkitx.api.metadata.block | |
| com.nukkitx.api.metadata.data | |
| com.nukkitx.api.util.data |
| Modifier and Type | Method and Description |
|---|---|
BlockFace |
Hangable.getDirection() |
| Modifier and Type | Method and Description |
|---|---|
void |
Hangable.setDirection(BlockFace direction) |
| Modifier and Type | Method and Description |
|---|---|
BlockFace |
PlayerInteractEvent.getBlockFace() |
| Constructor and Description |
|---|
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
ItemInstance bucket,
ItemInstance itemInHand) |
PlayerBucketFillEvent(Player who,
Block blockClicked,
BlockFace blockFace,
ItemInstance bucket,
ItemInstance itemInHand) |
PlayerInteractEvent(Player player,
ItemInstance item,
Block block,
com.flowpowered.math.vector.Vector3f touch,
BlockFace face) |
PlayerInteractEvent(Player player,
ItemInstance item,
Block block,
com.flowpowered.math.vector.Vector3f touch,
BlockFace face,
PlayerInteractEvent.Action action) |
| Modifier and Type | Method and Description |
|---|---|
BlockFace |
Directional.getFace() |
| Modifier and Type | Method and Description |
|---|---|
static Directional |
Directional.of(BlockFace face) |
static PistonHead |
PistonHead.of(BlockFace face,
boolean sticky) |
static Piston |
Piston.of(BlockFace face,
boolean extended) |
static DirectionalPowerable |
DirectionalPowerable.of(BlockFace face,
boolean powered) |
| Modifier and Type | Method and Description |
|---|---|
BlockFace |
SimpleDirection.toBlockFace() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleDirection |
SimpleDirection.fromBlockFace(BlockFace face) |
| Modifier and Type | Method and Description |
|---|---|
static BlockFace |
BlockFace.getFace(int face) |
BlockFace |
BlockFace.getOpposite() |
static BlockFace |
BlockFace.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockFace[] |
BlockFace.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017–2019 NukkitX. All rights reserved.