Class BTWDifficultyPacketHandler
java.lang.Object
btw.client.network.packet.handler.BTWDifficultyPacketHandler
- All Implemented Interfaces:
CustomPacketHandler
@Environment(CLIENT)
public class BTWDifficultyPacketHandler
extends Object
implements CustomPacketHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCustomPacket(Packet250CustomPayload packet, EntityPlayer player)
-
Constructor Details
-
BTWDifficultyPacketHandler
public BTWDifficultyPacketHandler()
-
-
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
-