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