public interface IWiredElement extends IWiredSender
ComputerCraftAPI.createWiredNodeForElement(IWiredElement)
. 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
IWiredElement
capability for the appropriate sides.Modifier and Type | Method and Description |
---|---|
default void |
networkChanged(IWiredNetworkChange change)
Called when objects on the network change.
|
getNode
getPosition, getSenderID, getWorld
default void networkChanged(@Nonnull IWiredNetworkChange change)
change
- The change which occurred.IWiredNetworkChange