Package net.minecraft.src

Examples of net.minecraft.src.Packet0KeepAlive


    output.writeString(plugin);
  }

  @Override
  public void run(int playerId) {
    ((EntityClientPlayerMP)Minecraft.getMinecraft().thePlayer).sendQueue.addToSendQueue(new Packet0KeepAlive());
  }
View Full Code Here


  @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();
    }
View Full Code Here

      e.printStackTrace();
    }
    if (cache.exists() && FileUtil.isImageFile(fileName)) {
      CustomTextureManager.getTextureFromUrl(plugin, fileName);
    }
    ((EntityClientPlayerMP)Minecraft.getMinecraft().thePlayer).sendQueue.addToSendQueue(new Packet0KeepAlive());
  }
View Full Code Here

TOP

Related Classes of net.minecraft.src.Packet0KeepAlive

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.