Examples of EntityClientPlayerMP


Examples of net.minecraft.src.EntityClientPlayerMP

  public void sendCustomPacket(String channel, byte[] data) {
    sendPacket(new Packet250CustomPayload(channel, data));
  }

  private void sendPacket(Packet packet) {
    EntityClientPlayerMP player = (EntityClientPlayerMP)mc.thePlayer;
    if (player != null) {
      player.sendQueue.addToSendQueue(packet);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.