public static byte[] GetLoginRequest()
 {
     using (MinecraftPacketStream stream = new MinecraftPacketStream())
     {
         stream.WriteByte((byte)MinecraftOpcode.LoginRequest);
         stream.WriteUint(MinecraftServer.Instance.Entity++);
         stream.WriteString("");
         stream.WriteString("");
         stream.WriteLong(MinecraftServer.Instance.RandomSeed);
         stream.WriteByte(MinecraftServer.Instance.Dimension);
         return stream.ToArray();
     }
 }