aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/net/IGT_NetworkHandler.java
blob: 2949ec6791230d4e985161ad5f0313b95d243e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package gregtech.api.net;

import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.world.World;

@SuppressWarnings("deprecation")
public interface IGT_NetworkHandler {
    void sendToPlayer(GT_Packet aPacket, EntityPlayerMP aPlayer);

    void sendToAllAround(GT_Packet aPacket, TargetPoint aPosition);

    void sendToServer(GT_Packet aPacket);

    void sendPacketToAllPlayersInRange(World aWorld, GT_Packet aPacket, int aX, int aZ);
}