Interface WiredSender
- All Superinterfaces:
PacketSender
- All Known Subinterfaces:
WiredElement
An object on a
WiredNetwork
capable of sending packets.
Unlike a regular PacketSender
, this must be associated with the node you are attempting to
to send the packet from.
-
Method Summary
Methods inherited from interface dan200.computercraft.api.network.PacketSender
getLevel, getPosition, getSenderID
-
Method Details
-
getNode
WiredNode getNode()The node in the network representing this object.This should be used as a proxy for the main network. One should send packets and register receivers through this object.
- Returns:
- The node for this element.
-