AnaloguePowerable, BlockData, 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 | 
|---|---|---|
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, getAsString, getMaterial, matches, merge@NotNull RedstoneWire.Connection getFace(@NotNull BlockFace face)
face - to checkvoid setFace(@NotNull
             BlockFace face,
             @NotNull
             RedstoneWire.Connection connection)
face - to setconnection - the connection typeCopyright © 2019. All rights reserved.