Package btw.network.packet
Class MiddleClickPacketHandler
java.lang.Object
btw.network.packet.MiddleClickPacketHandler
- All Implemented Interfaces:
CustomPacketHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCustomPacket(Packet250CustomPayload packet, EntityPlayer player)
-
Constructor Details
-
MiddleClickPacketHandler
public MiddleClickPacketHandler()
-
-
Method Details
-
handleCustomPacket
public void handleCustomPacket(Packet250CustomPayload packet, EntityPlayer player) throws IOException - Specified by:
handleCustomPacketin interfaceCustomPacketHandler- Parameters:
packet- Handled packetplayer- Player context, either EntityPlayerMP when received on the server or EntityPlayerSP when received on the client- Throws:
IOException
-