public class TargetBlockInfo extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TargetBlockInfo.FluidMode |
| Constructor | Description |
|---|---|
TargetBlockInfo(Block block,
BlockFace blockFace) |
| Modifier and Type | Method | Description |
|---|---|---|
Block |
getBlock() |
Get the block that is targeted
|
BlockFace |
getBlockFace() |
Get the targeted BlockFace
|
Block |
getRelativeBlock() |
Get the relative Block to the targeted block on the side it is targeted at
|
@NotNull public Block getBlock()
@NotNull public BlockFace getBlockFace()
@NotNull public Block getRelativeBlock()
Copyright © 2020. All rights reserved.