mirror of
https://github.com/GTNewHorizons/DummyCore.git
synced 2026-11-14 01:14:14 +00:00
28 lines
620 B
Java
Executable File
28 lines
620 B
Java
Executable File
package DummyCore.Events;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import cpw.mods.fml.common.eventhandler.Event;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
/**
|
|
*
|
|
* @author Modbder
|
|
* @version From DummyCore 1.7
|
|
* @Description Now all packets work on Events.
|
|
*/
|
|
public class DummyEvent_OnPacketRecieved extends Event{
|
|
|
|
public final Side effectiveSide;
|
|
|
|
public final String recievedData;
|
|
|
|
public final EntityPlayer recievedEntity;
|
|
|
|
public DummyEvent_OnPacketRecieved(Side s, String str, EntityPlayer pl)
|
|
{
|
|
effectiveSide = s;
|
|
recievedData = str;
|
|
recievedEntity = pl;
|
|
}
|
|
}
|