blob: 8436a89e9ba858cf5b21f07deeae7e1538624425 (
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(GT_Packet aPacket, EntityPlayerMP aPlayer);
void sendToAllAround(GT_Packet aPacket, TargetPoint aPosition);
default void sendToAll(GT_Packet aPacket) {
throw new UnsupportedOperationException("sendToAll not implemented");
}
void sendToServer(GT_Packet aPacket);
void sendPacketToAllPlayersInRange(World aWorld, GT_Packet aPacket, int aX, int aZ);
}
|