blob: 3569317b01765b916de2b0a7fda981222d2e383c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package gregtech.api.net;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.world.World;
import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
@SuppressWarnings("deprecation")
public interface IGT_NetworkHandler {
void sendToPlayer(GTPacket aPacket, EntityPlayerMP aPlayer);
void sendToAllAround(GTPacket aPacket, TargetPoint aPosition);
default void sendToAll(GTPacket aPacket) {
throw new UnsupportedOperationException("sendToAll not implemented");
}
void sendToServer(GTPacket aPacket);
void sendPacketToAllPlayersInRange(World aWorld, GTPacket aPacket, int aX, int aZ);
}
|