li.cil.oc.api.network
public interface WirelessEndpoint
Network.updateWirelessNetwork(WirelessEndpoint).| Modifier and Type | Method and Description |
|---|---|
void |
receivePacket(Packet packet,
double distance)
Makes the endpoint receive a single packet.
|
net.minecraft.world.World |
world()
The world this endpoint lives in.
|
int |
x()
The X coordinate of the endpoint in the world, in block coordinates.
|
int |
y()
The Y coordinate of the endpoint in the world, in block coordinates.
|
int |
z()
The Z coordinate of the endpoint in the world, in block coordinates.
|
int x()
int y()
int z()
net.minecraft.world.World world()
void receivePacket(Packet packet, double distance)
packet - the packet to receive.distance - the distance to the wireless endpoint that sent the packet.