Package org.bukkit.block.data.type
Interface RedstoneWire
- All Superinterfaces:
- AnaloguePowerable,- BlockData,- Cloneable
'north', 'east', 'south', 'west' represent the types of connections this
 redstone wire has to adjacent blocks.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumThe way in which a redstone wire can connect to an adjacent block face.
- 
Method SummaryModifier and TypeMethodDescriptionGets all of this faces which may be set on this block.Checks the type of connection on the specified face.voidsetFace(BlockFace face, RedstoneWire.Connection connection) Sets the type of connection on the specified face.Methods inherited from interface org.bukkit.block.data.AnaloguePowerablegetMaximumPower, getPower, setPowerMethods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
- 
Method Details- 
getFaceChecks the type of connection on the specified face.- Parameters:
- face- to check
- Returns:
- connection type
 
- 
setFaceSets the type of connection on the specified face.- Parameters:
- face- to set
- connection- the connection type
 
- 
getAllowedFacesGets all of this faces which may be set on this block.- Returns:
- all allowed faces
 
 
-