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 Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe way in which a redstone wire can connect to an adjacent block face. -
Method Summary
Modifier and TypeMethodDescriptionGets all of this faces which may be set on this block.Checks the type of connection on the specified face.voidsetFace(@NotNull BlockFace face, @NotNull RedstoneWire.Connection connection) Sets the type of connection on the specified face.Methods inherited from interface AnaloguePowerable
getMaximumPower, getPower, setPowerMethods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
getFace
-
setFace
-
getAllowedFaces
-