Interface WiredElement
- All Superinterfaces:
 PacketSender,WiredSender
An object which may be part of a wired network.
 
 Elements should construct a node using ComputerCraftAPI.createWiredNodeForElement(WiredElement). This acts
 as a proxy for all network objects. Whilst the node may change networks, an element's node should remain constant
 for its lifespan.
 
 Elements are generally tied to a block or tile entity in world. In such as case, one should provide the
 WiredElement capability for the appropriate sides.
- 
Method Summary
Modifier and TypeMethodDescriptiondefault voidnetworkChanged(WiredNetworkChange change) Called when objects on the network change.Methods inherited from interface dan200.computercraft.api.network.PacketSender
getLevel, getPosition, getSenderIDMethods inherited from interface dan200.computercraft.api.network.wired.WiredSender
getNode 
- 
Method Details
- 
networkChanged
Called when objects on the network change. This may occur when network nodes are added or removed, or when peripherals change.- Parameters:
 change- The change which occurred.- See Also:
 
 
 -