AnaloguePowerable, BlockData, java.lang.Cloneablepublic interface RedstoneWire extends AnaloguePowerable
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
RedstoneWire.Connection |
The way in which a redstone wire can connect to an adjacent block face.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<BlockFace> |
getAllowedFaces() |
Gets all of this faces which may be set on this block.
|
RedstoneWire.Connection |
getFace(BlockFace face) |
Checks the type of connection on the specified face.
|
void |
setFace(BlockFace face,
RedstoneWire.Connection connection) |
Sets the type of connection on the specified face.
|
getMaximumPower, getPower, setPowerclone, getAsString, getMaterial, matches, mergeRedstoneWire.Connection getFace(BlockFace face)
face - to checkvoid setFace(BlockFace face, RedstoneWire.Connection connection)
face - to setconnection - the connection typejava.util.Set<BlockFace> getAllowedFaces()
Copyright © 2018. All rights reserved.