public class CheckRulesVersionFixed extends CheckRulesVersion<ShowTeamSelectPacket>
packet| Constructor and Description |
|---|
CheckRulesVersionFixed()
Empty constructor for packet registration.
|
CheckRulesVersionFixed(ShowTeamSelectPacket packet)
Initializes a rules checking packet.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context) |
void |
processPacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
Acts upon the inner packet when rules have been synced.
|
protected void |
readPacket(net.minecraft.network.PacketBuffer buf)
Reads back the contained packet from buffer data.
|
decode, encode, onMessagehandle, replypublic CheckRulesVersionFixed()
public CheckRulesVersionFixed(ShowTeamSelectPacket packet)
packet - The packet that will be processed once rules are synced.protected void readPacket(net.minecraft.network.PacketBuffer buf)
CheckRulesVersionreadPacket in class CheckRulesVersion<ShowTeamSelectPacket>buf - The buffer to read data from.public void processPacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
CheckRulesVersionprocessPacket in class CheckRulesVersion<ShowTeamSelectPacket>context - The context that the packet was sent from.protected void handlePacket(net.minecraftforge.fml.network.NetworkEvent.Context context)
handlePacket in class AbstractPixelmonPacket