| Constructor and Description |
|---|
CCLNetworkImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onReceiveClient(codechicken.lib.packet.PacketCustom packetRepresent,
java.lang.String channel) |
void |
onReceiveServer(codechicken.lib.packet.PacketCustom packetRepresent,
net.minecraft.entity.player.EntityPlayerMP player,
java.lang.String channel) |
void |
registerChannel(java.lang.String channel) |
void |
sendPacketToAllAround(ServerToClientPacket serverToClientPacket,
net.minecraft.world.World world,
double x,
double y,
double z,
double range) |
void |
sendToChunk(ServerToClientPacket serverToClientPacket,
net.minecraft.world.World world,
int chunkX,
int chunkZ) |
void |
sendToClients(ServerToClientPacket serverToClientPacket) |
void |
sendToDimension(ServerToClientPacket serverToClientPacket,
net.minecraft.world.World world) |
void |
sendToPlayer(ServerToClientPacket serverToClientPacket,
net.minecraft.entity.player.EntityPlayerMP player) |
void |
sendToServer(ClientToServerPacket packet) |
public void sendToPlayer(ServerToClientPacket serverToClientPacket, net.minecraft.entity.player.EntityPlayerMP player)
sendToPlayer in interface Network<codechicken.lib.packet.PacketCustom>public void sendToClients(ServerToClientPacket serverToClientPacket)
sendToClients in interface Network<codechicken.lib.packet.PacketCustom>public void sendPacketToAllAround(ServerToClientPacket serverToClientPacket, net.minecraft.world.World world, double x, double y, double z, double range)
sendPacketToAllAround in interface Network<codechicken.lib.packet.PacketCustom>public void sendToDimension(ServerToClientPacket serverToClientPacket, net.minecraft.world.World world)
sendToDimension in interface Network<codechicken.lib.packet.PacketCustom>public void sendToChunk(ServerToClientPacket serverToClientPacket, net.minecraft.world.World world, int chunkX, int chunkZ)
sendToChunk in interface Network<codechicken.lib.packet.PacketCustom>public void sendToServer(ClientToServerPacket packet)
sendToServer in interface Network<codechicken.lib.packet.PacketCustom>public void onReceiveClient(codechicken.lib.packet.PacketCustom packetRepresent,
java.lang.String channel)
onReceiveClient in interface Network<codechicken.lib.packet.PacketCustom>public void onReceiveServer(codechicken.lib.packet.PacketCustom packetRepresent,
net.minecraft.entity.player.EntityPlayerMP player,
java.lang.String channel)
onReceiveServer in interface Network<codechicken.lib.packet.PacketCustom>public void registerChannel(java.lang.String channel)
registerChannel in interface Network<codechicken.lib.packet.PacketCustom>