@Override
public void updateScreen() {
++this.updateCounter;
if (this.updateCounter % 20 == 0) {
Minecraft.getMinecraft().getNetHandler().addToSendQueue(new Packet0KeepAlive());
}
if (Minecraft.getMinecraft().getNetHandler() != null) {
Minecraft.getMinecraft().getNetHandler().processReadPackets();
}