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